Browse Source

Merge pull request #1651 from gre/first-6-langs

Add incoming langs in all languages
gre-patch-1
Thibaut 6 years ago
committed by GitHub
parent
commit
73715be6a6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/config/languages.js
  2. 7
      static/i18n/en/app.json
  3. 161
      static/i18n/fr/errors.json
  4. 5
      static/i18n/fr/language.json
  5. 204
      static/i18n/fr/onboarding.json

2
src/config/languages.js

@ -1,7 +1,7 @@
// @flow
import { LEDGER_DEBUG_ALL_LANGS } from 'config/constants'
const allLanguages = ['en', 'fr']
const allLanguages = ['en', 'es', 'fr', 'ja', 'ko', 'ru', 'zh']
const prodStableLanguages = ['en']
const languages = LEDGER_DEBUG_ALL_LANGS ? allLanguages : prodStableLanguages
export default languages

7
static/i18n/en/app.json

@ -481,7 +481,12 @@
"language": {
"system": "Use system language",
"en": "English",
"fr": "French"
"fr": "French",
"es": "Spanish",
"ko": "Korean",
"zh": "Simplified Chinese",
"ja": "Japanese",
"ru": "Russian"
},
"onboarding": {
"breadcrumb": {

161
static/i18n/fr/errors.json

@ -1,161 +0,0 @@
{
"generic": {
"title": "{{message}}",
"description": "Something went wrong. Please retry or contact us."
},
"AccountNameRequired": {
"title": "An account name is required",
"description": "Please provide with an account name"
},
"BtcUnmatchedApp": {
"title": "That's the wrong app",
"description": "Open the ‘{{managerAppName}}’ app on your device"
},
"DeviceNotGenuine": {
"title": "Possibly not genuine",
"description": "Request Ledger Support assistance."
},
"DeviceGenuineSocketEarlyClose": {
"title": "Sorry, try again (genuine-close)",
"description": null
},
"DeviceSocketFail": {
"title": "Oops, try again",
"description": "Some connection failed, so please try again."
},
"DeviceSocketNoBulkStatus": {
"title": "Oops, try again",
"description": "Some connection failed, so please try again."
},
"DeviceSocketNoHandler": {
"title": "Oops, try again",
"description": "Some connection failed, so please try again."
},
"DisconnectedDevice": {
"title": "Oops, device was disconnected",
"description": "The connection to the device was lost, so please try again."
},
"EnpointConfig": {
"title": "Invalid endpoint",
"description": "Please provide a valid endpoint"
},
"FeeEstimationFailed": {
"title": "Sorry, fee estimation failed",
"description": "Try setting a custom fee (status: {{status}})"
},
"HardResetFail": {
"title": "Oops, could not reset",
"description": "Please retry or contact Ledger Support."
},
"LatestMCUInstalledError": {
"title": "Oops, nothing to update",
"description": "Needlessly tried to update the device microcontroller. Contact Ledger Support if there's a problem with your device."
},
"LedgerAPIError": {
"title": "Sorry, try again (API HTTP {{status}})",
"description": "Interacting with Ledger's API server went wrong. Please retry."
},
"LedgerAPIErrorWithMessage": {
"title": "Oops, {{message}}",
"description": "Please retry or contact Ledger Support."
},
"LedgerAPINotAvailable": {
"title": "Sorry, {{currencyName}} services unavailable",
"description": "Please retry or contact Ledger Support."
},
"ManagerAPIsFail": {
"title": "Oops, Manager services unavailable.",
"description": "Please check the network status."
},
"ManagerAppAlreadyInstalled": {
"title": "Oops, that's already installed.",
"description": "Check your device to see which apps are already installed."
},
"ManagerAppRelyOnBTC": {
"title": "Bitcoin app required",
"description": "Install the latest version of the Bitcoin app before installing this app."
},
"ManagerDeviceLocked": {
"title": "Please unlock your device",
"description": "Your device was locked. Please unlock it."
},
"ManagerNotEnoughSpace": {
"title": "Sorry, insufficient device storage",
"description": "Uninstall some apps to increase available storage and try again."
},
"ManagerUninstallBTCDep": {
"title": "Sorry, Bitcoin is required",
"description": "First uninstall apps that depend on Bitcoin."
},
"NetworkDown": {
"title": "Oops, internet seems down",
"description": "Please check your internet connection."
},
"NoAddressesFound": {
"title": "Sorry, no accounts found",
"description": "Something went wrong with address calculation, try again or contact Ledger Support."
},
"NotEnoughBalance": {
"title": "Oops, insufficient balance",
"description": "Make sure the account to debit has sufficient balance"
},
"PasswordsDontMatch": {
"title": "Passwords don't match",
"description": "Please try again"
},
"PasswordIncorrect": {
"title": "The password you entered is incorrect",
"description": "Please try again"
},
"SelectExchangesLoadError": {
"title": "Unable to load",
"description": "Can't load the exchanges"
},
"TimeoutError": {
"title": "Oops, a time out occurred",
"description": "It took too long for the server to respond."
},
"TransportError": {
"title": "Something went wrong. Please reconnect your device.",
"description": "{{message}}"
},
"TransportStatusError": {
"title": "Something went wrong. Please reconnect your device.",
"description": "{{message}}"
},
"UserRefusedFirmwareUpdate": {
"title": "Firmware update refused on device",
"description": "Please retry or contact Ledger Support"
},
"UserRefusedOnDevice": {
"title": "Transaction refused on device",
"description": "Please retry or contact Ledger Support in case of doubt."
},
"UserRefusedAddress": {
"title": "Receive address rejected",
"description": "Please try again or contact Ledger Support"
},
"WebsocketConnectionError": {
"title": "Sorry, try again (websocket error).",
"description": null
},
"WebsocketConnectionFailed": {
"title": "Sorry, try again (websocket failed).",
"description": null
},
"WrongDeviceForAccount": {
"title": "Oops, wrong device for ‘{{accountName}}’.",
"description": "The connected device is not associated with the account you selected. Please connect the right device."
},
"DeviceAppVerifyNotSupported": {
"title": "Open Manager to update this App",
"description": "The app verification is not supported"
},
"InvalidAddress": {
"title": "This is not a valid {{currencyName}} address"
},
"CantOpenDevice": {
"title": "Oops, couldn’t connect to device",
"description": "Device detected but connection failed. Please retry and get help if the problem persists."
}
}

5
static/i18n/fr/language.json

@ -1,5 +0,0 @@
{
"system": "Use system language",
"en": "English",
"fr": "French"
}

204
static/i18n/fr/onboarding.json

@ -1,204 +0,0 @@
{
"breadcrumb": {
"selectDevice": "Device selection",
"selectPIN": "PIN code",
"writeSeed": "Recovery phrase",
"setPassword": "Password lock",
"analytics": "Bugs & analytics"
},
"start": {
"title": "Welcome to Ledger Live",
"startBtn": "Get started"
},
"init": {
"title": "Get started with your Ledger device",
"newDevice": {
"title": "Initialize a new Ledger device"
},
"restoreDevice": {
"title": "Restore a Ledger device"
},
"initializedDevice": {
"title": "Use a device that's already initialized"
}
},
"noDevice": {
"title": "Do not have a Ledger device yet?",
"buyNew": {
"title": "Buy a Ledger device"
},
"trackOrder": {
"title": "Track your order"
},
"learnMore": {
"title": "Learn about Ledger"
}
},
"selectDevice": {
"title": "Select your device",
"ledgerNanoCard": {
"title": "Ledger Nano S"
},
"ledgerBlueCard": {
"title": "Ledger Blue"
}
},
"selectPIN": {
"disclaimer": {
"note1": "Choose your own PIN code, this code will unlock your device.",
"note2": "An 8-digit PIN code offers an optimum level of security.",
"note3": "Never use a device supplied with a PIN code or a 24-word recovery phrase."
},
"initialize": {
"title": "Choose your PIN code",
"instructions": {
"nano": {
"step1": "Connect the Ledger Nano S to your computer.",
"step2": "Press both buttons simultaneously as instructed on the screen.",
"step3": "Press the right button to select <1><0>Configure as new device?</0></1>",
"step4": "Choose a PIN code between 4 and 8 digits long, followed by the checkmark (✓)."
},
"blue": {
"step1": "Connect the Ledger Blue to your computer.",
"step2": "Tap on <1><0>Configure as new device.</0></1>",
"step3": "Choose a PIN code between 4 and 8 digits long."
}
}
},
"restore": {
"title": "Choose your PIN code",
"instructions": {
"nano": {
"step1": "Connect the Ledger Nano S to your computer.",
"step2": "Press both buttons simultaneously as instructed on the screen.",
"step3": "Press the left button to cancel <1><0>Initialize as new device?</0></1>. Then press the right button to select <3><0>Restore configuration?</0></3>",
"step4": "Choose a PIN code between 4 and 8 digits long, followed by the checkmark (✓)."
},
"blue": {
"step1": "Connect the Ledger Blue to your computer.",
"step2": "Tap on <1><0>Restore configuration</0></1>.",
"step3": "Choose a PIN code between 4 and 8 digits long."
}
}
}
},
"writeSeed": {
"initialize": {
"title": "Save your recovery phrase",
"desc": "Your device will generate a 24-word recovery phrase to back up your private keys",
"nano": {
"step1": "Copy the word displayed below <1><0>Word #1</0></1> in position 1 on a blank Recovery sheet.",
"step2": "Press the right button to display <1><0>Word #2</0></1> and repeat the process until all 24 words are copied on the Recovery sheet.",
"step3": "Confirm your recovery phrase: select each requested word and press both buttons to validate it."
},
"blue": {
"step1": "Copy each word of the recovery phrase on a blank Recovery sheet. Copy the words in the same order.",
"step2": "Tap <1><0>Next</0></1> to move to the next words. Repeat the process until the <3><0>Confirmation</0></3> screen appears.",
"step3": "Type each requested word to confirm your recovery phrase."
}
},
"restore": {
"title": "Enter your recovery phrase",
"desc": "Copy the 24-word recovery phrase from your Recovery sheet on your device.",
"nano": {
"step1": "Select the length of your recovery phrase. Press both buttons to continue.",
"step2": "Select the first letters of <1><0>Word #1</0></1> by pressing the right or left button. Press both buttons to confirm each letter.",
"step3": "Select <1><0>Word #1</0></1> from the suggested words. Press both buttons to continue.",
"step4": "Repeat the process until the last word."
},
"blue": {
"step1": "Select the length of your recovery phrase.",
"step2": "Type the first word of your recovery phrase. Select the word when it appears.",
"step3": "Repeat the process until the last word."
}
},
"disclaimer": {
"note1": "Carefully secure your 24-word recovery phrase out of sight.",
"note2": "Make sure you are the sole holder of your recovery phrase.",
"note3": "Ledger does not keep any backup of your recovery phrase.",
"note4": "Never use a device supplied with a recovery phrase or a PIN code."
}
},
"genuineCheck": {
"title": "Security checklist",
"descGeneric": "Before continuing, please complete the security checklist",
"descRestore": "Before getting started, please confirm",
"step1": {
"title": "Did you choose your PIN code by yourself?"
},
"step2": {
"title": "Did you save your recovery phrase by yourself?"
},
"step3": {
"title": "Is your Ledger device genuine?"
},
"isGenuinePassed": "Your device is genuine",
"buttons": {
"genuineCheck": "Check now",
"contactSupport": "Contact us"
},
"errorPage": {
"title": {
"pinFailed": "Didn't choose your own PIN code?",
"recoveryPhraseFailed": "Didn't save your own recovery phrase?",
"isGenuineFail": "Oops, your device does not seem genuine..."
},
"desc": {
"pinFailed": "Never use a device supplied with a PIN code. If your device was provided with a PIN code, please contact us.",
"recoveryPhraseFailed": "Only save a recovery phrase that is displayed on your device. Please contact us in case of doubt. Otherwise, go back to the security checklist.",
"isGenuineFail": "Your device did not pass the authenticity test required to connect to Ledger’s secure server. Please contact Ledger Support to get assistance."
}
}
},
"setPassword": {
"title": "Password lock (optional)",
"desc": "Set a password to prevent unauthorized access to Ledger Live data stored on your computer, including account names, balances, transactions and public addresses.",
"disclaimer": {
"note1": "Make sure to remember your password. Do not share it.",
"note2": "Losing your password requires resetting Ledger Live and re-adding accounts.",
"note3": "Resetting Ledger Live does not affect your crypto assets."
}
},
"analytics": {
"title": "Analytics and bug reports",
"desc": "Share anonymous usage and diagnostics data to help improve Ledger products, services and security features.",
"shareAnalytics": {
"title": "Share analytics",
"desc": "Enable analytics to help Ledger understand how to improve the user experience.",
"mandatoryContextual": {
"item1": "In-app page visits",
"item2": "Actions (send, receive, lock)",
"item3": "Clicks",
"item4": "Redirections to webpages",
"item5": "Scrolled to end of page",
"item6": "Install/Uninstall",
"item7": "Number of accounts, currencies and operations",
"item8": "Overall and page session duration",
"item9": "Type of Ledger device",
"item10": "Device firmware and app version numbers"
}
},
"sentryLogs": {
"title": "Report bugs",
"desc": "Automatically send reports to help Ledger fix bugs."
},
"technicalData": {
"title": "Technical data *",
"desc": "Ledger will automatically collect technical information to get basic feedback on usage. This information is anonymous and does not contain personal data.",
"mandatoryText": "* mandatory",
"mandatoryContextual": {
"title": "Technical data",
"item1": "Anonymous unique application ID",
"item2": "OS name and version",
"item3": "Ledger Live version",
"item4": "Application language or region",
"item5": "OS language or region"
}
}
},
"finish": {
"title": "Your device is ready!",
"desc": "Proceed to your portfolio and start adding your accounts...",
"openAppButton": "Open Ledger Live"
}
}
Loading…
Cancel
Save