i18n change I forgot to push

This commit is contained in:
Jeremy Kauffman 2020-01-09 14:03:47 -05:00
parent c7c16479fa
commit ebe41202a9
8 changed files with 39 additions and 29 deletions

View file

@ -459,10 +459,8 @@
"You can continue without this step, but you will not be eligible to earn rewards.": "You can continue without this step, but you will not be eligible to earn rewards.",
"Skip Rewards": "Skip Rewards",
"Waiting For Verification": "Waiting For Verification",
"An email was sent to": "An email was sent to",
"Follow the link and you will be good to go. This will update automatically.": "Follow the link and you will be good to go. This will update automatically.",
"Resend verification email": "Resend verification email",
"if you encounter any trouble verifying.": "if you encounter any trouble verifying.",
"Blockchain Sync": "Blockchain Sync",
"Catching up with the blockchain": "Catching up with the blockchain",
"No Rewards Available": "No Rewards Available",
@ -483,7 +481,6 @@
"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.",
"If you still have issues, your anti-virus software or firewall may be preventing startup.": "If you still have issues, your anti-virus software or firewall may be preventing startup.",
"Reach out to hello@lbry.com for help, or check out": "Reach out to hello@lbry.com for help, or check out",
"A few things to know before participating in the comment alpha:": "A few things to know before participating in the comment alpha:",
"During the alpha, all comments are sent to a LBRY, Inc. server, not the LBRY network itself.": "During the alpha, all comments are sent to a LBRY, Inc. server, not the LBRY network itself.",
"When the alpha ends, we will attempt to transition comments, but do not promise to do so. Any transition will likely involve publishing previous comments under a single archive handle.": "When the alpha ends, we will attempt to transition comments, but do not promise to do so. Any transition will likely involve publishing previous comments under a single archive handle.",
@ -494,14 +491,10 @@
"Read the App Basics FAQ": "Read the App Basics FAQ",
"View all LBRY FAQs": "View all LBRY FAQs",
"Find Assistance": "Find Assistance",
"channel of our Discord chat room. Or you can always email us at help@lbry.com.": "channel of our Discord chat room. Or you can always email us at help@lbry.com.",
"Email Us": "Email Us",
"Today": "Today",
"This": "This",
"All time": "All time",
"For the initial release, deleting or editing comments is not possible. Please be mindful of this when posting.": "For the initial release, deleting or editing comments is not possible. Please be mindful of this when posting.",
"Add support": "Add support",
"Add support to": "Add support to",
"Share on Facebook": "Share on Facebook",
"Share On Twitter": "Share On Twitter",
"View on lbry.tv": "View on lbry.tv",
@ -526,9 +519,6 @@
"Encrypt my wallet with a custom password": "Encrypt my wallet with a custom password",
"Enable claim support": "Enable claim support",
"This will add a Support button along side tipping. Similar to tips, supports help ": "This will add a Support button along side tipping. Similar to tips, supports help ",
" discovery ": " discovery ",
" but the LBC is returned to your wallet if revoked.": " but the LBC is returned to your wallet if revoked.",
" Both also help secure ": " Both also help secure ",
"vanity names": "vanity names",
"Add support to this claim": "Add support to this claim",
"Find New Tags": "Find New Tags",
@ -572,7 +562,6 @@
"Publish to": "Publish to",
"Help Us Out": "Help Us Out",
"Currently, there is no automatic backup. If you lose access to these files, you will lose your credits.": "Currently, there is no automatic backup. If you lose access to these files, you will lose your credits.",
"For more details on backing up and best practices": "For more details on backing up and best practices",
"File Size": "File Size",
"You deposited 1 LBC as a support!": "You deposited 1 LBC as a support!",
"Refreshed!": "Refreshed!",
@ -600,7 +589,6 @@
"Arabic": "Arabic",
"Czech": "Czech",
"Croatian": "Croatian",
"Cambodian": "Cambodian",
"Korean": "Korean",
"Norwegian": "Norwegian",
"Romanian": "Romanian",
@ -912,5 +900,10 @@
"%amount% fee": "%amount% fee",
"1 file hidden due to your %content_viewing_preferences_link%": "1 file hidden due to your %content_viewing_preferences_link%",
"Thumbnail": "Thumbnail",
"spee.ch": "spee.ch"
}
"spee.ch": "spee.ch",
"This Week": "This Week",
"This Month": "This Month",
"This Year": "This Year",
"Thumbnail": "Thumbnail",
"Khmer": "Khmer"
}

View file

