Skip to content

Commit 5a8a41a

Browse files
committed
Merge branch 'develop' into rav/fix_token_redirect
2 parents 60be24c + 0608c67 commit 5a8a41a

30 files changed

Lines changed: 1199 additions & 121 deletions

File tree

‎scripts/copy-res.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,21 @@ const INCLUDE_LANGS = [
1313
{'value': 'en_US', 'label': 'English (US)'},
1414
{'value': 'da', 'label': 'Dansk'},
1515
{'value': 'el', 'label': 'Ελληνικά'},
16+
{'value': 'eo', 'label': 'Esperanto'},
1617
{'value': 'nl', 'label': 'Nederlands'},
1718
{'value': 'de_DE', 'label': 'Deutsch'},
1819
{'value': 'fr', 'label': 'Français'},
20+
{'value': 'hu', 'label': 'Magyar'},
21+
{'value': 'ko', 'label': '한국어'},
22+
{'value': 'nb_NO', 'label': 'Norwegian Bokmål'},
23+
{'value': 'pl', 'label': 'Polski'},
1924
{'value': 'pt', 'label': 'Português'},
2025
{'value': 'pt_BR', 'label': 'Português do Brasil'},
2126
{'value': 'ru', 'label': 'Русский'},
2227
{'value': 'sv', 'label': 'Svenska'},
2328
{'value': 'es', 'label': 'Español'},
2429
{'value': 'th', 'label': 'ไทย'},
30+
{'value': 'tr', 'label': 'Türk'},
2531
{'value': 'zh_Hans', 'label': '简体中文'}, // simplified chinese
2632
{'value': 'zh_Hant', 'label': '繁體中文'}, // traditional chinese
2733
];

