From 58144b6c983a652fcf54515b00a718f294df8151 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Fri, 12 Mar 2021 00:22:54 +0100 Subject: [PATCH] Fix bad translation for login --- packages/lesspass-pure/src/i18n/build.js | 2 +- packages/lesspass-pure/src/i18n/de.json | 4 ++-- packages/lesspass-pure/src/i18n/en.json | 3 +-- packages/lesspass-pure/src/i18n/es.json | 4 ++-- packages/lesspass-pure/src/i18n/fr.json | 4 ++-- packages/lesspass-pure/src/i18n/pl.json | 4 ++-- packages/lesspass-pure/src/i18n/pt.json | 4 ++-- packages/lesspass-pure/src/i18n/ru.json | 4 ++-- packages/lesspass-pure/src/i18n/zh-CN.json | 4 ++-- packages/lesspass-pure/src/i18n/zh-TW.json | 4 ++-- packages/lesspass-pure/src/views/PasswordGenerator.vue | 4 ++-- packages/lesspass-pure/src/views/Settings.vue | 4 ++-- 12 files changed, 22 insertions(+), 23 deletions(-) diff --git a/packages/lesspass-pure/src/i18n/build.js b/packages/lesspass-pure/src/i18n/build.js index 555281f..3c25f17 100644 --- a/packages/lesspass-pure/src/i18n/build.js +++ b/packages/lesspass-pure/src/i18n/build.js @@ -21,7 +21,7 @@ walker.on("file", (root, fileStats, next) => { }); walker.on("end", () => { - languagesAvailable.forEach(lang => { + ["en", ...languagesAvailable].forEach(lang => { const localeFile = path.resolve(__dirname, `${lang}.json`); let existingLocale = {}; if (fs.existsSync(localeFile)) { diff --git a/packages/lesspass-pure/src/i18n/de.json b/packages/lesspass-pure/src/i18n/de.json index e698857..5d3d2c1 100644 --- a/packages/lesspass-pure/src/i18n/de.json +++ b/packages/lesspass-pure/src/i18n/de.json @@ -18,7 +18,6 @@ "Length": "Länge", "LengthDeprecationWarning": "Die maximale Länge eines Passwortes beträgt 35 Zeichen.", "LessPass Database Url": "LessPass Datenbank Url", - "Login": "Anmeldung", "LoginFormInvalid": "LessPass URL, email-Adresse und Passwort sind obligatorisch", "LoginIncorrectError": "Die email-Adresse und das Passwort, die Sie eingegeben haben, entsprechen nicht unseren Daten. Bitte überprüfen Sie sie und versuchen es nochmal.", "Master Password": "Masterpasswort", @@ -52,6 +51,7 @@ "SiteLoginMasterPasswordMandatory": "Die Felder für Seite, Anmeldename und Masterpasswort sind obligatorisch.", "SorryCopy": "Es tut uns leid, dass die Kopie nur auf modernen Browsern funktioniert", "UpdateYourSearch": "Bitte erweitern Sie Ihre Suche.", + "Username": "Nutzername", "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." -} +} \ No newline at end of file diff --git a/packages/lesspass-pure/src/i18n/en.json b/packages/lesspass-pure/src/i18n/en.json index 0658e3e..f8d43dd 100644 --- a/packages/lesspass-pure/src/i18n/en.json +++ b/packages/lesspass-pure/src/i18n/en.json @@ -18,7 +18,6 @@ "Length": "Length", "LengthDeprecationWarning": "The maximum length of a password is 35 characters.", "LessPass Database Url": "LessPass Database Url", - "Login": "Login", "LoginFormInvalid": "LessPass URL, email, and password are mandatory", "LoginIncorrectError": "The email and password you entered did not match our records. Please double-check and try again.", "Master Password": "Master Password", @@ -51,8 +50,8 @@ "Site": "Site", "SiteLoginMasterPasswordMandatory": "Site, login, and master password fields are mandatory.", "SorryCopy": "Sorry, copying only works in modern browsers.", - "Update password": "Update password", "UpdateYourSearch": "Please try broadening your search.", + "Username": "Username", "WelcomeRegister": "Welcome, {email}. Thank you for signing up!", "resetPasswordSuccess": "If the email address {email} is associated with a LessPass account, you will receive an email from LessPass with instructions on how to reset your password." } diff --git a/packages/lesspass-pure/src/i18n/es.json b/packages/lesspass-pure/src/i18n/es.json index f96cff2..43de4b7 100644 --- a/packages/lesspass-pure/src/i18n/es.json +++ b/packages/lesspass-pure/src/i18n/es.json @@ -18,7 +18,6 @@ "Length": "Tamaño", "LengthDeprecationWarning": "La longitud máxima de una contraseña es de 35 caracteres.", "LessPass Database Url": "URL de la base de datos LessPass", - "Login": "Iniciar sesión", "LoginFormInvalid": "URL, correo electrónico y contraseña de LessPass URL son obligatorios", "LoginIncorrectError": "El correo electrónico y la contraseña que ingresó no concuerdan con nuestros registros. Revíselos de nuevo.", "Master Password": "Contraseña maestra", @@ -52,6 +51,7 @@ "SiteLoginMasterPasswordMandatory": "Los campos sitio, usuario y contraseña maestra son obligatorios.", "SorryCopy": "Lamentamos que la copia sólo funcione en navegadores modernos", "UpdateYourSearch": "Trate de ampliar su búsqueda.", + "Username": "Nombre de usuario", "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." -} +} \ No newline at end of file diff --git a/packages/lesspass-pure/src/i18n/fr.json b/packages/lesspass-pure/src/i18n/fr.json index f2a940b..c01c702 100644 --- a/packages/lesspass-pure/src/i18n/fr.json +++ b/packages/lesspass-pure/src/i18n/fr.json @@ -18,7 +18,6 @@ "Length": "Longueur", "LengthDeprecationWarning": "La longueur maximale d'un mot de passe est de 35 caractères.", "LessPass Database Url": "URL de la base de données LessPass", - "Login": "S'identifier", "LoginFormInvalid": "L'URL LessPass, l'email et le mot de passe sont obligatoires.", "LoginIncorrectError": "L'email et le mot de passe ne sont pas dans notre base de données. Vérifiez une nouvelle fois et réessayez.", "Master Password": "Mot de passe fort", @@ -52,6 +51,7 @@ "SiteLoginMasterPasswordMandatory": "Les champs site, login et mot de passe fort sont obligatoires.", "SorryCopy": "Nous sommes désolés, la copie ne fonctionne que sur les navigateurs modernes", "UpdateYourSearch": "Merci de modifier votre recherche.", + "Username": "Nom d'utilisateur", "WelcomeRegister": "Bienvenue {email}, merci de 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." -} +} \ No newline at end of file diff --git a/packages/lesspass-pure/src/i18n/pl.json b/packages/lesspass-pure/src/i18n/pl.json index 86d8b79..a3d4bc6 100644 --- a/packages/lesspass-pure/src/i18n/pl.json +++ b/packages/lesspass-pure/src/i18n/pl.json @@ -18,7 +18,6 @@ "Length": "Długość", "LengthDeprecationWarning": "Maksymalna długość hasła wynosi 35 znaków.", "LessPass Database Url": "Link do bazy profili LessPass", - "Login": "Zaloguj sie", "LoginFormInvalid": "Link do bazy LessPass, adres i hasło są wymagane", "LoginIncorrectError": "Podany adres i hasło nie pasują do zapisanych danych. Sprawdź je dokładnie i spróbuj ponownie.", "Master Password": "Hasło główne", @@ -52,6 +51,7 @@ "SiteLoginMasterPasswordMandatory": "Nazwa serwisu, adres i hasło są wymagane.", "SorryCopy": "Niestety, kopiowanie działa tylko w nowszych przeglądarkach", "UpdateYourSearch": "Spróbuj bardziej ogólnego zapytania.", + "Username": "Nazwa Użytkownika", "WelcomeRegister": "Witaj, {email}, dziękujemy za rejestrację.", "resetPasswordSuccess": "Jeśli adres {email} jest skojarzony z kontem LessPass, wkrótce otrzymasz wiadomość od LessPass zawierającą instrukcje resetowania hasła." -} +} \ No newline at end of file diff --git a/packages/lesspass-pure/src/i18n/pt.json b/packages/lesspass-pure/src/i18n/pt.json index 85f0c60..a152cf7 100644 --- a/packages/lesspass-pure/src/i18n/pt.json +++ b/packages/lesspass-pure/src/i18n/pt.json @@ -18,7 +18,6 @@ "Length": "Comprimento", "LengthDeprecationWarning": "O comprimento máximo de uma senha é de 35 caracteres.", "LessPass Database Url": "URL do banco de dados LessPass", - "Login": "Entrar", "LoginFormInvalid": "URL, email, e senha do LessPass são obrigatórios", "LoginIncorrectError": "O email e senha que você digitou não estão de acordo com os nossos registros. Por favor verifique seus dados e tente novamente.", "Master Password": "Senha mestre", @@ -52,6 +51,7 @@ "SiteLoginMasterPasswordMandatory": "Campos de site e credenciais de autenticação são obrigatórios.", "SorryCopy": "Infelizmente a cópia somente funciona em navegadores modernos", "UpdateYourSearch": "Por favor tente ampliar sua busca.", + "Username": "Nome de usuário", "WelcomeRegister": "Bem vindo {email}, obrigado por se registrar.", "resetPasswordSuccess": "Se o seu endereço de email {email} estiver associado com uma conta LessPass, você receberá logo um email do LessPass com instruções de como resetar a sua senha." -} +} \ No newline at end of file diff --git a/packages/lesspass-pure/src/i18n/ru.json b/packages/lesspass-pure/src/i18n/ru.json index a39f6b9..dd6b5d3 100644 --- a/packages/lesspass-pure/src/i18n/ru.json +++ b/packages/lesspass-pure/src/i18n/ru.json @@ -18,7 +18,6 @@ "Length": "Длина", "LengthDeprecationWarning": "Максимальная длина пароля 35 символов.", "LessPass Database Url": "URL-адрес базы данных LessPass", - "Login": "Логин", "LoginFormInvalid": "URL-адрес LessPass, email и пароль являются обязательными", "LoginIncorrectError": "Введенный вами адрес электронной почты и пароль не соответствуют нашим записям. Пожалуйста, проверьте еще раз и попробуйте снова.", "Master Password": "Мастер-пароль", @@ -52,6 +51,7 @@ "SiteLoginMasterPasswordMandatory": "Поля сайта, логина и мастер-пароля являются обязательными.", "SorryCopy": "Извините, копирование работает только в современных браузерах.", "UpdateYourSearch": "Пожалуйста, попробуйте расширить условия поиска.", + "Username": "Имя пользователя", "WelcomeRegister": "Добро пожаловать, {email}. Спасибо за регистрацию!", "resetPasswordSuccess": "Если адрес электронной почты {email} связан с учетной записью LessPass, вы получите электронное письмо от LessPass с инструкциями по восстановлению пароля." -} +} \ No newline at end of file diff --git a/packages/lesspass-pure/src/i18n/zh-CN.json b/packages/lesspass-pure/src/i18n/zh-CN.json index 253f310..9b1901b 100644 --- a/packages/lesspass-pure/src/i18n/zh-CN.json +++ b/packages/lesspass-pure/src/i18n/zh-CN.json @@ -18,7 +18,6 @@ "Length": "长度", "LengthDeprecationWarning": "密码的最大长度是35个字符。", "LessPass Database Url": "LessPass 数据库网址", - "Login": "登录名", "LoginFormInvalid": "LessPass 网址、电子邮件地址以及密码均为必填信息。", "LoginIncorrectError": "我们没找到符合您输入的电子邮件地址及密码的记录。请核验后再试。", "Master Password": "主密码", @@ -52,6 +51,7 @@ "SiteLoginMasterPasswordMandatory": "网站名、登录名以及主密码均为必填信息。", "SorryCopy": "很抱歉,但复制功能仅适用于现代浏览器", "UpdateYourSearch": "请尝试放宽您的搜索条件。", + "Username": "用户名", "WelcomeRegister": "你好 {email},欢迎您的注册。", "resetPasswordSuccess": "如果电子邮件地址 {email} 与一个 LessPass 账户相关联,您将很快收到 LessPass 的电子邮件,里面提供有重置密码的操作说明。" -} +} \ No newline at end of file diff --git a/packages/lesspass-pure/src/i18n/zh-TW.json b/packages/lesspass-pure/src/i18n/zh-TW.json index 2cb13f0..0570e5d 100644 --- a/packages/lesspass-pure/src/i18n/zh-TW.json +++ b/packages/lesspass-pure/src/i18n/zh-TW.json @@ -18,7 +18,6 @@ "Length": "長度", "LengthDeprecationWarning": "密碼的最大長度是 35 個字元。", "LessPass Database Url": "LessPass 資料庫 URL", - "Login": "登入帳號", "LoginFormInvalid": "LessPass URL、郵件位址、登入密碼皆為必填欄位", "LoginIncorrectError": "您輸入的郵件位址或登入密碼有誤。請確認後再試一次。", "Master Password": "主密碼", @@ -52,6 +51,7 @@ "SiteLoginMasterPasswordMandatory": "網站位址、登入帳號、主密碼皆為必填欄位。", "SorryCopy": "很抱歉,複製功能僅適用於現代瀏覽器", "UpdateYourSearch": "請試著放寬您的搜尋條件。", + "Username": "用戶名", "WelcomeRegister": "歡迎 {email},謝謝您的註冊。", "resetPasswordSuccess": "如果郵件位址 {email} 已和 LessPass 帳號連動,您很快能收到 LessPass 的信件,當中提供如何重置密碼的說明。" -} +} \ No newline at end of file diff --git a/packages/lesspass-pure/src/views/PasswordGenerator.vue b/packages/lesspass-pure/src/views/PasswordGenerator.vue index 51ed7f8..8bd54da 100644 --- a/packages/lesspass-pure/src/views/PasswordGenerator.vue +++ b/packages/lesspass-pure/src/views/PasswordGenerator.vue @@ -25,7 +25,7 @@ div.awesomplete > ul {
- +
ul { autocomplete="off" autocorrect="off" autocapitalize="none" - v-bind:placeholder="$t('Login')" + v-bind:placeholder="$t('Username')" v-model="password.login" />
diff --git a/packages/lesspass-pure/src/views/Settings.vue b/packages/lesspass-pure/src/views/Settings.vue index 7bb3ffa..63ddeeb 100644 --- a/packages/lesspass-pure/src/views/Settings.vue +++ b/packages/lesspass-pure/src/views/Settings.vue @@ -3,7 +3,7 @@
{{$t('Options by default')}}
- +