Browse Source

add missing translation

pull/342/head
Guillaume Vincent 7 years ago
parent
commit
87c1044592
7 changed files with 16 additions and 7 deletions
  1. +2
    -1
      src/i18n/de.json
  2. +2
    -1
      src/i18n/en.json
  3. +2
    -1
      src/i18n/es.json
  4. +2
    -1
      src/i18n/fr.json
  5. +2
    -1
      src/i18n/zh-CN.json
  6. +2
    -1
      src/i18n/zh.json
  7. +4
    -1
      src/views/PasswordReset.vue

+ 2
- 1
src/i18n/de.json View File

@@ -38,6 +38,7 @@
"Version": "Version", "Version": "Version",
"WarningV1": "Version 1 ist veraltet und wird in {dayBeforeOnlyV2} Tagen entfernt. Wir empfehlen Ihnen dringend, Ihre Passwörter auf die Version 2 zu migrieren.", "WarningV1": "Version 1 ist veraltet und wird in {dayBeforeOnlyV2} Tagen entfernt. Wir empfehlen Ihnen dringend, Ihre Passwörter auf die Version 2 zu migrieren.",
"WelcomeRegister": "Willkommen {email}, danke für die Anmeldung.", "WelcomeRegister": "Willkommen {email}, danke für die Anmeldung.",
"resetPasswordSuccess": "Wenn die E-Mail-Adresse {email} mit einem LessPass-Konto verknüpft ist, erhalten Sie in Kürze eine E-Mail von LessPass mit Anweisungen zum Zurücksetzen Ihres Passworts.",
"version": "Version", "version": "Version",
"versionShortcut": "V" "versionShortcut": "V"
}
}

+ 2
- 1
src/i18n/en.json View File

@@ -38,6 +38,7 @@
"Version": "Version", "Version": "Version",
"WarningV1": "Version 1 is deprecated and will be removed in {dayBeforeOnlyV2} days. We strongly advise you to migrate your passwords to version 2.", "WarningV1": "Version 1 is deprecated and will be removed in {dayBeforeOnlyV2} days. We strongly advise you to migrate your passwords to version 2.",
"WelcomeRegister": "Welcome {email}, thank you for signing up.", "WelcomeRegister": "Welcome {email}, thank you for signing up.",
"resetPasswordSuccess": "If the email address {email} is associated with a LessPass account, you will shortly receive an email from LessPass with instructions on how to reset your password.",
"version": "version", "version": "version",
"versionShortcut": "v" "versionShortcut": "v"
}
}

+ 2
- 1
src/i18n/es.json View File

@@ -38,6 +38,7 @@
"Version": "Versión", "Version": "Versión",
"WarningV1": "La versión 1 está obsoleta y será eliminada en {dayBeforeOnlyV2} días. Le recomendamos enérgicamente migrar sus contraseñas a la versión 2.", "WarningV1": "La versión 1 está obsoleta y será eliminada en {dayBeforeOnlyV2} días. Le recomendamos enérgicamente migrar sus contraseñas a la versión 2.",
"WelcomeRegister": "Bienvenido o bienvenida {email}, gracias por registrarse.", "WelcomeRegister": "Bienvenido o bienvenida {email}, gracias por registrarse.",
"resetPasswordSuccess": "Si la dirección de correo electrónico {email} está asociada a una cuenta LessPass, recibirá un correo electrónico de LessPass con instrucciones sobre cómo restablecer su contraseña.",
"version": "versión", "version": "versión",
"versionShortcut": "v" "versionShortcut": "v"
}
}

+ 2
- 1
src/i18n/fr.json View File

@@ -38,6 +38,7 @@
"Version": "Version", "Version": "Version",
"WarningV1": "La version 1 est déconseillée et sera supprimée dans {dayBeforeOnlyV2} jours. Nous vous conseillons fortement de migrer vos mots de passe vers la version 2.", "WarningV1": "La version 1 est déconseillée et sera supprimée dans {dayBeforeOnlyV2} jours. Nous vous conseillons fortement de migrer vos mots de passe vers la version 2.",
"WelcomeRegister": "Bienvenue {email}, merci pour vous être enregistré.", "WelcomeRegister": "Bienvenue {email}, merci pour vous être enregistré.",
"resetPasswordSuccess": "Si l'adresse email {email} est associée avec un compte LessPass, vous allez recevoir un email de la part de LessPass avec les instructions pour changer votre mot de passe.",
"version": "version", "version": "version",
"versionShortcut": "v" "versionShortcut": "v"
}
}

+ 2
- 1
src/i18n/zh-CN.json View File

@@ -38,6 +38,7 @@
"Version": "版本", "Version": "版本",
"WarningV1": "版本 1 已不支援,并将在 {dayBeforeOnlyV2} 天内移除。我们强烈得建议您将密码换至版本 2。", "WarningV1": "版本 1 已不支援,并将在 {dayBeforeOnlyV2} 天内移除。我们强烈得建议您将密码换至版本 2。",
"WelcomeRegister": "欢迎 {email},谢谢您的注册。", "WelcomeRegister": "欢迎 {email},谢谢您的注册。",
"resetPasswordSuccess": "如果电子邮件地址 {email} 与LessPass帐户相关联,您将很快收到LessPass的电子邮件,并提供如何重置密码的说明。",
"version": "版本", "version": "版本",
"versionShortcut": "v" "versionShortcut": "v"
}
}

+ 2
- 1
src/i18n/zh.json View File

@@ -38,6 +38,7 @@
"Version": "版本", "Version": "版本",
"WarningV1": "版本 1 已不支援,並將在 {dayBeforeOnlyV2} 天內移除。我們強烈得建議您將密碼換至版本 2。", "WarningV1": "版本 1 已不支援,並將在 {dayBeforeOnlyV2} 天內移除。我們強烈得建議您將密碼換至版本 2。",
"WelcomeRegister": "歡迎 {email},謝謝您的註冊。", "WelcomeRegister": "歡迎 {email},謝謝您的註冊。",
"resetPasswordSuccess": "如果电子邮件地址 {email} 与LessPass帐户相关联,您将很快收到LessPass的电子邮件,并提供如何重置密码的说明。",
"version": "版本", "version": "版本",
"versionShortcut": "v" "versionShortcut": "v"
}
}

+ 4
- 1
src/views/PasswordReset.vue View File

@@ -45,7 +45,10 @@
} }
User.resetPassword({email: this.email}, {baseURL: this.baseURL}) User.resetPassword({email: this.email}, {baseURL: this.baseURL})
.then(() => { .then(() => {
message.success(`If the email address ${this.email} is associated with a LessPass account, you will shortly receive an email from LessPass with instructions on how to reset your password.`)
const successMessage = this.$t('resetPasswordSuccess',
'If the email address {email} is associated with a LessPass account, you will shortly receive an email from LessPass with instructions on how to reset your password.',
{email: this.email});
message.success(successMessage);
}) })
.catch(() => { .catch(() => {
message.displayGenericError(); message.displayGenericError();


Loading…
Cancel
Save