diff --git a/src/components/views/rooms/PinnedEventsPanel.js b/src/components/views/rooms/PinnedEventsPanel.js
index d86d4b58..ec50ae07 100644
--- a/src/components/views/rooms/PinnedEventsPanel.js
+++ b/src/components/views/rooms/PinnedEventsPanel.js
@@ -136,7 +136,7 @@ module.exports = React.createClass({
_getPinnedTiles: function() {
if (this.state.pinned.length == 0) {
- return
No pinned messages.
;
+ return { _t("No pinned messages.") }
;
}
return this.state.pinned.map(pinnedEvent => {
@@ -151,7 +151,7 @@ module.exports = React.createClass({
},
render: function() {
- let tiles = Loading...
;
+ let tiles = { _t("Loading...") }
;
if (this.state && !this.state.loading) {
tiles = this._getPinnedTiles();
}
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index d403c7c1..7f2d1185 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -216,6 +216,8 @@
"Pin Message": "Pin Message",
"Unpin Message": "Unpin Message",
"Jump to message": "Jump to message",
+ "No pinned messages.": "No pinned messages.",
+ "Loading...": "Loading...",
"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.",
"You have successfully set a password and an email address!": "You have successfully set a password and an email address!",
diff --git a/src/i18n/strings/en_US.json b/src/i18n/strings/en_US.json
index cc42d785..66042713 100644
--- a/src/i18n/strings/en_US.json
+++ b/src/i18n/strings/en_US.json
@@ -202,6 +202,8 @@
"Pin Message": "Pin Message",
"Unpin Message": "Unpin Message",
"Jump to message": "Jump to message",
+ "No pinned messages.": "No pinned messages.",
+ "Loading...": "Loading...",
"Checking for an update...": "Checking for an update...",
"Error encountered (%(errorDetail)s).": "Error encountered (%(errorDetail)s).",
"No update available.": "No update available.",