Skip to content

Commit b0190f6

Browse files
committed
i18n for remaining strings
Signed-off-by: Travis Ralston <travpc@gmail.com>
1 parent 0a3bc1c commit b0190f6

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎src/components/views/rooms/PinnedEventsPanel.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ module.exports = React.createClass({
136136

137137
_getPinnedTiles: function() {
138138
if (this.state.pinned.length == 0) {
139-
return <div>No pinned messages.</div>;
139+
return <div>{ _t("No pinned messages.") }</div>;
140140
}
141141

142142
return this.state.pinned.map(pinnedEvent => {
@@ -151,7 +151,7 @@ module.exports = React.createClass({
151151
},
152152

153153
render: function() {
154-
let tiles = <div>Loading...</div>;
154+
let tiles = <div>{ _t("Loading...") }</div>;
155155
if (this.state && !this.state.loading) {
156156
tiles = this._getPinnedTiles();
157157
}

‎src/i18n/strings/en_EN.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@
216216
"Pin Message": "Pin Message",
217217
"Unpin Message": "Unpin Message",
218218
"Jump to message": "Jump to message",
219+
"No pinned messages.": "No pinned messages.",
220+
"Loading...": "Loading...",
219221
"Please set a password!": "Please set a password!",
220222
"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.",
221223
"You have successfully set a password and an email address!": "You have successfully set a password and an email address!",

‎src/i18n/strings/en_US.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@
202202
"Pin Message": "Pin Message",
203203
"Unpin Message": "Unpin Message",
204204
"Jump to message": "Jump to message",
205+
"No pinned messages.": "No pinned messages.",
206+
"Loading...": "Loading...",
205207
"Checking for an update...": "Checking for an update...",
206208
"Error encountered (%(errorDetail)s).": "Error encountered (%(errorDetail)s).",
207209
"No update available.": "No update available.",

0 commit comments

Comments
 (0)