fix missing translations and typos in i18n

This commit is contained in:
Matthew Hodgson 2017-06-07 18:24:35 +01:00
parent fe487232ad
commit ef2fedc3a9
9 changed files with 13 additions and 11 deletions

View file

@ -231,7 +231,7 @@ module.exports = React.createClass({
if (curr_phase == this.phases.ERROR) { if (curr_phase == this.phases.ERROR) {
error_box = ( error_box = (
<div className="mx_Error"> <div className="mx_Error">
{_t('An error occured: %(error_string)s', {error_string: this.state.error_string})} {_t('An error occurred: %(error_string)s', {error_string: this.state.error_string})}
</div> </div>
); );
} }

View file

@ -125,8 +125,8 @@ export default React.createClass({
break; break;
case "M_INVALID_USERNAME": case "M_INVALID_USERNAME":
newState.usernameError = _t( newState.usernameError = _t(
'Username invalid: %(errMessage)', 'Username invalid: %(error_message)s',
{ errMessage: err.message}, { error_message: err.message},
); );
break; break;
case "M_UNRECOGNIZED": case "M_UNRECOGNIZED":
@ -139,7 +139,7 @@ export default React.createClass({
break; break;
default: default:
newState.usernameError = _t( newState.usernameError = _t(
'An error occurred: %(errMessage)', 'An error occurred: %(errMessage)s',
{ errMessage: err.message }, { errMessage: err.message },
); );
break; break;

View file

@ -339,7 +339,7 @@
"User names may only contain letters, numbers, dots, hyphens and underscores.": "Benutzernamen sollen nur Buchstaben, Nummern, Binde- und Unterstriche enthalten.", "User names may only contain letters, numbers, dots, hyphens and underscores.": "Benutzernamen sollen nur Buchstaben, Nummern, Binde- und Unterstriche enthalten.",
"An unknown error occurred.": "Ein unbekannter Fehler trat auf.", "An unknown error occurred.": "Ein unbekannter Fehler trat auf.",
"I already have an account": "Ich habe bereits einen Account", "I already have an account": "Ich habe bereits einen Account",
"An error occured: %(error_string)s": "Ein Fehler trat auf: %(error_string)s", "An error occurred: %(error_string)s": "Ein Fehler trat auf: %(error_string)s",
"Topic": "Thema", "Topic": "Thema",
"Make this room private": "Mache diesen Raum privat", "Make this room private": "Mache diesen Raum privat",
"Share message history with new users": "Bisherigen Chatverlauf mit neuen Nutzern teilen", "Share message history with new users": "Bisherigen Chatverlauf mit neuen Nutzern teilen",

View file

@ -268,6 +268,7 @@
"End-to-end encryption information": "End-to-end encryption information", "End-to-end encryption information": "End-to-end encryption information",
"End-to-end encryption is in beta and may not be reliable": "End-to-end encryption is in beta and may not be reliable", "End-to-end encryption is in beta and may not be reliable": "End-to-end encryption is in beta and may not be reliable",
"Enter Code": "Enter Code", "Enter Code": "Enter Code",
"Enter passphrase": "Enter passphrase",
"Error": "Error", "Error": "Error",
"Error decrypting attachment": "Error decrypting attachment", "Error decrypting attachment": "Error decrypting attachment",
"Error: Problem communicating with the given homeserver.": "Error: Problem communicating with the given homeserver.", "Error: Problem communicating with the given homeserver.": "Error: Problem communicating with the given homeserver.",
@ -580,6 +581,7 @@
"User ID": "User ID", "User ID": "User ID",
"User Interface": "User Interface", "User Interface": "User Interface",
"User name": "User name", "User name": "User name",
"Username invalid: %(errMessage)s": "Username invalid: %(errMessage)s",
"Users": "Users", "Users": "Users",
"User": "User", "User": "User",
"Verification Pending": "Verification Pending", "Verification Pending": "Verification Pending",
@ -661,7 +663,7 @@
"User names may only contain letters, numbers, dots, hyphens and underscores.": "User names may only contain letters, numbers, dots, hyphens and underscores.", "User names may only contain letters, numbers, dots, hyphens and underscores.": "User names may only contain letters, numbers, dots, hyphens and underscores.",
"An unknown error occurred.": "An unknown error occurred.", "An unknown error occurred.": "An unknown error occurred.",
"I already have an account": "I already have an account", "I already have an account": "I already have an account",
"An error occured: %(error_string)s": "An error occured: %(error_string)s", "An error occurred: %(error_string)s": "An error occurred: %(error_string)s",
"Topic": "Topic", "Topic": "Topic",
"Make Moderator": "Make Moderator", "Make Moderator": "Make Moderator",
"Make this room private": "Make this room private", "Make this room private": "Make this room private",

View file

@ -645,7 +645,7 @@
"User names may only contain letters, numbers, dots, hyphens and underscores.": "User names may only contain letters, numbers, dots, hyphens and underscores.", "User names may only contain letters, numbers, dots, hyphens and underscores.": "User names may only contain letters, numbers, dots, hyphens and underscores.",
"An unknown error occurred.": "An unknown error occurred.", "An unknown error occurred.": "An unknown error occurred.",
"I already have an account": "I already have an account", "I already have an account": "I already have an account",
"An error occured: %(error_string)s": "An error occured: %(error_string)s", "An error occurred: %(error_string)s": "An error occurred: %(error_string)s",
"Topic": "Topic", "Topic": "Topic",
"Make Moderator": "Make Moderator", "Make Moderator": "Make Moderator",
"Make this room private": "Make this room private", "Make this room private": "Make this room private",

View file

@ -611,7 +611,7 @@
"User names may only contain letters, numbers, dots, hyphens and underscores.": "Les noms dutilisateurs ne peuvent contenir que des lettres, chiffres, points et tirets hauts ou bas.", "User names may only contain letters, numbers, dots, hyphens and underscores.": "Les noms dutilisateurs ne peuvent contenir que des lettres, chiffres, points et tirets hauts ou bas.",
"An unknown error occurred.": "Une erreur inconnue est survenue.", "An unknown error occurred.": "Une erreur inconnue est survenue.",
"I already have an account": "Jai déjà un compte", "I already have an account": "Jai déjà un compte",
"An error occured: %(error_string)s": "Une erreur est survenue : %(error_string)s", "An error occurred: %(error_string)s": "Une erreur est survenue : %(error_string)s",
"Topic": "Sujet", "Topic": "Sujet",
"Make Moderator": "Nommer modérateur", "Make Moderator": "Nommer modérateur",
"Make this room private": "Rendre ce salon privé", "Make this room private": "Rendre ce salon privé",

View file

@ -417,7 +417,7 @@
"User names may only contain letters, numbers, dots, hyphens and underscores.": "Nomes de usuária/o podem conter apenas letras, números, pontos, hífens e linha inferior (_).", "User names may only contain letters, numbers, dots, hyphens and underscores.": "Nomes de usuária/o podem conter apenas letras, números, pontos, hífens e linha inferior (_).",
"An unknown error occurred.": "Um erro desconhecido ocorreu.", "An unknown error occurred.": "Um erro desconhecido ocorreu.",
"I already have an account": "Eu já tenho uma conta", "I already have an account": "Eu já tenho uma conta",
"An error occured: %(error_string)s": "Um erro ocorreu: %(error_string)s", "An error occurred: %(error_string)s": "Um erro ocorreu: %(error_string)s",
"Topic": "Tópico", "Topic": "Tópico",
"Make this room private": "Tornar esta sala privada", "Make this room private": "Tornar esta sala privada",
"Share message history with new users": "Compartilhar histórico de mensagens com novas/os usuárias/os", "Share message history with new users": "Compartilhar histórico de mensagens com novas/os usuárias/os",

View file

@ -417,7 +417,7 @@
"User names may only contain letters, numbers, dots, hyphens and underscores.": "Nomes de usuária/o podem conter apenas letras, números, pontos, hífens e linha inferior (_).", "User names may only contain letters, numbers, dots, hyphens and underscores.": "Nomes de usuária/o podem conter apenas letras, números, pontos, hífens e linha inferior (_).",
"An unknown error occurred.": "Um erro desconhecido ocorreu.", "An unknown error occurred.": "Um erro desconhecido ocorreu.",
"I already have an account": "Eu já tenho uma conta", "I already have an account": "Eu já tenho uma conta",
"An error occured: %(error_string)s": "Um erro ocorreu: %(error_string)s", "An error occurred: %(error_string)s": "Um erro ocorreu: %(error_string)s",
"Topic": "Tópico", "Topic": "Tópico",
"Make this room private": "Tornar esta sala privada", "Make this room private": "Tornar esta sala privada",
"Share message history with new users": "Compartilhar histórico de mensagens com novas/os usuárias/os", "Share message history with new users": "Compartilhar histórico de mensagens com novas/os usuárias/os",

View file

@ -336,7 +336,7 @@
"User names may only contain letters, numbers, dots, hyphens and underscores.": "Имена пользователей могут только содержать буквы, числа, точки, дефисы и подчеркивания.", "User names may only contain letters, numbers, dots, hyphens and underscores.": "Имена пользователей могут только содержать буквы, числа, точки, дефисы и подчеркивания.",
"An unknown error occurred.": "Произошла неизвестная ошибка.", "An unknown error occurred.": "Произошла неизвестная ошибка.",
"I already have an account": "У меня уже есть учетная запись", "I already have an account": "У меня уже есть учетная запись",
"An error occured: %(error_string)s": "Произошла ошибка: %(error_string)s", "An error occurred: %(error_string)s": "Произошла ошибка: %(error_string)s",
"Topic": "Тема", "Topic": "Тема",
"Make this room private": "Сделать эту комнату частной", "Make this room private": "Сделать эту комнату частной",
"Share message history with new users": "Поделись историей сообщений с новыми учасниками", "Share message history with new users": "Поделись историей сообщений с новыми учасниками",