diff --git a/app-strings.json b/app-strings.json deleted file mode 100644 index fd416ef..0000000 --- a/app-strings.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "Content Interests": "Content Interests", - "Suggested channels": "Suggested channels", - "You might also like": "You might also like", - "Follow": "Follow", - "About": "About", - "Sign In": "Sign In", - "SIGN IN": "SIGN IN", - "FREE": "FREE", - "Anonymous": "Anonymous", - "An account with LBRY Inc. allows you to earn rewards, backup your wallet, and keep everything synced.": "An account with LBRY Inc. allows you to earn rewards, backup your wallet, and keep everything synced.", - "Without an account, you assume all responsibility for securing your wallet and LBRY data.": "Without an account, you assume all responsibility for securing your wallet and LBRY data.", - "Skip Account": "Skip Account", - "Sign Up": "Sign Up", - "Balance": "Balance", - "You currently have": "You currently have", - "Receive Credits": "Receive Credits", - "Use this wallet address to receive credits sent by another user (or yourself).": "Use this wallet address to receive credits sent by another user (or yourself).", - "Get new address": "Get new address", - "You can generate a new address at any time, and any previous addresses will continue to work. Using multiple addresses can be helpful for keeping track of incoming payments from multiple sources.": "You can generate a new address at any time, and any previous addresses will continue to work. Using multiple addresses can be helpful for keeping track of incoming payments from multiple sources.", - "Send Credits": "Send Credits", - "Recipient address": "Recipient address", - "Amount": "Amount", - "View All": "View All", - "Looks like you don't have any recent transactions.": "Looks like you don't have any recent transactions.", - "Wallet Sync": "Wallet Sync", - "Sync status": "Sync status", - "Off": "Off", - "Manual backup": "Manual backup", - "Sync FAQ": "Sync FAQ", - "Fetching transactions...": "Fetching transactions..." -} \ No newline at end of file diff --git a/src/page/about/view.js b/src/page/about/view.js index e4c256d..14f4574 100644 --- a/src/page/about/view.js +++ b/src/page/about/view.js @@ -67,7 +67,7 @@ class AboutPage extends React.PureComponent { render() { const { accessToken, drawerStack, navigation, notify, popDrawerStack, userEmail } = this.props; - const loading = 'Loading...'; + const loading = __('Loading...'); const ver = this.state.versionInfo ? this.state.versionInfo : null; return ( @@ -76,20 +76,20 @@ class AboutPage extends React.PureComponent { Content Freedom - LBRY is a free, open, and community-run digital marketplace. It is a decentralized peer-to-peer content - distribution platform for creators to upload and share content, and earn LBRY credits for their effort. - Users will be able to find a wide selection of videos, music, ebooks and other digital content they are - interested in. + {__( + 'LBRY is a free, open, and community-run digital marketplace. It is a decentralized peer-to-peer content distribution platform for creators to upload and share content, and earn LBRY credits for their effort. Users will be able to find a wide selection of videos, music, ebooks and other digital content they are interested in.' + )} - - - + + + Get Social - You can interact with the LBRY team and members of the community on Discord, Facebook, Instagram, Twitter or - Reddit. + {__( + 'You can interact with the LBRY team and members of the community on Discord, Facebook, Instagram, Twitter or Reddit.' + )} @@ -99,12 +99,12 @@ class AboutPage extends React.PureComponent { - App info + {__('App info')} {userEmail && userEmail.trim().length > 0 && ( - Connected email + {__('Connected email')} @@ -116,7 +116,7 @@ class AboutPage extends React.PureComponent { @@ -124,7 +124,7 @@ class AboutPage extends React.PureComponent { - App version + {__('App version')} @@ -135,7 +135,7 @@ class AboutPage extends React.PureComponent { - LBRY SDK + {__('LBRY SDK')} @@ -146,7 +146,7 @@ class AboutPage extends React.PureComponent { - Platform + {__('Platform')} @@ -157,7 +157,7 @@ class AboutPage extends React.PureComponent { - Installation ID + {__('Installation ID')} {this.state.lbryId ? this.state.lbryId : loading} @@ -166,12 +166,12 @@ class AboutPage extends React.PureComponent { - Logs + {__('Logs')} { if (NativeModules.UtilityModule) { NativeModules.UtilityModule.shareLogFile(error => { diff --git a/src/page/channel/view.js b/src/page/channel/view.js index 4432c72..49a915a 100644 --- a/src/page/channel/view.js +++ b/src/page/channel/view.js @@ -121,7 +121,7 @@ class ChannelPage extends React.PureComponent { return ( - No information to display. + {__('No information to display.')} ); @@ -131,21 +131,21 @@ class ChannelPage extends React.PureComponent { return ( {!websiteUrl && !email && !description && ( - + )} {(websiteUrl || email || description) && ( {websiteUrl && websiteUrl.trim().length > 0 && ( - Website + {__('Website')} )} {email && email.trim().length > 0 && ( - Email + {__('Email')} )} diff --git a/src/page/channelCreator/view.js b/src/page/channelCreator/view.js index 63e2b74..abe7c06 100644 --- a/src/page/channelCreator/view.js +++ b/src/page/channelCreator/view.js @@ -793,8 +793,8 @@ export default class ChannelCreator extends React.PureComponent { {currentPhase === Constants.PHASE_LIST && !fetchingChannels && !hasChannels && ( )} @@ -807,7 +807,7 @@ export default class ChannelCreator extends React.PureComponent {