From 5a467af1f02a79f0088b95a36a7624de019c2baa Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Fri, 25 Jun 2021 09:19:17 +0800 Subject: [PATCH] i18n --- static/app-strings.json | 11 ++++++----- ui/component/collectionsListMine/view.jsx | 6 ++++-- ui/page/livestreamSetup/view.jsx | 5 +++-- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index 17df85252..989024c3c 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -458,7 +458,6 @@ "Invalid claim ID %s.": "Invalid claim ID %s.", "'claimId' should no longer be used. Use 'streamClaimId' or 'channelClaimId' instead": "'claimId' should no longer be used. Use 'streamClaimId' or 'channelClaimId' instead", "View Tag": "View Tag", - "Block": "Block", "'claimName' should no longer be used. Use 'streamClaimName' or 'channelClaimName' instead": "'claimName' should no longer be used. Use 'streamClaimName' or 'channelClaimName' instead", "Vietnamese": "Vietnamese", "Thai": "Thai", @@ -1298,13 +1297,15 @@ "Are you sure you want to upload this thumbnail to %domain%": "Are you sure you want to upload this thumbnail to %domain%", "View thumbnail": "View thumbnail", "These changes will appear shortly.": "These changes will appear shortly.", + "Block": "Block", "Block Channel": "Block Channel", - "Unblock Channel": "Unblock Channel", "Blocking...": "Blocking...", "Blocked": "Blocked", - "Unblock": "Unblock", - "Unblocking...": "Unblocking...", "Channel \"%channel%\" blocked.": "Channel \"%channel%\" blocked.", + "Unblock": "Unblock", + "Unblock Channel": "Unblock Channel", + "Unblocking...": "Unblocking...", + "Channel unblocked!": "Channel unblocked!", "Mute Channel": "Mute Channel", "Unmute Channel": "Unmute Channel", "Muted": "Muted", @@ -1681,7 +1682,6 @@ "Unlock all tips": "Unlock all tips", "Unlock All": "Unlock All", "Working...": "Working...", - "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", "Nothing found here. Like big tech ethics.": "Nothing found here. Like big tech ethics.", "Level %current_level%": "Level %current_level%", @@ -1969,6 +1969,7 @@ "Publishes": "Publishes", "Add To...": "Add To...", "Unpublished Edits": "Unpublished Edits", + "(Empty) --[indicates empty playlist]--": "(Empty)", "Report channel": "Report channel", "List": "List", "Items": "Items", diff --git a/ui/component/collectionsListMine/view.jsx b/ui/component/collectionsListMine/view.jsx index 0f870dbf4..324cee079 100644 --- a/ui/component/collectionsListMine/view.jsx +++ b/ui/component/collectionsListMine/view.jsx @@ -81,7 +81,7 @@ export default function CollectionsListMine(props: Props) { {!(itemUrls && itemUrls.length) && (

{__(`${list.name}`)} -
(Empty)
+
{__('(Empty) --[indicates empty playlist]--')}

)} @@ -92,7 +92,9 @@ export default function CollectionsListMine(props: Props) {

{__('Playlists')} - {!hasCollections &&
(Empty)
} + {!hasCollections && ( +
{__('(Empty) --[indicates empty playlist]--')}
+ )}

diff --git a/ui/page/livestreamSetup/view.jsx b/ui/page/livestreamSetup/view.jsx index 5f0cac9ea..f96b428a0 100644 --- a/ui/page/livestreamSetup/view.jsx +++ b/ui/page/livestreamSetup/view.jsx @@ -86,8 +86,9 @@ export default function LivestreamSetupPage(props: Props) { {__(`If using other streaming software, make sure the bitrate is below 4500 kbps or the stream will not work.`)}

- {__(`After your stream: - Click the Update button on the content page. This will allow you to select a replay or upload your own edited MP4. Replays are limited to 4 hours and may take a few minutes to show (use the Check For Replays button).`)} + {__( + `After your stream:\nClick the Update button on the content page. This will allow you to select a replay or upload your own edited MP4. Replays are limited to 4 hours and may take a few minutes to show (use the Check For Replays button).` + )}

{__(`Click Save, then confirm, and you are done!`)}