Fix remaining "Collection" strings to "List"
This commit is contained in:
parent
03e921e6df
commit
701ec0a473
3 changed files with 13 additions and 20 deletions
|
@ -852,7 +852,7 @@
|
||||||
"Last Updated": "Last Updated",
|
"Last Updated": "Last Updated",
|
||||||
"Are you sure? Type %name% to confirm that you wish to delete the channel.": "Are you sure? Type %name% to confirm that you wish to delete the channel.",
|
"Are you sure? Type %name% to confirm that you wish to delete the channel.": "Are you sure? Type %name% to confirm that you wish to delete the channel.",
|
||||||
"You're about to permanently delete a channel. Content published under this channel will be orphaned and their signing channel invalid. Content sync programs using this channel will fail.": "You're about to permanently delete a channel. Content published under this channel will be orphaned and their signing channel invalid. Content sync programs using this channel will fail.",
|
"You're about to permanently delete a channel. Content published under this channel will be orphaned and their signing channel invalid. Content sync programs using this channel will fail.": "You're about to permanently delete a channel. Content published under this channel will be orphaned and their signing channel invalid. Content sync programs using this channel will fail.",
|
||||||
"Are you sure you'd like to remove collection %title%?": "Are you sure you'd like to remove collection %title%?",
|
"Are you sure you'd like to remove \"%title%\"?": "Are you sure you'd like to remove \"%title%\"?",
|
||||||
"You are signed into lbry.tv which automatically shares data with LBRY inc. %signout_button%.": "You are signed into lbry.tv which automatically shares data with LBRY inc. %signout_button%.",
|
"You are signed into lbry.tv which automatically shares data with LBRY inc. %signout_button%.": "You are signed into lbry.tv which automatically shares data with LBRY inc. %signout_button%.",
|
||||||
"LBRY works better if you find and follow a couple creators you like. You can also block channels you never want to see.": "LBRY works better if you find and follow a couple creators you like. You can also block channels you never want to see.",
|
"LBRY works better if you find and follow a couple creators you like. You can also block channels you never want to see.": "LBRY works better if you find and follow a couple creators you like. You can also block channels you never want to see.",
|
||||||
"Nice! You are currently following %followingCount% creator": "Nice! You are currently following %followingCount% creator",
|
"Nice! You are currently following %followingCount% creator": "Nice! You are currently following %followingCount% creator",
|
||||||
|
@ -1678,7 +1678,7 @@
|
||||||
"Unlock all tips": "Unlock all tips",
|
"Unlock all tips": "Unlock all tips",
|
||||||
"Unlock All": "Unlock All",
|
"Unlock All": "Unlock All",
|
||||||
"Working...": "Working...",
|
"Working...": "Working...",
|
||||||
"just like the simulations": "just like the simulations",
|
"this cave is not a natural formation": "this cave is not a natural formation",
|
||||||
"Moon cheese is an acquired taste": "Moon cheese is an acquired taste",
|
"Moon cheese is an acquired taste": "Moon cheese is an acquired taste",
|
||||||
"Nothing found here. Like big tech ethics.": "Nothing found here. Like big tech ethics.",
|
"Nothing found here. Like big tech ethics.": "Nothing found here. Like big tech ethics.",
|
||||||
"Level %current_level%": "Level %current_level%",
|
"Level %current_level%": "Level %current_level%",
|
||||||
|
@ -1898,7 +1898,6 @@
|
||||||
"Learn more and sign petition": "Learn more and sign petition",
|
"Learn more and sign petition": "Learn more and sign petition",
|
||||||
"View claim details": "View claim details",
|
"View claim details": "View claim details",
|
||||||
"Publishing...": "Publishing...",
|
"Publishing...": "Publishing...",
|
||||||
"Collection": "Collection",
|
|
||||||
"Enter a name, @username or URL": "Enter a name, @username or URL:",
|
"Enter a name, @username or URL": "Enter a name, @username or URL:",
|
||||||
"Recipient search": "Recipient search",
|
"Recipient search": "Recipient search",
|
||||||
"Fetch transaction data for export": "Fetch transaction data for export",
|
"Fetch transaction data for export": "Fetch transaction data for export",
|
||||||
|
@ -1937,14 +1936,12 @@
|
||||||
"New List": "New List",
|
"New List": "New List",
|
||||||
"New List Title": "New List Title",
|
"New List Title": "New List Title",
|
||||||
"Add to Lists": "Add to Lists",
|
"Add to Lists": "Add to Lists",
|
||||||
"Nothing in %collection_name%": "Nothing in %collection_name%",
|
|
||||||
"Playlists": "Playlists",
|
"Playlists": "Playlists",
|
||||||
"Edit List": "Edit List",
|
"Edit List": "Edit List",
|
||||||
"Delete List": "Delete List",
|
"Delete List": "Delete List",
|
||||||
"Private": "Private",
|
"Private": "Private",
|
||||||
"View List": "View List",
|
"View List": "View List",
|
||||||
"Publish List": "Publish List",
|
"Publish List": "Publish List",
|
||||||
"Delete Collection": "Delete Collection",
|
|
||||||
"Info": "Info",
|
"Info": "Info",
|
||||||
"Publishes": "Publishes",
|
"Publishes": "Publishes",
|
||||||
"Add To...": "Add To...",
|
"Add To...": "Add To...",
|
||||||
|
@ -1953,10 +1950,10 @@
|
||||||
"List": "List",
|
"List": "List",
|
||||||
"Items": "Items",
|
"Items": "Items",
|
||||||
"Credits": "Credits",
|
"Credits": "Credits",
|
||||||
"Cannot publish empty collection": "Cannot publish empty collection",
|
"Cannot publish empty list": "Cannot publish empty list",
|
||||||
"MyAwesomeCollection": "MyAwesomeCollection",
|
"MyAwesomeList": "MyAwesomeList",
|
||||||
"My Awesome Collection": "My Awesome Collection",
|
"My Awesome List": "My Awesome List",
|
||||||
"This collection has no items.": "This collection has no items.",
|
"This list has no items.": "This list has no items.",
|
||||||
"Select File": "Select File",
|
"Select File": "Select File",
|
||||||
"File Selected": "File Selected",
|
"File Selected": "File Selected",
|
||||||
"Url": "Url",
|
"Url": "Url",
|
||||||
|
@ -1964,7 +1961,7 @@
|
||||||
"Keep": "Keep",
|
"Keep": "Keep",
|
||||||
"Add this claim to a list": "Add this claim to a list",
|
"Add this claim to a list": "Add this claim to a list",
|
||||||
"List is Empty": "List is Empty",
|
"List is Empty": "List is Empty",
|
||||||
"Confirm Collection Unpublish": "Confirm Collection Unpublish",
|
"Confirm List Unpublish": "Confirm List Unpublish",
|
||||||
"This will permanently delete the list.": "This will permanently delete the list.",
|
"This will permanently delete the list.": "This will permanently delete the list.",
|
||||||
"Everyone starts with 2 private lists - Watch Later and Favorites.": "Everyone starts with 2 private lists - Watch Later and Favorites.",
|
"Everyone starts with 2 private lists - Watch Later and Favorites.": "Everyone starts with 2 private lists - Watch Later and Favorites.",
|
||||||
"Add content to existing lists or new lists from content pages or content previews.": "Add content to existing lists or new lists from content pages or content previews.",
|
"Add content to existing lists or new lists from content pages or content previews.": "Add content to existing lists or new lists from content pages or content previews.",
|
||||||
|
|
|
@ -228,7 +228,7 @@ function CollectionForm(props: Props) {
|
||||||
setParams({ ...params, channel_id: activeChannelId });
|
setParams({ ...params, channel_id: activeChannelId });
|
||||||
}
|
}
|
||||||
}, [activeChannelId, incognito, setParams]);
|
}, [activeChannelId, incognito, setParams]);
|
||||||
const itemError = !params.claims.length ? __('Cannot publish empty collection') : '';
|
const itemError = !params.claims.length ? __('Cannot publish empty list') : '';
|
||||||
const submitError = nameError || bidError || itemError || updateError || createError;
|
const submitError = nameError || bidError || itemError || updateError || createError;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -264,7 +264,7 @@ function CollectionForm(props: Props) {
|
||||||
autoFocus={isNewCollection}
|
autoFocus={isNewCollection}
|
||||||
type="text"
|
type="text"
|
||||||
name="channel_name"
|
name="channel_name"
|
||||||
placeholder={__('MyAwesomeCollection')}
|
placeholder={__('MyAwesomeList')}
|
||||||
value={params.name}
|
value={params.name}
|
||||||
error={nameError}
|
error={nameError}
|
||||||
disabled={!isNewCollection}
|
disabled={!isNewCollection}
|
||||||
|
@ -279,7 +279,7 @@ function CollectionForm(props: Props) {
|
||||||
type="text"
|
type="text"
|
||||||
name="channel_title2"
|
name="channel_title2"
|
||||||
label={__('Title')}
|
label={__('Title')}
|
||||||
placeholder={__('My Awesome Collection')}
|
placeholder={__('My Awesome List')}
|
||||||
value={params.title}
|
value={params.title}
|
||||||
onChange={(e) => setParams({ ...params, title: e.target.value })}
|
onChange={(e) => setParams({ ...params, title: e.target.value })}
|
||||||
/>
|
/>
|
||||||
|
@ -303,11 +303,7 @@ function CollectionForm(props: Props) {
|
||||||
</div>
|
</div>
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel>
|
<TabPanel>
|
||||||
<ClaimList
|
<ClaimList uris={collectionUrls} collectionId={collectionId} empty={__('This list has no items.')} />
|
||||||
uris={collectionUrls}
|
|
||||||
collectionId={collectionId}
|
|
||||||
empty={__('This collection has no items.')}
|
|
||||||
/>
|
|
||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel>
|
<TabPanel>
|
||||||
<Card
|
<Card
|
||||||
|
|
|
@ -24,7 +24,7 @@ function ModalRemoveCollection(props: Props) {
|
||||||
const [confirmName, setConfirmName] = useState('');
|
const [confirmName, setConfirmName] = useState('');
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal isOpen contentLabel={__('Confirm Collection Unpublish')} type="card" onAborted={closeModal}>
|
<Modal isOpen contentLabel={__('Confirm List Unpublish')} type="card" onAborted={closeModal}>
|
||||||
<Card
|
<Card
|
||||||
title={__('Delete List')}
|
title={__('Delete List')}
|
||||||
body={
|
body={
|
||||||
|
@ -36,7 +36,7 @@ function ModalRemoveCollection(props: Props) {
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
) : (
|
) : (
|
||||||
<I18nMessage tokens={{ title: <cite>{uri && title ? `"${title}"` : `"${collectionName}"`}</cite> }}>
|
<I18nMessage tokens={{ title: <cite>{uri && title ? `"${title}"` : `"${collectionName}"`}</cite> }}>
|
||||||
Are you sure you'd like to remove collection %title%?
|
Are you sure you'd like to remove "%title%"?
|
||||||
</I18nMessage>
|
</I18nMessage>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue