From 919ca5d67c1fbc5cb74ce874ddd16493fda47a49 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 8 Jun 2017 22:48:00 +0100 Subject: [PATCH 1/2] 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", From 0e6576d91a0928324554011e14146375f20bd317 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 8 Jun 2017 22:56:09 +0100 Subject: [PATCH 2/2] fix hebrew vars --- src/i18n/strings/he.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/i18n/strings/he.json b/src/i18n/strings/he.json index e063e51eb5..22c2de59d1 100644 --- a/src/i18n/strings/he.json +++ b/src/i18n/strings/he.json @@ -21,7 +21,7 @@ "Custom Server Options": "הגדרות שרת מותאמות אישית", "customServer_text": "אפשר להשתמש בהגדרות שרת מותאמות אישית בכדי להתחבר לשרתים אחרים באמצעות בחירת כתובת שרת בית שונה.
זה יאפשר לך להשתמש ב Riot עם חשבון קיים ב Matrix אבל אל מול שרת בית שונה.

כמו כן אפשר להגדיר זהות מותאמת אישית אבל אז לא תהיה אפשרות להזמין משתמשים באמצעות כתובת אימייל, או להזמין את עצמך באמצעות כתובת האימייל.", "delete the alias.": "מחיקת כינוי.", - "Delete the room alias %(alias)s and remove %(name)s from the directory?": "מחק כינוי %(alias) של החדר והסר את %(name) מהרשימה?", + "Delete the room alias %(alias)s and remove %(name)s from the directory?": "מחק כינוי %(alias)s של החדר והסר את %(name)s מהרשימה?", "Describe your problem here.": "תאר את הבעיה כאן.", "Direct Chat": "שיחה ישירה", "Directory": "ספרייה", @@ -38,14 +38,14 @@ "#example": "#דוגמא", "Expand panel": "הרחב פנאל", "Failed to": "נכשל ב", - "Failed to add tag %(tagName)s to room": "נכשל בעת הוספת תג %(tagName) לחדר", + "Failed to add tag %(tagName)s to room": "נכשל בעת הוספת תג %(tagName)s לחדר", "Failed to change settings": "נכשל בעת שינוי הגדרות", - "Failed to forget room %(errCode)s": "נכשל בעת בקשה לשכוח חדר %(errCode)", + "Failed to forget room %(errCode)s": "נכשל בעת בקשה לשכוח חדר %(errCode)s", "Failed to update keywords": "נכשל עדכון מילים", "Failed to get protocol list from Home Server": "נכשל בעת נסיון קבלת רשימת פרוטוקולים משרת הבית", "Failed to get public room list": "נכשלה קבלת רשימת חדרים ציבוריים", "Failed to join the room": "הצטרפות לחדר נכשלה", - "Failed to remove tag %(tagName)s from room": "נכשל בעת נסיון הסרת תג %(tagName) מהחדר", + "Failed to remove tag %(tagName)s from room": "נכשל בעת נסיון הסרת תג %(tagName)s מהחדר", "Failed to send report: ": "נכשל בעת שליחת דו\"ח: ", "Failed to set direct chat tag": "נכשל בעת סימון תג לשיחה ישירה", "Failed to set Direct Message status of room": "נכשל בעת סימון סטטוס הודעה ישירה של החדר", @@ -94,13 +94,13 @@ "powered by Matrix": "מופעל ע\"י Matrix", "Quote": "ציטוט", "Reject": "דחה", - "Remove %(name)s from the directory?": "הסר את %(name) מהרשימה?", + "Remove %(name)s from the directory?": "הסר את %(name)s מהרשימה?", "Remove": "הסר", - "remove %(name)s from the directory.": "הסר את %(name) מהרשימה.", + "remove %(name)s from the directory.": "הסר את %(name)s מהרשימה.", "Remove from Directory": "הסר מהרשימה", "Report a bug": "דווח על שגיאה", "Resend": "שלח מחדש", - "Riot Desktop on %(platformName)s": "Riot לשולחן העבודה על גבי %(platformName)", + "Riot Desktop on %(platformName)s": "Riot לשולחן העבודה על גבי %(platformName)s", "Riot does not know how to join a room on this network": "Riot אינו יודע כיצד להצטרף לחדר ברשת זו", "Riot is not supported on mobile web. Install the app?": "Riot לא נתמך באמצעות דפדפן במכשיר הסלולארי. האם ברצונך להתקין את האפליקציה?", "Riot uses many advanced browser features, some of which are not available or experimental in your current browser.": "Riot משתמש במספר רב של אפשרויות מתקדמות בדפדפן, חלק מהן לא זמינות או בשלבי נסיון בדפדפן שבשימושך כרגע.", @@ -130,7 +130,7 @@ "unknown error code": "קוד שגיאה לא מוכר", "Unnamed room": "חדר ללא שם", "Update": "עדכון", - "Uploaded on %(date)s by %(user)s": "עודכן ב %(date) ע\"י %(user)", + "Uploaded on %(date)s by %(user)s": "עודכן ב %(date)s ע\"י %(user)s", "Uploading report": "מעדכן דוח", "View Decrypted Source": "הצג מקור מוצפן", "View Source": "הצג מקור", @@ -189,9 +189,9 @@ "Continue": "המשך", "Please set a password!": "נא להגדיר סיסמא!", "This will allow you to return to your account after signing out, and sign in on other devices.": "זה יאפשר לך לחזור לחשבונך אחרי התנתקות ולהתחבר באמצעות התקנים אחרים.", - "%(appName)s via %(browserName)s on %(osName)s": "%(appName) באמצעות הדפדפן %(browserName) על גבי %(osName)", + "%(appName)s via %(browserName)s on %(osName)s": "%(appName)s באמצעות הדפדפן %(browserName)s על גבי %(osName)s", "Safari and Opera work too.": " ספארי ו אופרה עובדים גם כן.", - "Drop here %(toAction)s": "זרוק כאן %(toAction)", + "Drop here %(toAction)s": "זרוק כאן %(toAction)s", "Notifications on the following keywords follow rules which can’t be displayed here:": "התראה על מילות המפתח הבאות עוקבת אחר החוקים שאינם יכולים להיות מוצגים כאן:", "Redact": "אדום", "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!": "באמצעות הדפדפן הנוכחי שלך המראה של האפליקציה יכול להיות שגוי לחלוטין וחלק מהאפשרויות לא תתפקדנה. אם תרצה לנסות בכל זאת תוכל אבל אז הסיכון חל עליך!",