From 6de16813cbb40e354ddfd7fcd12fbc9ad04738ec Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Mon, 26 Jul 2021 22:27:39 +0800 Subject: [PATCH] i18n update --- static/app-strings.json | 35 ++++++++++++++------------ ui/component/livestreamLayout/view.jsx | 14 ++++++----- ui/page/settingsCreator/view.jsx | 2 +- 3 files changed, 28 insertions(+), 23 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index d4ad7eb37..876d0469b 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -377,6 +377,8 @@ "Unfollow": "Unfollow", "Follow @%channelName%": "Follow @%channelName%", "Unfollow @%channelName%": "Unfollow @%channelName%", + "Item removed from %name%": "Item removed from %name%", + "Item added to %name%": "Item added to %name%", "These LBRY Credits remain yours. It is a deposit to reserve the name and can be undone at any time.": "These LBRY Credits remain yours. It is a deposit to reserve the name and can be undone at any time.", "Create channel": "Create channel", "Uh oh. The flux in our Retro Encabulator must be out of whack. Try refreshing to fix it.": "Uh oh. The flux in our Retro Encabulator must be out of whack. Try refreshing to fix it.", @@ -392,7 +394,6 @@ "Share on Telegram": "Share on Telegram", "Share via...": "Share via...", "View on lbry.tv": "View on lbry.tv", - "You will receive an SMS text message confirming your phone number is valid. Does not work for Canada and possibly other regions.": "You will receive an SMS text message confirming your phone number is valid. Does not work for Canada and possibly other regions.", "Standard messaging rates apply. LBRY will not text or call you otherwise. Having trouble?": "Standard messaging rates apply. LBRY will not text or call you otherwise. Having trouble?", "You currently have the highest bid for this name.": "You currently have the highest bid for this name.", "You can generate a new address at any time, and any previous addresses will continue to work.": "You can generate a new address at any time, and any previous addresses will continue to work.", @@ -625,7 +626,7 @@ "If Sync is on, LBRY will backup your wallet and preferences. If disabled, you are responsible for keeping a backup.": "If Sync is on, LBRY will backup your wallet and preferences. If disabled, you are responsible for keeping a backup.", "Your update is now pending on LBRY. It will take a few minutes to appear for other users.": "Your update is now pending on LBRY. It will take a few minutes to appear for other users.", "Your livestream is now pending. You will be able to start shortly at the streaming dashboard.": "Your livestream is now pending. You will be able to start shortly at the streaming dashboard.", - "Your file is now pending on LBRY. It will take a few minutes to appear for other users.": "Your file is now pending on LBRY. It will take a few minutes to appear for other users.", + "Your content will be live shortly.": "Your content will be live shortly.", "Your video will appear on Odysee shortly.": "Your video will appear on Odysee shortly.", "Upload will continue in the background, please do not shut down immediately. Leaving the app running helps the network, thank you!": "Upload will continue in the background, please do not shut down immediately. Leaving the app running helps the network, thank you!", "No results for %query%": "No results for %query%", @@ -742,7 +743,6 @@ "Livestream Created": "Livestream Created", "Delete this file from my computer": "Delete this file from my computer", "Are you sure you'd like to remove %title%?": "Are you sure you'd like to remove %title%?", - "reclaim %amount%": "reclaim %amount%", "Remove from blockchain (%lbc%)": "Remove from blockchain (%lbc%)", "Abandon on blockchain (reclaim %lbc%)": "Abandon on blockchain (reclaim %lbc%)", "This will increase the overall bid amount for this content, which will boost its ability to be discovered while active.": "This will increase the overall bid amount for this content, which will boost its ability to be discovered while active.", @@ -861,7 +861,7 @@ "This will permanently remove your channel. Content published under this channel will be orphaned.": "This will permanently remove your channel. Content published under this channel will be orphaned.", "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%.", - "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.", + "%SITE_NAME% works better if you find and follow a couple creators you like. You can also block channels you never want to see.": "%SITE_NAME% 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% creators": "Nice! You are currently following %followingCount% creators", "Get Validated": "Get Validated", @@ -999,7 +999,7 @@ "You sent %amount% LBRY Credits as a tip, Mahalo!": "You sent %amount% LBRY Credits as a tip, Mahalo!", "You sent %amount% LBRY Credits": "You sent %amount% LBRY Credits", "No stats found": "No stats found", - "Sorry about that. Try refreshing or something else.": "Sorry about that. Try refreshing or something else.", + "Sorry about that. Contact %SITE_HELP_EMAIL% if you continue to have issues.": "Sorry about that. Contact %SITE_HELP_EMAIL% if you continue to have issues.", "You are not able to see this channel's stats. Make sure you are signed in with the correct email and have data sharing turned on.": "You are not able to see this channel's stats. Make sure you are signed in with the correct email and have data sharing turned on.", "%follower_count% followers": "%follower_count% followers", "Sign Up": "Sign Up", @@ -1416,15 +1416,13 @@ "Confirm Edit": "Confirm Edit", "Create Livestream": "Create Livestream", "File": "File", - "Video/audio file": "Video/audio file", "Transcode": "Transcode", "Estimated transaction fee:": "Estimated transaction fee:", "Est. transaction fee:": "Est. transaction fee:", "Skip preview and confirmation": "Skip preview and confirmation", "Upload settings": "Upload settings", - "Currently uploading": "Currently uploading", - "Your files are currently uploading.": "Your files are currently uploading.", - "Your file is currently uploading.": "Your file is currently uploading.", + "Currently Uploading": "Currently Uploading", + "Leave the app running until upload is complete": "Leave the app running until upload is complete", "Enable Sync": "Enable Sync", "Disable Sync": "Disable Sync", "Getting your profiles...": "Getting your profiles...", @@ -1498,7 +1496,7 @@ "Earn a random reward of at least %lbc% for watching anything at all.": "Earn a random reward of at least %lbc% for watching anything at all.", "You have already claimed this reward within the last 24 hours.": "You have already claimed this reward within the last 24 hours.", "Please watch some content to earn this reward.": "Please watch some content to earn this reward.", - "You will receive an SMS text message confirming your phone number is valid.": "You will receive an SMS text message confirming your phone number is valid.", + "You will receive an SMS text message confirming your phone number is valid. May not be available in all regions.": "You will receive an SMS text message confirming your phone number is valid. May not be available in all regions.", "Verified accounts are eligible to earn LBRY Credits for views, watching and reposting videos, sharing invite links etc. Verifying also helps us keep the %SITE_NAME% community safe too! %Refresh% or %Skip%.": "Verified accounts are eligible to earn LBRY Credits for views, watching and reposting videos, sharing invite links etc. Verifying also helps us keep the %SITE_NAME% community safe too! %Refresh% or %Skip%.", "Your First Nickel": "Your First Nickel", "Your First Credit": "Your First Credit", @@ -1738,11 +1736,14 @@ "Moderator Block": "Moderator Block", "Block this channel on behalf of %creator%": "Block this channel on behalf of %creator%", "creator": "creator", + "Create a channel to change this setting.": "Create a channel to change this setting.", "Invalid channel URL \"%url%\"": "Invalid channel URL \"%url%\"", "Delegation": "Delegation", "Add moderator": "Add moderator", - "Add moderators": "Add moderators", - "Add moderator channel URL (e.g. \"@lbry#3f\")": "Add moderator channel URL (e.g. \"@lbry#3f\")", + "Enter a @username or URL": "Enter a @username or URL", + "examples: @channel, @channel#3, https://odysee.com/@Odysee:8, lbry://@Odysee#8": "examples: @channel, @channel#3, https://odysee.com/@Odysee:8, lbry://@Odysee#8", + "Moderators": "Moderators", + "Add as moderator": "Add as moderator", "Mute (m)": "Mute (m)", "Playback Rate (<, >)": "Playback Rate (<, >)", "Fullscreen (f)": "Fullscreen (f)", @@ -1766,9 +1767,10 @@ "Stay up to date on the latest content from your favorite creators.": "Stay up to date on the latest content from your favorite creators.", "Receive tutorial emails related to LBRY ": "Receive tutorial emails related to LBRY ", "Create A LiveStream": "Create A LiveStream", - "This channel": "This channel", "%channel% has disabled chat for this stream. Enjoy the stream!": "%channel% has disabled chat for this stream. Enjoy the stream!", + "This channel has disabled chat for this stream. Enjoy the stream!": "This channel has disabled chat for this stream. Enjoy the stream!", "%channel% isn't live right now, but the chat is! Check back later to watch the stream.": "%channel% isn't live right now, but the chat is! Check back later to watch the stream.", + "This channel isn't live right now, but the chat is! Check back later to watch the stream.": "This channel isn't live right now, but the chat is! Check back later to watch the stream.", "Right now": "Right now", "%viewer_count% currently watching": "%viewer_count% currently watching", "Slowmode is on. You can comment again in %time% seconds.": "Slowmode is on. You can comment again in %time% seconds.", @@ -1784,6 +1786,9 @@ "Nothing here yet. %check_again%": "Nothing here yet. %check_again%", "Check again": "Check again", "Check again...": "Check again...", + "Only visible to you": "Only visible to you", + "People who view this link will be redirected to your livestream. Make sure to use this for sharing so your title and thumbnail are displayed properly.": "People who view this link will be redirected to your livestream. Make sure to use this for sharing so your title and thumbnail are displayed properly.", + "View livestream": "View livestream", "You need to upload your livestream details before you can go live. If you already created one in this channel, it should appear soon.": "You need to upload your livestream details before you can go live. If you already created one in this channel, it should appear soon.", "Create A Livestream": "Create A Livestream", "Create a Livestream by first submitting your livestream details and waiting for approval confirmation. This can be done well in advance and will take a few minutes.": "Create a Livestream by first submitting your livestream details and waiting for approval confirmation. This can be done well in advance and will take a few minutes.", @@ -1806,7 +1811,7 @@ "Update your livestream": "Update your livestream", "Prepare an upcoming livestream": "Prepare an upcoming livestream", "Edit your post": "Edit your post", - "Update your video": "Update your video", + "Update your content": "Update your content", "Go Live on Odysee": "Go Live on Odysee", "You're invited to try out our new livestreaming service while in beta!": "You're invited to try out our new livestreaming service while in beta!", "lbry.tv is being retired in favor of %odysee% and new sign ups are disabled. Sign up on %odysee% instead": "lbry.tv is being retired in favor of %odysee% and new sign ups are disabled. Sign up on %odysee% instead", @@ -1954,7 +1959,6 @@ "Failed to process fetched data.": "Failed to process fetched data.", "More from %claim_name%": "More from %claim_name%", "Update your video/audio": "Update your video/audio", - "Upload that unlabeled video you found behind the TV in 1991": "Upload that unlabeled video you found behind the TV in 1991", "Upload that unlabeled video or cassette you found behind the TV in 1991": "Upload that unlabeled video or cassette you found behind the TV in 1991", "Select Replay": "Select Replay", "Craft an epic post clearly explaining... whatever.": "Craft an epic post clearly explaining... whatever.", @@ -2052,7 +2056,6 @@ "Tip Creators": "Tip Creators", "Only select creators can receive tips at this time": "Only select creators can receive tips at this time", "The payment will be made from your saved card": "The payment will be made from your saved card", - "A channel is required to comment on lbry.tv": "A channel is required to comment on lbry.tv", "Commenting...": "Commenting...", "Reset": "Reset", "Reset to original (previous) publish date": "Reset to original (previous) publish date", diff --git a/ui/component/livestreamLayout/view.jsx b/ui/component/livestreamLayout/view.jsx index 92c44fb71..ad6721211 100644 --- a/ui/component/livestreamLayout/view.jsx +++ b/ui/component/livestreamLayout/view.jsx @@ -38,17 +38,19 @@ export default function LivestreamLayout(props: Props) { {Boolean(chatDisabled) && (
- {__('%channel% has disabled chat for this stream. Enjoy the stream!', { - channel: channelName || __('This channel'), - })} + {channelName + ? __('%channelName% has disabled chat for this stream. Enjoy the stream!', { channelName }) + : __('This channel has disabled chat for this stream. Enjoy the stream!')}
)} {!isLive && (
- {__("%channel% isn't live right now, but the chat is! Check back later to watch the stream.", { - channel: channelName || __('This channel'), - })} + {channelName + ? __("%channelName% isn't live right now, but the chat is! Check back later to watch the stream.", { + channelName, + }) + : __("This channel isn't live right now, but the chat is! Check back later to watch the stream.")}
)} diff --git a/ui/page/settingsCreator/view.jsx b/ui/page/settingsCreator/view.jsx index 09c30cc5c..c1c65269b 100644 --- a/ui/page/settingsCreator/view.jsx +++ b/ui/page/settingsCreator/view.jsx @@ -380,7 +380,7 @@ export default function SettingsCreatorPage(props: Props) { )}