merge translations fixed

This commit is contained in:
Mayesters 2017-06-01 17:49:07 +02:00
parent 0153a6dab5
commit c658211e2c
3 changed files with 6 additions and 4 deletions

View file

@ -314,5 +314,7 @@
"Connection Failure": "Connection Failure",
"Try closing all LBRY processes and starting again. If this still happpens, your anti-virus software or firewall may be preventing LBRY from connecting. Contact hello@lbry.io if you think this is a software bug.": "Try closing all LBRY processes and starting again. If this still happpens, your anti-virus software or firewall may be preventing LBRY from connecting. Contact hello@lbry.io if you think this is a software bug.",
"Timed Out": "Timed Out",
"Testing Network": "Testing Network"
"Testing Network": "Testing Network",
"This email is already in use": "This email is already in use",
"Download now!": "Download now!"
}

View file

@ -41,7 +41,7 @@ class SubmitEmailStage extends React.Component {
lbryio.call('user_email', 'new', {email: this.state.email}, 'post').then(() => {
this.onEmailSaved(this.state.email);
}, (error) => {
if (error.xhr && (error.xhr.status == 409 || error.message == "This email is already in use")) {
if (error.xhr && (error.xhr.status == 409 || error.message == __("This email is already in use"))) {
this.onEmailSaved(this.state.email);
return;
} else if (this._emailRow) {

View file

@ -99,8 +99,8 @@ class HelpPage extends React.Component {
<div className="card__content">
{ this.state.upgradeAvailable === null ? '' :
( this.state.upgradeAvailable ?
<p>A newer version of LBRY is available. <Link href={newVerLink} label={`Download now!`} /></p>
: <p>Your copy of LBRY is up to date.</p>)}
<p>{__("A newer version of LBRY is available.")} <Link href={newVerLink} label={__("Download now!")} /></p>
: <p>{__("Your copy of LBRY is up to date.")}</p>)}
{ this.state.uiVersion && ver ?
<table className="table-standard">
<tbody>