‎src/components/structures/LoginBox.js‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ module.exports = React.createClass({
4747
dis.dispatch({ action: 'start_login' });
4848
},
4949

50+
onRegisterClick: function() {
51+
dis.dispatch({ action: 'start_registration' });
52+
},
53+
5054
render: function() {
5155
var TintableSvg = sdk.getComponent('elements.TintableSvg');
5256

@@ -71,6 +75,9 @@ module.exports = React.createClass({
7175
<AccessibleButton className="mx_LoginBox_loginButton" element="button" onClick={this.onLoginClick}>
7276
{ _t("Login") }
7377
</AccessibleButton>
78+
<AccessibleButton className="mx_LoginBox_registerButton" element="button" onClick={this.onRegisterClick}>
79+
{ _t("Register") }
80+
</AccessibleButton>
7481
</div>
7582
);
7683
}

‎src/components/views/context_menus/MessageContextMenu.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ module.exports = React.createClass({
117117
onForwardClick: function() {
118118
dis.dispatch({
119119
action: 'forward_event',
120-
content: this.props.mxEvent,
120+
event: this.props.mxEvent,
121121
});
122122
this.closeMenu();
123123
},

‎src/components/views/dialogs/SetPasswordDialog.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ export default React.createClass({
9393
if (err.httpStatus === 403) {
9494
errMsg = _t('Failed to change password. Is your password correct?');
9595
} else if (err.httpStatus) {
96-
errMsg += _t(
97-
' (HTTP status %(httpStatus)s)',
96+
errMsg += ' ' + _t(
97+
'(HTTP status %(httpStatus)s)',
9898
{ httpStatus: err.httpStatus },
9999
);
100100
}

‎src/i18n/strings/bn_BD.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

‎src/i18n/strings/bn_IN.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

‎src/i18n/strings/de_DE.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"Failed to set Direct Message status of room": "Konnte den direkten Benachrichtigungsstatus nicht setzen",
5252
"Favourite": "Favorit",
5353
"Fetching third party location failed": "Das Abrufen des Drittanbieterstandorts ist fehlgeschlagen",
54-
"Forget": "Lösche",
54+
"Forget": "Entfernen",
5555
"from the directory": "aus dem Verzeichnis",
5656
" from room": " aus dem Raum",
5757
"Keywords": "Schlüsselwörter",
@@ -75,7 +75,7 @@
7575
"Unable to join network": "Es ist nicht möglich, dem Netzwerk beizutreten",
7676
"unknown error code": "Unbekannter Fehlercode",
7777
"Unnamed room": "Unbenannter Raum",
78-
"Notify me for anything else": "Benachrichtige mich für alles andere",
78+
"Notify me for anything else": "Über alles andere benachrichtigen",
7979
"Off": "Aus",
8080
"On": "An",
8181
"You might have configured them in a client other than Riot. You cannot tune them in Riot but they still apply": "Du hast sie eventuell auf einem anderen Client als Riot konfiguriert. Sie können in Riot nicht verändert werden, gelten aber trotzdem",
@@ -88,7 +88,7 @@
8888
"Delete the room alias %(alias)s and remove %(name)s from the directory?": "Soll der Raum-Alias %(alias)s gelöscht und der %(name)s aus dem Verzeichnis entfernt werden?",
8989
"Download this file": "Diese Datei herunterladen",
9090
"Failed to add tag %(tagName)s to room": "Das Hinzufügen des Tags %(tagName)s für den Raum ist fehlgeschlagen",
91-
"Failed to forget room %(errCode)s": "Das Entfernen des Raums %(errCode)s aus deiner Liste ist fehlgeschlagen",
91+
"Failed to forget room %(errCode)s": "Das Entfernen des Raums ist fehlgeschlagen %(errCode)s",
9292
"Failed to remove tag %(tagName)s from room": "Das Entfernen des Tags %(tagName)s für den Raum ist fehlgeschlagen",
9393
"Failed to set direct chat tag": "Fehler beim Setzen der \"Direkter Chat\"-Kennzeichnung",
9494
"Mentions only": "Nur, wenn du erwähnt wirst",
@@ -165,7 +165,7 @@
165165
"Uploading report": "Lade Bericht hoch",
166166
"What's New": "Was ist neu",
167167
"What's new?": "Was ist neu?",
168-
"Waiting for response from server": "Warte auf eine Antwort vom Server",
168+
"Waiting for response from server": "Auf Antwort vom Server warten",
169169
"You are Rioting as a guest. <a>Register</a> or <a>sign in</a> to access more rooms and features!": "Du verwendest Riot als Gast. <a>Registriere</a> oder <a>melde dich an</a> um Zugang zu mehr Räumen und Funktionen zu bekommen!",
170170
"You need to be using HTTPS to place a screen-sharing call.": "Du musst HTTPS nutzen um einen Anruf mit Bildschirmfreigabe durchzuführen.",
171171
"OK": "OK",
@@ -205,7 +205,7 @@
205205
"This will allow you to return to your account after signing out, and sign in on other devices.": "Dies erlaubt dir, dich wieder an deinem Konto anzumelden, nachdem du dich abgemeldet hast.",
206206
"Dev chat for the Dendrite dev team": "Entwickler-Chat für das Dendrite-Entwickler-Team",
207207
"General discussion about Matrix and Riot": "Allgemeine Diskussion über Matrix und Riot",
208-
" (HTTP status %(httpStatus))": "(HTTP-Status %(httpStatus))",
208+
"(HTTP status %(httpStatus)s)": "(HTTP-Status %(httpStatus)s)",
209209
"You have successfully set a password and an email address!": "Du hast erfolgreich ein Passwort und eine E-Mail-Adresse gesetzt!",
210210
"Remember, you can always set an email address in user settings if you change your mind.": "Denk daran, dass du in den Benutzereinstellungen jederzeit eine E-Mail-Adresse setzen kannst."
211211
}

‎src/i18n/strings/el.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@
149149
"View Source": "Προβολή κώδικα",
150150
"You might have configured them in a client other than Riot. You cannot tune them in Riot but they still apply": "Ισως να έχετε κάνει τις ρυθμίσεις σε άλλη εφαρμογή εκτός του Riot. Δεν μπορείτε να τις αλλάξετε μέσω του Riot αλλά ισχύουν κανονικά",
151151
"Couldn't find a matching Matrix room": "Δεν βρέθηκε κάποιο δωμάτιο",
152-
"Drop here %(toAction)s": "Απόθεση εδώ %(toAction)s",
152+
"Drop here %(toAction)s": "Αποθέστε εδώ %(toAction)s",
153153
"Failed to": "Απέτυχε να",
154154
"Failed to get public room list": "Δεν ήταν δυνατή η λήψη της λίστας με τα δημόσια δωμάτια",
155155
"Failed to set direct chat tag": "Δεν ήταν δυνατός ο χαρακτηρισμός της συνομιλίας ως 1-προς-1",
156156
"powered by Matrix": "βασισμένο στο πρωτόκολλο Matrix",
157157
"Quote": "Παράθεση",
158158
"Fetching third party location failed": "Η λήψη τοποθεσίας απέτυχε",
159-
" (HTTP status %(httpStatus))": "(Κατάσταση HTTP %(httpStatus))",
159+
"(HTTP status %(httpStatus)s)": "(Κατάσταση HTTP %(httpStatus)s)",
160160
"Login": "Σύνδεση",
161161
"Riot uses many advanced browser features, some of which are not available or experimental in your current browser.": "Το Riot χρησιμοποιεί αρκετά προχωρημένα χαρακτηριστικά των περιηγητών Ιστού, ορισμένα από τα οποία δεν είναι διαθέσιμα ή είναι σε πειραματικό στάδιο στον περιηγητή σας.",
162162
"The Home Server may be too old to support third party networks": "Ο διακομιστής μπορεί να είναι αρκετά παλιός για να υποστηρίζει δίκτυα τρίτων",

‎src/i18n/strings/en_EN.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"Guests can join": "Guests can join",
6363
"Guest users can't invite users. Please register to invite.": "Guest users can't invite users. Please register to invite.",
6464
"Hide panel": "Hide panel",
65-
" (HTTP status %(httpStatus))": "(HTTP status %(httpStatus))",
65+
"(HTTP status %(httpStatus)s)": "(HTTP status %(httpStatus)s)",
6666
"I understand the risks and wish to continue": "I understand the risks and wish to continue",
6767
"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:",
6868
"Invite to this room": "Invite to this room",

‎src/i18n/strings/en_US.json‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
"Login": "Login",
165165
"Continue": "Continue",
166166
"Failed to change password. Is your password correct?": "Failed to change password. Is your password correct?",
167-
" (HTTP status %(httpStatus))": "(HTTP status %(httpStatus))",
167+
"(HTTP status %(httpStatus)s)": "(HTTP status %(httpStatus)s)",
168168
"Welcome to Riot.im": "Welcome to Riot.im",
169169
"Decentralised, encrypted chat &amp; collaboration powered by [matrix]": "Decentralised, encrypted chat &amp; collaboration powered by [matrix]",
170170
"Chat with Riot Bot": "Chat with Riot Bot",
@@ -196,5 +196,7 @@
196196
"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.",
197197
"Riot/Android &amp; matrix-android-sdk chat": "Riot/Android &amp; matrix-android-sdk chat",
198198
"Riot/Web &amp; Desktop chat": "Riot/Web &amp; Desktop chat",
199-
"Riot/iOS &amp; matrix-ios-sdk chat": "Riot/iOS &amp; matrix-ios-sdk chat"
199+
"Riot/iOS &amp; matrix-ios-sdk chat": "Riot/iOS &amp; matrix-ios-sdk chat",
200+
"You have successfully set a password and an email address!": "You have successfully set a password and an email address!",
201+
"Remember, you can always set an email address in user settings if you change your mind.": "Remember, you can always set an email address in user settings if you change your mind."
200202
}

0 commit comments

Comments
 (0)