From c00ea7c223ef67069aca6f84c4c69f1f272d3427 Mon Sep 17 00:00:00 2001 From: Guillaume Vincent Date: Mon, 27 Mar 2017 18:08:28 +0200 Subject: [PATCH] add en translation to help reviewer --- dist/i18n/en.json | 44 ++++++++++++++++++++++++++++++++++++++++++++ scripts/buildI18n.js | 2 +- src/i18n/en.json | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 dist/i18n/en.json create mode 100644 src/i18n/en.json diff --git a/dist/i18n/en.json b/dist/i18n/en.json new file mode 100644 index 0000000..b21628c --- /dev/null +++ b/dist/i18n/en.json @@ -0,0 +1,44 @@ +{ + "Advanced options": "Advanced options", + "Copied": "copied !", + "Counter": "Counter", + "CounterFieldHelp": "Increment this value to change generated password without changing your master password.", + "CreatePassword": "Would you like to create one?", + "DBNotRunning": "Your LessPass Database is not running", + "DefaultOptionLocalStorage": "We use local storage to save default options locally. Each time you open the app, those options will be loaded by default.", + "DeleteProfileConfirm": "Are you sure you want to delete this password profile?", + "Email": "Email", + "EmailAlreadyExist": "This email is already registered. Want to login or recover your password?", + "EmailInvalid": "Please enter a valid email", + "EmailRequiredError": "We need en email to find your account.", + "Encrypt my master password": "Encrypt my master password", + "EncryptMasterPassword": "Click me to encrypt this password before sending it to lesspass.com", + "ForgotPassword": "Forgot your password?", + "Generate": "Generate", + "Generating": "Generating", + "Length": "Length", + "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", + "New Password": "New Password", + "NoMatchFor": "Oops! There are no matches for", + "NoPassword": "You don't have any password profile saved in your database.", + "PasswordProfileSuccessfullyDeleted": "Your password profile has been successfully deleted!", + "PasswordResetRequired": "A password is required", + "PasswordResetSuccessful": "Your password was reset successfully.", + "Register": "Register", + "Reset my password": "Reset my password", + "ResetLinkExpired": "This password reset link has expired.", + "Save default options locally": "Save default options locally", + "Sign In": "Sign In", + "Site": "Site", + "SiteLoginMasterPasswordMandatory": "Site, login and master password fields are mandatory.", + "UpdateYourSearch": "Please try broadening your search.", + "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.", + "WelcomeRegister": "Welcome {email}, thank you for signing up.", + "copied": "copied !", + "version": "version", + "versionShortcut": "v" +} \ No newline at end of file diff --git a/scripts/buildI18n.js b/scripts/buildI18n.js index c191b96..dae6ee6 100644 --- a/scripts/buildI18n.js +++ b/scripts/buildI18n.js @@ -18,7 +18,7 @@ walker.on("file", (root, fileStats, next) => { }); const I18N_DIR = '../src/i18n'; -const LANGUAGES_AVAILABLE = ['zh', 'fr', 'es', 'uk', 'de', 'it']; +const LANGUAGES_AVAILABLE = ['zh', 'fr', 'es', 'uk', 'de', 'it', 'en']; walker.on("end", () => { LANGUAGES_AVAILABLE.forEach(lang => { const localeFile = path.join(I18N_DIR, `${lang}.json`); diff --git a/src/i18n/en.json b/src/i18n/en.json new file mode 100644 index 0000000..b21628c --- /dev/null +++ b/src/i18n/en.json @@ -0,0 +1,44 @@ +{ + "Advanced options": "Advanced options", + "Copied": "copied !", + "Counter": "Counter", + "CounterFieldHelp": "Increment this value to change generated password without changing your master password.", + "CreatePassword": "Would you like to create one?", + "DBNotRunning": "Your LessPass Database is not running", + "DefaultOptionLocalStorage": "We use local storage to save default options locally. Each time you open the app, those options will be loaded by default.", + "DeleteProfileConfirm": "Are you sure you want to delete this password profile?", + "Email": "Email", + "EmailAlreadyExist": "This email is already registered. Want to login or recover your password?", + "EmailInvalid": "Please enter a valid email", + "EmailRequiredError": "We need en email to find your account.", + "Encrypt my master password": "Encrypt my master password", + "EncryptMasterPassword": "Click me to encrypt this password before sending it to lesspass.com", + "ForgotPassword": "Forgot your password?", + "Generate": "Generate", + "Generating": "Generating", + "Length": "Length", + "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", + "New Password": "New Password", + "NoMatchFor": "Oops! There are no matches for", + "NoPassword": "You don't have any password profile saved in your database.", + "PasswordProfileSuccessfullyDeleted": "Your password profile has been successfully deleted!", + "PasswordResetRequired": "A password is required", + "PasswordResetSuccessful": "Your password was reset successfully.", + "Register": "Register", + "Reset my password": "Reset my password", + "ResetLinkExpired": "This password reset link has expired.", + "Save default options locally": "Save default options locally", + "Sign In": "Sign In", + "Site": "Site", + "SiteLoginMasterPasswordMandatory": "Site, login and master password fields are mandatory.", + "UpdateYourSearch": "Please try broadening your search.", + "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.", + "WelcomeRegister": "Welcome {email}, thank you for signing up.", + "copied": "copied !", + "version": "version", + "versionShortcut": "v" +} \ No newline at end of file