i18n for remaining strings

Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Travis Ralston 2017-09-29 11:22:06 -06:00
parent 0a3bc1c667
commit b0190f6a65
3 changed files with 6 additions and 2 deletions

View file

@ -136,7 +136,7 @@ module.exports = React.createClass({
_getPinnedTiles: function() { _getPinnedTiles: function() {
if (this.state.pinned.length == 0) { if (this.state.pinned.length == 0) {
return <div>No pinned messages.</div>; return <div>{ _t("No pinned messages.") }</div>;
} }
return this.state.pinned.map(pinnedEvent => { return this.state.pinned.map(pinnedEvent => {
@ -151,7 +151,7 @@ module.exports = React.createClass({
}, },
render: function() { render: function() {
let tiles = <div>Loading...</div>; let tiles = <div>{ _t("Loading...") }</div>;
if (this.state && !this.state.loading) { if (this.state && !this.state.loading) {
tiles = this._getPinnedTiles(); tiles = this._getPinnedTiles();
} }

View file

@ -216,6 +216,8 @@
"Pin Message": "Pin Message", "Pin Message": "Pin Message",
"Unpin Message": "Unpin Message", "Unpin Message": "Unpin Message",
"Jump to message": "Jump to message", "Jump to message": "Jump to message",
"No pinned messages.": "No pinned messages.",
"Loading...": "Loading...",
"Please set a password!": "Please set a password!", "Please set a password!": "Please set a password!",
"This will allow you to return to your account after signing out, and sign in on other devices.": "This will allow you to return to your account after signing out, and sign in on other devices.", "This will allow you to return to your account after signing out, and sign in on other devices.": "This will allow you to return to your account after signing out, and sign in on other devices.",
"You have successfully set a password and an email address!": "You have successfully set a password and an email address!", "You have successfully set a password and an email address!": "You have successfully set a password and an email address!",

View file

@ -202,6 +202,8 @@
"Pin Message": "Pin Message", "Pin Message": "Pin Message",
"Unpin Message": "Unpin Message", "Unpin Message": "Unpin Message",
"Jump to message": "Jump to message", "Jump to message": "Jump to message",
"No pinned messages.": "No pinned messages.",
"Loading...": "Loading...",
"Checking for an update...": "Checking for an update...", "Checking for an update...": "Checking for an update...",
"Error encountered (%(errorDetail)s).": "Error encountered (%(errorDetail)s).", "Error encountered (%(errorDetail)s).": "Error encountered (%(errorDetail)s).",
"No update available.": "No update available.", "No update available.": "No update available.",