mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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:
parent
3ebd90565c
commit
f5ba6fa952
@ -27,7 +27,7 @@ export default React.createClass({
|
|||||||
|
|
||||||
getInitialState: function() {
|
getInitialState: function() {
|
||||||
return {
|
return {
|
||||||
message: 'Checking for an update...',
|
message: _t('Checking for an update...'),
|
||||||
done: false,
|
done: false,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
@ -45,16 +45,16 @@ export default React.createClass({
|
|||||||
let message;
|
let message;
|
||||||
switch (state) {
|
switch (state) {
|
||||||
case updateStateEnum.ERROR:
|
case updateStateEnum.ERROR:
|
||||||
message = 'Error encountered when checking for an update.';
|
message = _t('Error encountered when checking for an update.');
|
||||||
break;
|
break;
|
||||||
case updateStateEnum.TIMEOUT:
|
case updateStateEnum.TIMEOUT:
|
||||||
message = 'Update Check timed out, try again later.';
|
message = _t('Update Check timed out, try again later.');
|
||||||
break;
|
break;
|
||||||
case updateStateEnum.NOTAVAILABLE:
|
case updateStateEnum.NOTAVAILABLE:
|
||||||
message = 'No update found.';
|
message = _t('No update found.');
|
||||||
break;
|
break;
|
||||||
case updateStateEnum.DOWNLOADING:
|
case updateStateEnum.DOWNLOADING:
|
||||||
message = 'Update is being downloaded.';
|
message = _t('Update is being downloaded.');
|
||||||
done = false;
|
done = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -158,6 +158,11 @@
|
|||||||
"Today": "Today",
|
"Today": "Today",
|
||||||
"Yesterday": "Yesterday",
|
"Yesterday": "Yesterday",
|
||||||
"OK": "OK",
|
"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.",
|
"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",
|
"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!"
|
"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!"
|
||||||
|
Loading…
Reference in New Issue
Block a user