i18n things

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

(cherry picked from commit d878c72)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-06-03 15:36:03 +01:00
parent 3ebd90565c
commit f5ba6fa952
2 changed files with 10 additions and 5 deletions

View file

@ -27,7 +27,7 @@ export default React.createClass({
getInitialState: function() {
return {
message: 'Checking for an update...',
message: _t('Checking for an update...'),
done: false,
};
},
@ -45,16 +45,16 @@ export default React.createClass({
let message;
switch (state) {
case updateStateEnum.ERROR:
message = 'Error encountered when checking for an update.';
message = _t('Error encountered when checking for an update.');
break;
case updateStateEnum.TIMEOUT:
message = 'Update Check timed out, try again later.';
message = _t('Update Check timed out, try again later.');
break;
case updateStateEnum.NOTAVAILABLE:
message = 'No update found.';
message = _t('No update found.');
break;
case updateStateEnum.DOWNLOADING:
message = 'Update is being downloaded.';
message = _t('Update is being downloaded.');
done = false;
break;
}

View file

@ -158,6 +158,11 @@
"Today": "Today",
"Yesterday": "Yesterday",
"OK": "OK",
"Checking for an update...": "Checking for an update...",
"Error encountered when checking for an update.": "Error encountered when checking for an update.",
"Update Check timed out, try again later.": "Update Check timed out, try again later.",
"No update found.": "No update found.",
"Update is being downloaded.": "Update is being downloaded.",
"You need to be using HTTPS to place a screen-sharing call.": "You need to be using HTTPS to place a screen-sharing call.",
"Welcome page": "Welcome page",
"With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!": "With your current browser, the look and feel of the application may be completely incorrect, and some or all features may not function. If you want to try it anyway you can continue, but you are on your own in terms of any issues you may encounter!"