From 919ca5d67c1fbc5cb74ce874ddd16493fda47a49 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 8 Jun 2017 22:48:00 +0100 Subject: [PATCH] fix missing string and broken var --- src/components/views/dialogs/SetPasswordDialog.js | 2 +- src/i18n/strings/el.json | 2 +- src/i18n/strings/en_EN.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/views/dialogs/SetPasswordDialog.js b/src/components/views/dialogs/SetPasswordDialog.js index 76c3bb229e..47e13a1782 100644 --- a/src/components/views/dialogs/SetPasswordDialog.js +++ b/src/components/views/dialogs/SetPasswordDialog.js @@ -53,7 +53,7 @@ export default React.createClass({ errMsg = _t('Failed to change password. Is your password correct?'); } else if (err.httpStatus) { errMsg += _t( - ' (HTTP status %(httpStatus))', + ' (HTTP status %(httpStatus)s)', { httpStatus: err.httpStatus }, ); } diff --git a/src/i18n/strings/el.json b/src/i18n/strings/el.json index ef09843466..2cb2973c0f 100644 --- a/src/i18n/strings/el.json +++ b/src/i18n/strings/el.json @@ -131,7 +131,7 @@ "You are Rioting as a guest. Register or sign in to access more rooms and features!": "Χρησιμοποιείς το Riot ως επισκέπτης. Κάνε εγγραφή ή συνδέσου για να αποκτήσεις πρόσβαση σε περισσότερα δωμάτια και επιλογές!", "Collecting logs": "Συγκέντρωση πληροφοριών", "Enable them now": "Ενεργοποίηση", - "Failed to forget room %(errCode)s": "Δεν ήταν δυνατή η διαγραφή του δωματίου", + "Failed to forget room %(errCode)s": "Δεν ήταν δυνατή η διαγραφή του δωματίου (%(errCode)s)", "Failed to update keywords": "Οι λέξεις κλειδιά δεν ενημερώθηκαν", "Failed to get protocol list from Home Server": "Δεν ήταν δυνατή η εύρεση των διαθέσιμων πρωτοκόλλων από το διακομιστή", "Failed to remove tag %(tagName)s from room": "Δεν ήταν δυνατή η διαγραφή του tag %(tagName)s από το δωμάτιο", diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index c6f461e0e7..cb50de9556 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -62,6 +62,7 @@ "Guests can join": "Guests can join", "Guest users can't invite users. Please register to invite.": "Guest users can't invite users. Please register to invite.", "Hide panel": "Hide panel", + " (HTTP status %(httpStatus))": "(HTTP status %(httpStatus))", "I understand the risks and wish to continue": "I understand the risks and wish to continue", "In order to diagnose problems, logs from this client will be sent with this bug report. If you would prefer to only send the text above, please untick:": "In order to diagnose problems, logs from this client will be sent with this bug report. If you would prefer to only send the text above, please untick:", "Invite to this room": "Invite to this room",