mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
* french locales: fix typos and improve wording * french locales: more fixes and rewording * fixed typo * fixed typo * added missing translations * fixed alphabetical order * fixed alphabetical order * added missing translations for FR * fixed verify-locale-strings.js * fixed indentation * fixed indentation * updated french locale * updated changelog with changes logs * a few fixes after receiving comments, mostly Caps removing and adding
This commit is contained in:
parent
ebdefe81a1
commit
cd91b45686
@ -3,6 +3,7 @@
|
|||||||
## Current Develop Branch
|
## Current Develop Branch
|
||||||
|
|
||||||
- Update transaction statuses when switching networks.
|
- Update transaction statuses when switching networks.
|
||||||
|
- [#5470](https://github.com/MetaMask/metamask-extension/pull/5470) 100% coverage in French locale, fixed the procedure to verify proposed locale.
|
||||||
|
|
||||||
## 4.12.0 Thursday September 27 2018
|
## 4.12.0 Thursday September 27 2018
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"message": "Accept"
|
"message": "Accept"
|
||||||
},
|
},
|
||||||
"accessingYourCamera": {
|
"accessingYourCamera": {
|
||||||
"message": "Accesing your camera..."
|
"message": "Accessing your camera..."
|
||||||
},
|
},
|
||||||
"account": {
|
"account": {
|
||||||
"message": "Account"
|
"message": "Account"
|
||||||
@ -167,6 +167,21 @@
|
|||||||
"connecting": {
|
"connecting": {
|
||||||
"message": "Connecting..."
|
"message": "Connecting..."
|
||||||
},
|
},
|
||||||
|
"connectingToKovan": {
|
||||||
|
"message": "Connecting to Kovan Test Network"
|
||||||
|
},
|
||||||
|
"connectingToMainnet": {
|
||||||
|
"message": "Connecting to Main Ethereum Network"
|
||||||
|
},
|
||||||
|
"connectingToRopsten": {
|
||||||
|
"message": "Connecting to Ropsten Test Network"
|
||||||
|
},
|
||||||
|
"connectingToRinkeby": {
|
||||||
|
"message": "Connecting to Rinkeby Test Network"
|
||||||
|
},
|
||||||
|
"connectingToUnknown": {
|
||||||
|
"message": "Connecting to Unknown Network"
|
||||||
|
},
|
||||||
"connectToLedger": {
|
"connectToLedger": {
|
||||||
"message": "Connect to Ledger"
|
"message": "Connect to Ledger"
|
||||||
},
|
},
|
||||||
@ -234,6 +249,9 @@
|
|||||||
"currentNetwork": {
|
"currentNetwork": {
|
||||||
"message": "Current Network"
|
"message": "Current Network"
|
||||||
},
|
},
|
||||||
|
"currentRpc": {
|
||||||
|
"message": "Current RPC"
|
||||||
|
},
|
||||||
"customGas": {
|
"customGas": {
|
||||||
"message": "Customize Gas"
|
"message": "Customize Gas"
|
||||||
},
|
},
|
||||||
@ -340,15 +358,6 @@
|
|||||||
"enterPasswordContinue": {
|
"enterPasswordContinue": {
|
||||||
"message": "Enter password to continue"
|
"message": "Enter password to continue"
|
||||||
},
|
},
|
||||||
"parameters": {
|
|
||||||
"message": "Parameters"
|
|
||||||
},
|
|
||||||
"passwordNotLongEnough": {
|
|
||||||
"message": "Password not long enough"
|
|
||||||
},
|
|
||||||
"passwordsDontMatch": {
|
|
||||||
"message": "Passwords Don't Match"
|
|
||||||
},
|
|
||||||
"etherscanView": {
|
"etherscanView": {
|
||||||
"message": "View account on Etherscan"
|
"message": "View account on Etherscan"
|
||||||
},
|
},
|
||||||
@ -504,6 +513,9 @@
|
|||||||
"importUsingSeed": {
|
"importUsingSeed": {
|
||||||
"message": "Import using account seed phrase"
|
"message": "Import using account seed phrase"
|
||||||
},
|
},
|
||||||
|
"info": {
|
||||||
|
"message": "Info"
|
||||||
|
},
|
||||||
"infoHelp": {
|
"infoHelp": {
|
||||||
"message": "Info & Help"
|
"message": "Info & Help"
|
||||||
},
|
},
|
||||||
@ -532,7 +544,7 @@
|
|||||||
"message": "Invalid Request"
|
"message": "Invalid Request"
|
||||||
},
|
},
|
||||||
"invalidRPC": {
|
"invalidRPC": {
|
||||||
"message": "Invalid RPC URI"
|
"message": "Invalid RPC URL"
|
||||||
},
|
},
|
||||||
"invalidSeedPhrase": {
|
"invalidSeedPhrase": {
|
||||||
"message": "Invalid seed phrase"
|
"message": "Invalid seed phrase"
|
||||||
@ -656,6 +668,9 @@
|
|||||||
"newPassword": {
|
"newPassword": {
|
||||||
"message": "New Password (min 8 chars)"
|
"message": "New Password (min 8 chars)"
|
||||||
},
|
},
|
||||||
|
"newPassword8Chars": {
|
||||||
|
"message": "New Password (min 8 chars)"
|
||||||
|
},
|
||||||
"newRecipient": {
|
"newRecipient": {
|
||||||
"message": "New Recipient"
|
"message": "New Recipient"
|
||||||
},
|
},
|
||||||
@ -698,6 +713,13 @@
|
|||||||
"oldUIMessage": {
|
"oldUIMessage": {
|
||||||
"message": "You have returned to the old UI. You can switch back to the New UI through the option in the top right dropdown menu."
|
"message": "You have returned to the old UI. You can switch back to the New UI through the option in the top right dropdown menu."
|
||||||
},
|
},
|
||||||
|
"onlySendToEtherAddress": {
|
||||||
|
"message": "Only send ETH to an Ethereum address."
|
||||||
|
},
|
||||||
|
"onlySendTokensToAccountAddress": {
|
||||||
|
"message": "Only send $1 to an Ethereum account address.",
|
||||||
|
"description": "displays token symbol"
|
||||||
|
},
|
||||||
"openInTab": {
|
"openInTab": {
|
||||||
"message": "Open in tab"
|
"message": "Open in tab"
|
||||||
},
|
},
|
||||||
@ -705,9 +727,24 @@
|
|||||||
"message": "or",
|
"message": "or",
|
||||||
"description": "choice between creating or importing a new account"
|
"description": "choice between creating or importing a new account"
|
||||||
},
|
},
|
||||||
|
"orderOneHere": {
|
||||||
|
"message": "Order a Trezor or Ledger and keep your funds in cold storage"
|
||||||
|
},
|
||||||
"origin": {
|
"origin": {
|
||||||
"message": "Origin"
|
"message": "Origin"
|
||||||
},
|
},
|
||||||
|
"outgoing": {
|
||||||
|
"message": "Outgoing"
|
||||||
|
},
|
||||||
|
"parameters": {
|
||||||
|
"message": "Parameters"
|
||||||
|
},
|
||||||
|
"passwordNotLongEnough": {
|
||||||
|
"message": "Password not long enough"
|
||||||
|
},
|
||||||
|
"passwordsDontMatch": {
|
||||||
|
"message": "Passwords Don't Match"
|
||||||
|
},
|
||||||
"password": {
|
"password": {
|
||||||
"message": "Password"
|
"message": "Password"
|
||||||
},
|
},
|
||||||
@ -865,24 +902,6 @@
|
|||||||
"rpc": {
|
"rpc": {
|
||||||
"message": "Custom RPC"
|
"message": "Custom RPC"
|
||||||
},
|
},
|
||||||
"currentRpc": {
|
|
||||||
"message": "Current RPC"
|
|
||||||
},
|
|
||||||
"connectingToMainnet": {
|
|
||||||
"message": "Connecting to Main Ethereum Network"
|
|
||||||
},
|
|
||||||
"connectingToRopsten": {
|
|
||||||
"message": "Connecting to Ropsten Test Network"
|
|
||||||
},
|
|
||||||
"connectingToKovan": {
|
|
||||||
"message": "Connecting to Kovan Test Network"
|
|
||||||
},
|
|
||||||
"connectingToRinkeby": {
|
|
||||||
"message": "Connecting to Rinkeby Test Network"
|
|
||||||
},
|
|
||||||
"connectingToUnknown": {
|
|
||||||
"message": "Connecting to Unknown Network"
|
|
||||||
},
|
|
||||||
"sampleAccountName": {
|
"sampleAccountName": {
|
||||||
"message": "E.g. My new account",
|
"message": "E.g. My new account",
|
||||||
"description": "Help user understand concept of adding a human-readable name to their account"
|
"description": "Help user understand concept of adding a human-readable name to their account"
|
||||||
@ -890,15 +909,6 @@
|
|||||||
"save": {
|
"save": {
|
||||||
"message": "Save"
|
"message": "Save"
|
||||||
},
|
},
|
||||||
"speedUp": {
|
|
||||||
"message": "speed up"
|
|
||||||
},
|
|
||||||
"speedUpTitle": {
|
|
||||||
"message": "Speed Up Transaction"
|
|
||||||
},
|
|
||||||
"speedUpSubtitle": {
|
|
||||||
"message": "Increase your gas price to attempt to overwrite and speed up your transaction"
|
|
||||||
},
|
|
||||||
"saveAsCsvFile": {
|
"saveAsCsvFile": {
|
||||||
"message": "Save as CSV File"
|
"message": "Save as CSV File"
|
||||||
},
|
},
|
||||||
@ -909,6 +919,12 @@
|
|||||||
"saveSeedAsFile": {
|
"saveSeedAsFile": {
|
||||||
"message": "Save Seed Words As File"
|
"message": "Save Seed Words As File"
|
||||||
},
|
},
|
||||||
|
"scanInstructions": {
|
||||||
|
"message": "Place the QR code in front of your camera"
|
||||||
|
},
|
||||||
|
"scanQrCode": {
|
||||||
|
"message": "Scan QR Code"
|
||||||
|
},
|
||||||
"search": {
|
"search": {
|
||||||
"message": "Search"
|
"message": "Search"
|
||||||
},
|
},
|
||||||
@ -918,15 +934,6 @@
|
|||||||
"secretPhrase": {
|
"secretPhrase": {
|
||||||
"message": "Enter your secret twelve word phrase here to restore your vault."
|
"message": "Enter your secret twelve word phrase here to restore your vault."
|
||||||
},
|
},
|
||||||
"showHexData": {
|
|
||||||
"message": "Show Hex Data"
|
|
||||||
},
|
|
||||||
"showHexDataDescription": {
|
|
||||||
"message": "Select this to show the hex data field on the send screen"
|
|
||||||
},
|
|
||||||
"newPassword8Chars": {
|
|
||||||
"message": "New Password (min 8 chars)"
|
|
||||||
},
|
|
||||||
"seedPhraseReq": {
|
"seedPhraseReq": {
|
||||||
"message": "Seed phrases are 12 words long"
|
"message": "Seed phrases are 12 words long"
|
||||||
},
|
},
|
||||||
@ -963,19 +970,6 @@
|
|||||||
"separateEachWord": {
|
"separateEachWord": {
|
||||||
"message": "Separate each word with a single space"
|
"message": "Separate each word with a single space"
|
||||||
},
|
},
|
||||||
"onlySendToEtherAddress": {
|
|
||||||
"message": "Only send ETH to an Ethereum address."
|
|
||||||
},
|
|
||||||
"onlySendTokensToAccountAddress": {
|
|
||||||
"message": "Only send $1 to an Ethereum account address.",
|
|
||||||
"description": "displays token symbol"
|
|
||||||
},
|
|
||||||
"orderOneHere": {
|
|
||||||
"message": "Order a Trezor or Ledger and keep your funds in cold storage"
|
|
||||||
},
|
|
||||||
"outgoing": {
|
|
||||||
"message": "Outgoing"
|
|
||||||
},
|
|
||||||
"searchTokens": {
|
"searchTokens": {
|
||||||
"message": "Search Tokens"
|
"message": "Search Tokens"
|
||||||
},
|
},
|
||||||
@ -1000,33 +994,6 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"message": "Settings"
|
"message": "Settings"
|
||||||
},
|
},
|
||||||
"step1HardwareWallet": {
|
|
||||||
"message": "1. Connect Hardware Wallet"
|
|
||||||
},
|
|
||||||
"step1HardwareWalletMsg": {
|
|
||||||
"message": "Connect your hardware wallet directly to your computer."
|
|
||||||
},
|
|
||||||
"step2HardwareWallet": {
|
|
||||||
"message": "2. Select an Account"
|
|
||||||
},
|
|
||||||
"step2HardwareWalletMsg": {
|
|
||||||
"message": "Select the account you want to view. You can only choose one at a time."
|
|
||||||
},
|
|
||||||
"step3HardwareWallet": {
|
|
||||||
"message": "3. Start using dApps and more!"
|
|
||||||
},
|
|
||||||
"step3HardwareWalletMsg": {
|
|
||||||
"message": "Use your hardware account like you would with any Ethereum account. Log in to dApps, send Eth, buy and store ERC20 tokens and Non-Fungible tokens like CryptoKitties."
|
|
||||||
},
|
|
||||||
"info": {
|
|
||||||
"message": "Info"
|
|
||||||
},
|
|
||||||
"scanInstructions": {
|
|
||||||
"message": "Place the QR code in front of your camera"
|
|
||||||
},
|
|
||||||
"scanQrCode": {
|
|
||||||
"message": "Scan QR Code"
|
|
||||||
},
|
|
||||||
"shapeshiftBuy": {
|
"shapeshiftBuy": {
|
||||||
"message": "Buy with Shapeshift"
|
"message": "Buy with Shapeshift"
|
||||||
},
|
},
|
||||||
@ -1036,6 +1003,12 @@
|
|||||||
"showQRCode": {
|
"showQRCode": {
|
||||||
"message": "Show QR Code"
|
"message": "Show QR Code"
|
||||||
},
|
},
|
||||||
|
"showHexData": {
|
||||||
|
"message": "Show Hex Data"
|
||||||
|
},
|
||||||
|
"showHexDataDescription": {
|
||||||
|
"message": "Select this to show the hex data field on the send screen"
|
||||||
|
},
|
||||||
"sign": {
|
"sign": {
|
||||||
"message": "Sign"
|
"message": "Sign"
|
||||||
},
|
},
|
||||||
@ -1060,6 +1033,15 @@
|
|||||||
"spaceBetween": {
|
"spaceBetween": {
|
||||||
"message": "there can only be a space between words"
|
"message": "there can only be a space between words"
|
||||||
},
|
},
|
||||||
|
"speedUp": {
|
||||||
|
"message": "speed up"
|
||||||
|
},
|
||||||
|
"speedUpTitle": {
|
||||||
|
"message": "Speed Up Transaction"
|
||||||
|
},
|
||||||
|
"speedUpSubtitle": {
|
||||||
|
"message": "Increase your gas price to attempt to overwrite and speed up your transaction"
|
||||||
|
},
|
||||||
"status": {
|
"status": {
|
||||||
"message": "Status"
|
"message": "Status"
|
||||||
},
|
},
|
||||||
@ -1072,6 +1054,24 @@
|
|||||||
"stateLogError": {
|
"stateLogError": {
|
||||||
"message": "Error in retrieving state logs."
|
"message": "Error in retrieving state logs."
|
||||||
},
|
},
|
||||||
|
"step1HardwareWallet": {
|
||||||
|
"message": "1. Connect Hardware Wallet"
|
||||||
|
},
|
||||||
|
"step1HardwareWalletMsg": {
|
||||||
|
"message": "Connect your hardware wallet directly to your computer."
|
||||||
|
},
|
||||||
|
"step2HardwareWallet": {
|
||||||
|
"message": "2. Select an Account"
|
||||||
|
},
|
||||||
|
"step2HardwareWalletMsg": {
|
||||||
|
"message": "Select the account you want to view. You can only choose one at a time."
|
||||||
|
},
|
||||||
|
"step3HardwareWallet": {
|
||||||
|
"message": "3. Start using dApps and more!"
|
||||||
|
},
|
||||||
|
"step3HardwareWalletMsg": {
|
||||||
|
"message": "Use your hardware account like you would with any Ethereum account. Log in to dApps, send Eth, buy and store ERC20 tokens and Non-Fungible tokens like CryptoKitties."
|
||||||
|
},
|
||||||
"submit": {
|
"submit": {
|
||||||
"message": "Submit"
|
"message": "Submit"
|
||||||
},
|
},
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -20,7 +20,7 @@ const specifiedLocale = process.argv[2]
|
|||||||
if (specifiedLocale) {
|
if (specifiedLocale) {
|
||||||
console.log(`Verifying selected locale "${specifiedLocale}":\n\n`)
|
console.log(`Verifying selected locale "${specifiedLocale}":\n\n`)
|
||||||
const locale = localeIndex.find(localeMeta => localeMeta.code === specifiedLocale)
|
const locale = localeIndex.find(localeMeta => localeMeta.code === specifiedLocale)
|
||||||
verifyLocale({ locale })
|
verifyLocale(locale)
|
||||||
} else {
|
} else {
|
||||||
console.log('Verifying all locales:\n\n')
|
console.log('Verifying all locales:\n\n')
|
||||||
localeIndex.forEach(localeMeta => {
|
localeIndex.forEach(localeMeta => {
|
||||||
@ -30,11 +30,10 @@ if (specifiedLocale) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function verifyLocale ({ localeMeta }) {
|
function verifyLocale (localeMeta) {
|
||||||
const localeCode = localeMeta.code
|
const localeCode = localeMeta.code
|
||||||
const localeName = localeMeta.name
|
const localeName = localeMeta.name
|
||||||
let targetLocale, englishLocale
|
let targetLocale, englishLocale
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const localeFilePath = path.join(process.cwd(), 'app', '_locales', localeCode, 'messages.json')
|
const localeFilePath = path.join(process.cwd(), 'app', '_locales', localeCode, 'messages.json')
|
||||||
targetLocale = JSON.parse(fs.readFileSync(localeFilePath, 'utf8'))
|
targetLocale = JSON.parse(fs.readFileSync(localeFilePath, 'utf8'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user