From 12f923bc81c8ae95d790b65b665bc232f35661b2 Mon Sep 17 00:00:00 2001 From: daniel tygel Date: Tue, 30 May 2017 18:56:52 -0300 Subject: [PATCH 1/3] add new string to translate --- src/components/views/rooms/TopUnreadMessagesBar.js | 2 +- src/i18n/strings/en_EN.json | 1 + src/i18n/strings/pt_BR.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/views/rooms/TopUnreadMessagesBar.js b/src/components/views/rooms/TopUnreadMessagesBar.js index 6cb6475a8f..45aba66633 100644 --- a/src/components/views/rooms/TopUnreadMessagesBar.js +++ b/src/components/views/rooms/TopUnreadMessagesBar.js @@ -37,7 +37,7 @@ module.exports = React.createClass({ { - Jump to first unread message. + { _t("Jump to first unread message.") } Date: Tue, 30 May 2017 19:01:23 -0300 Subject: [PATCH 2/3] add string to translate --- src/components/views/rooms/EventTile.js | 2 +- src/i18n/strings/en_EN.json | 1 + src/i18n/strings/pt_BR.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/views/rooms/EventTile.js b/src/components/views/rooms/EventTile.js index 6db42a4b9d..d9a6925793 100644 --- a/src/components/views/rooms/EventTile.js +++ b/src/components/views/rooms/EventTile.js @@ -481,7 +481,7 @@ module.exports = WithMatrixClient(React.createClass({ } const editButton = ( - + ); let e2e; // cosmetic padlocks: diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 73774c52c6..ce2a630bc0 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -677,6 +677,7 @@ "%(oneUser)schanged their avatar": "%(oneUser)schanged their avatar", "Analytics": "Analytics", "Opt out of analytics": "Opt out of analytics", + "Options": "Options", "Riot collects anonymous analytics to allow us to improve the application.": "Riot collects anonymous analytics to allow us to improve the application.", "Please select the destination room for this message": "Please select the destination room for this message", "Passphrases must match": "Passphrases must match", diff --git a/src/i18n/strings/pt_BR.json b/src/i18n/strings/pt_BR.json index 49ef774dac..9a79219a48 100644 --- a/src/i18n/strings/pt_BR.json +++ b/src/i18n/strings/pt_BR.json @@ -729,6 +729,7 @@ "%(senderDisplayName)s removed the room name.": "%(senderDisplayName)s apagou o nome da sala.", "Analytics": "Análise", "Opt out of analytics": "Sair da ferramenta de análise", + "Options": "Opções", "Riot collects anonymous analytics to allow us to improve the application.": "Riot coleta informações anônimas de uso para nos permitir melhorar o sistema.", "Passphrases must match": "As senhas têm que ser iguais", "Passphrase must not be empty": "A senha não pode estar vazia", From 75d2b2319d387eb348563a3e42752c93f395ccd0 Mon Sep 17 00:00:00 2001 From: daniel tygel Date: Wed, 31 May 2017 09:10:19 -0300 Subject: [PATCH 3/3] translate directly in pt_BR.json --- src/i18n/strings/pt_BR.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n/strings/pt_BR.json b/src/i18n/strings/pt_BR.json index 220bd7ade5..331fda1947 100644 --- a/src/i18n/strings/pt_BR.json +++ b/src/i18n/strings/pt_BR.json @@ -605,7 +605,7 @@ "'%(alias)s' is not a valid format for an address": "'%(alias)s' não é um formato válido para um endereço", "'%(alias)s' is not a valid format for an alias": "'%(alias)s' não é um formato válido para um alias", "Join Room": "Ingressar na sala", - "Jump to first unread message.": "Jump to first unread message.", + "Jump to first unread message.": "Ir diretamente para a primeira das mensagens não lidas.", "Kick": "Remover", "Level": "Nível", "Local addresses for this room:": "Endereço local desta sala:",