From 56483f38886f5840b202e5af9d6d2ec3a71ee186 Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Fri, 25 May 2018 16:09:38 +0200 Subject: [PATCH 1/4] Add missing translations (en/de) for plugins ignore-user and local-auth. --- plugins/talk-plugin-ignore-user/client/translations.yml | 1 + .../client/components/ChangePassword.js | 8 +++++--- .../client/components/ChangeUsernameContentDialog.js | 2 +- plugins/talk-plugin-local-auth/translations.yml | 8 ++++++++ 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/plugins/talk-plugin-ignore-user/client/translations.yml b/plugins/talk-plugin-ignore-user/client/translations.yml index 84a4ca11c..fdf2b1daf 100644 --- a/plugins/talk-plugin-ignore-user/client/translations.yml +++ b/plugins/talk-plugin-ignore-user/client/translations.yml @@ -39,6 +39,7 @@ en: confirmation_title: Ignore {0}? de: talk-plugin-ignore-user: + blank_info: Sie ignorieren derzeit keine Nutzer section_title: Ignorierte Nutzer section_info: Weil Sie die folgenden Nutzer ignorieren, sind deren Kommentare versteckt. stop_ignoring: Ignorieren beenden diff --git a/plugins/talk-plugin-local-auth/client/components/ChangePassword.js b/plugins/talk-plugin-local-auth/client/components/ChangePassword.js index 010df0826..cae112203 100644 --- a/plugins/talk-plugin-local-auth/client/components/ChangePassword.js +++ b/plugins/talk-plugin-local-auth/client/components/ChangePassword.js @@ -185,7 +185,7 @@ class ChangePassword extends React.Component { > Date: Fri, 25 May 2018 16:31:07 +0200 Subject: [PATCH 2/4] One more missing German translation --- plugins/talk-plugin-local-auth/translations.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/talk-plugin-local-auth/translations.yml b/plugins/talk-plugin-local-auth/translations.yml index c4dd56061..ec5bc90d7 100644 --- a/plugins/talk-plugin-local-auth/translations.yml +++ b/plugins/talk-plugin-local-auth/translations.yml @@ -98,6 +98,7 @@ de: forgot_password_sent: "Passwort vergessen - Wir haben Ihnen eine E-Mail zum Zurücksetzen des Passwortes geschickt" change_username: change_username_note: "Nutzernamen können nur alle 14 Tage geändert werden. Ihr Nutzername ist zur Zeit nicht editierbar." + is_not_eligible: "Sie können Ihren Benutzernamen derzeit nicht ändern." save: "Speichern" edit_profile: "Profil ändern" cancel: "Abbrechen" From 325e763fd0f8417b49879afd4df8f089b6755f6c Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Fri, 25 May 2018 16:34:29 +0200 Subject: [PATCH 3/4] Remove redundancy --- plugins/talk-plugin-local-auth/translations.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/talk-plugin-local-auth/translations.yml b/plugins/talk-plugin-local-auth/translations.yml index ec5bc90d7..fa9515432 100644 --- a/plugins/talk-plugin-local-auth/translations.yml +++ b/plugins/talk-plugin-local-auth/translations.yml @@ -97,8 +97,8 @@ de: changed_password_msg: "Passwort geändert - Ihr Passwort wurde erfolgreich geändert" forgot_password_sent: "Passwort vergessen - Wir haben Ihnen eine E-Mail zum Zurücksetzen des Passwortes geschickt" change_username: - change_username_note: "Nutzernamen können nur alle 14 Tage geändert werden. Ihr Nutzername ist zur Zeit nicht editierbar." - is_not_eligible: "Sie können Ihren Benutzernamen derzeit nicht ändern." + change_username_note: "Nutzernamen können nur alle 14 Tage geändert werden." + is_not_eligible: "Sie können Ihren Nutzernamen derzeit nicht ändern." save: "Speichern" edit_profile: "Profil ändern" cancel: "Abbrechen" From b7d2621cb89f510c16b2b4f2d0e8af0e2dfa1f8f Mon Sep 17 00:00:00 2001 From: Fabian Neumann Date: Fri, 25 May 2018 17:19:43 +0200 Subject: [PATCH 4/4] Remove redundant period. It's in the translation strings already. --- services/mailer/templates/password-reset.txt.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/mailer/templates/password-reset.txt.ejs b/services/mailer/templates/password-reset.txt.ejs index 2b5e60a9b..577f23bec 100644 --- a/services/mailer/templates/password-reset.txt.ejs +++ b/services/mailer/templates/password-reset.txt.ejs @@ -1,3 +1,3 @@ -<%= t('email.password_reset.we_received_a_request') %>. <%= t('email.password_reset.if_you_did') %> <%= t('email.password_reset.please_click') %>: +<%= t('email.password_reset.we_received_a_request') %> <%= t('email.password_reset.if_you_did') %> <%= t('email.password_reset.please_click') %>: <%= BASE_URL %>account/password/reset#<%= token %>