@ -212,7 +212,9 @@ function ClaimListDiscover(props: Props) {
<option key={time} value={time}>
{/* i18fixme */}
{time === TIME_DAY && __('Today')}
{time !== TIME_ALL && time !== TIME_DAY && `${__('This')} ${toCapitalCase(time)}`}
{time !== TIME_ALL &&
time !== TIME_DAY &&
__('This ' + toCapitalCase(time)) /* yes, concat before i18n, since it is read from const */}
{time === TIME_ALL && __('All time')}
</option>
))}

View file

@ -250,7 +250,7 @@ const ClaimPreview = forwardRef<any, {}>((props: Props, ref: any) => {
<Button
onClick={() => beginPublish(name)}
button="primary"
label={`${__('Publish to')} ${uri}`}
label={__('Publish to %uri%', { uri })}
/>
</div>
</Fragment>

View file

@ -57,7 +57,7 @@ function PublishAdvanced(props: Props) {
<option value="ar">{__('Arabic')}</option>
<option value="cs">{__('Czech')}</option>
<option value="hr">{__('Croatian')}</option>
<option value="km">{__('Cambodian')}</option>
<option value="km">{__('Khmer')}</option>
<option value="ko">{__('Korean')}</option>
<option value="no">{__('Norwegian')}</option>
<option value="ro">{__('Romanian')}</option>

View file

@ -175,7 +175,7 @@ class SelectThumbnail extends React.PureComponent<Props, State> {
) : (
<I18nMessage
tokens={{
speech_link: <Button button="link" label={__('spee.ch')} href="https://spee.ch/about" />,
speech_link: <Button button="link" label="spee.ch" href="https://spee.ch/about" />,
}}
>
Upload your thumbnail to %speech_link%. Recommended size is 16:9.

View file

@ -2,6 +2,7 @@
import * as React from 'react';
import Button from 'component/button';
import UserSignOutButton from 'component/userSignOutButton';
import I18nMessage from 'component/i18nMessage';
type Props = {
email: string,
@ -60,10 +61,13 @@ class UserEmailVerify extends React.PureComponent<Props> {
<h1 className="section__title--large">{isReturningUser ? __('Check Your Email') : __('Confirm Your Email')}</h1>
<p className="section__subtitle">
{__('An email was sent to %email%. Follow the link to %verify_text%. After, this page will update automatically.', {
email,
verify_text: isReturningUser ? __('sign in') : __('verify your email'),
})}
{__(
'An email was sent to %email%. Follow the link to %verify_text%. After, this page will update automatically.',
{
email,
verify_text: isReturningUser ? __('sign in') : __('verify your email'),
}
)}
</p>
<div className="section__body section__actions">
@ -77,9 +81,14 @@ class UserEmailVerify extends React.PureComponent<Props> {
</div>
<p className="help">
{__('Email')} <Button button="link" href="mailto:help@lbry.com" label="help@lbry.com" /> or join our{' '}
<Button button="link" href="https://chat.lbry.com" label="chat" />{' '}
{__('if you encounter any trouble verifying.')}
<I18nMessage
tokens={{
help_link: <Button button="link" href="mailto:help@lbry.com" label="help@lbry.com" />,
chat_link: <Button button="link" href="https://chat.lbry.com" label="chat" />,
}}
>
Email %help_link% or join our %chat_link% if you encounter any trouble verifying.
</I18nMessage>
</p>
</React.Fragment>
);

View file

@ -2,6 +2,7 @@
import * as React from 'react';
import Button from 'component/button';
import { Form, FormField, Submit } from 'component/common/form';
import I18nMessage from 'component/i18nMessage';
type Props = {
verifyUserPhone: string => void,
@ -68,9 +69,14 @@ class UserPhoneVerify extends React.PureComponent<Props, State> {
</Form>
<p className="help">
{__('Email')} <Button button="link" href="mailto:help@lbry.com" label="help@lbry.com" /> or join our{' '}
<Button button="link" href="https://chat.lbry.com" label="chat" />{' '}
{__('if you encounter any trouble with your code.')}
<I18nMessage
tokens={{
help_link: <Button button="link" href="mailto:help@lbry.com" label="help@lbry.com" />,
chat_link: <Button button="link" href="https://chat.lbry.com" label="chat" />,
}}
>
Email %help_link% or join our %chat_link% if you encounter any trouble with your code.
</I18nMessage>
</p>
</React.Fragment>
);

View file

@ -80,7 +80,7 @@ const LANGUAGES = {
kj: ['Kuanyama', 'Kuanyama'],
kk: ['Kazakh', 'Қазақша'],
kl: ['Greenlandic', 'Kalaallisut'],
km: ['Cambodian', 'ភាសាខ្មែរ'],
km: ['Khmer', 'ភាសាខ្មែរ'],
kn: ['Kannada', 'ಕನ್ನಡ'],
ko: ['Korean', '한국어'],
kr: ['Kanuri', 'Kanuri'],