mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
FIX: more locale strings
This commit is contained in:
parent
c3c76d7b39
commit
590b802afb
27 changed files with 67 additions and 7 deletions
|
@ -25,6 +25,9 @@
|
|||
latest_transaction: 'laaste transaksie',
|
||||
empty_txs1: 'U transaksies is hier beskikbaar,',
|
||||
empty_txs2: 'huidiglik geen transaksies',
|
||||
empty_txs1_lightning:
|
||||
'Lightning wallet should be used for your daily transactions. Fees are unfairly cheap and speed is blazing fast.',
|
||||
empty_txs2_lightning: '\nTo start using it tap on "manage funds" and topup your balance.',
|
||||
tap_here_to_buy: 'Raak hier om Bitcoin te koop',
|
||||
},
|
||||
reorder: {
|
||||
|
@ -50,6 +53,7 @@
|
|||
details: {
|
||||
title: 'Beursiet',
|
||||
address: 'AdresAddress',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Tipe',
|
||||
label: 'Etiket',
|
||||
destination: 'bestemming',
|
||||
|
@ -165,6 +169,7 @@
|
|||
create: 'Skep',
|
||||
setAmount: 'Bedrag ontvang',
|
||||
},
|
||||
scan_lnurl: 'Scan to receive',
|
||||
},
|
||||
buyBitcoin: {
|
||||
header: 'Koop Bitcoin',
|
||||
|
@ -186,10 +191,14 @@
|
|||
'Om u eie LND node te konnekteer, installeer asseblief LndHub' +
|
||||
' and put its URL here in settings. Leave blank om die standaard LndHub' +
|
||||
'(lndhub.io) te gebruik',
|
||||
electrum_settings: 'Electrum Settings',
|
||||
electrum_settings_explain: 'Set to blank to use default',
|
||||
save: 'stoor',
|
||||
about: 'info',
|
||||
language: 'Taal',
|
||||
currency: 'Geldeenheid',
|
||||
advanced_options: 'Advanced Options',
|
||||
enable_advanced_mode: 'Enable advanced mode',
|
||||
},
|
||||
plausibledeniability: {
|
||||
title: 'Geloofwaardige Ontkenbaarheid',
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
latest_transaction: 'Utshintsho olutsha',
|
||||
empty_txs1: 'Intengiso yakho iya kubonakala apha,',
|
||||
empty_txs2: 'akuho nanye okwangoku',
|
||||
empty_txs1_lightning:
|
||||
'Lightning wallet should be used for your daily transactions. Fees are unfairly cheap and speed is blazing fast.',
|
||||
empty_txs2_lightning: '\nTo start using it tap on "manage funds" and topup your balance.',
|
||||
tap_here_to_buy: 'Cofa apha ukuthenga ibitcoin',
|
||||
},
|
||||
reorder: {
|
||||
|
@ -48,6 +51,7 @@
|
|||
details: {
|
||||
title: 'Ingxowa',
|
||||
address: 'Ikheli',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Uhlobo',
|
||||
label: 'Igama',
|
||||
destination: 'ukuya kuyo',
|
||||
|
@ -163,6 +167,7 @@
|
|||
create: 'Yenza',
|
||||
setAmount: 'Fumana ngexabiso',
|
||||
},
|
||||
scan_lnurl: 'Scan to receive',
|
||||
},
|
||||
buyBitcoin: {
|
||||
header: 'Thenga Ibitcoin',
|
||||
|
@ -183,10 +188,14 @@
|
|||
lightning_settings_explain:
|
||||
'Ukuxhuma kwi-node yakho ye-LND nceda ufake iLndHub' +
|
||||
' kwaye ufake iURL apha izicwangciso. Shiya kungenanto yokusebenzisa iLndHub (Indhub.io)',
|
||||
electrum_settings: 'Electrum Settings',
|
||||
electrum_settings_explain: 'Set to blank to use default',
|
||||
save: 'ndoloza',
|
||||
about: 'Malunga',
|
||||
language: 'Ulwimi',
|
||||
currency: 'Lwemali',
|
||||
advanced_options: 'Advanced Options',
|
||||
enable_advanced_mode: 'Enable advanced mode',
|
||||
},
|
||||
plausibledeniability: {
|
||||
title: 'Ukuphika',
|
||||
|
|
|
@ -50,6 +50,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Peněženka',
|
||||
address: 'Adresa',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Typ',
|
||||
label: 'Popisek',
|
||||
destination: 'cíl',
|
||||
|
|
|
@ -50,6 +50,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Wallet',
|
||||
address: 'Adresse',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Type',
|
||||
label: 'Etiket',
|
||||
destination: 'destination',
|
||||
|
@ -223,6 +224,8 @@ module.exports = {
|
|||
refill_lnd_balance: 'Genopfyld Lightning wallet',
|
||||
refill: 'Genopfyld',
|
||||
withdraw: 'Træk coins tilbage',
|
||||
expired: 'Expired',
|
||||
sameWalletAsInvoiceError: 'You can not pay an invoice with the same wallet used to create it.',
|
||||
},
|
||||
pleasebackup: {
|
||||
title: 'Your wallet is created...',
|
||||
|
|
|
@ -52,6 +52,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Wallet',
|
||||
address: 'Adresse',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Typ',
|
||||
label: 'Bezeichnung',
|
||||
destination: 'Zieladresse',
|
||||
|
@ -225,6 +226,7 @@ module.exports = {
|
|||
refill_lnd_balance: 'Lade deine Lightning Wallet auf',
|
||||
refill: 'Aufladen',
|
||||
withdraw: 'Abheben',
|
||||
expired: 'Expired',
|
||||
placeholder: 'Invoice',
|
||||
sameWalletAsInvoiceError:
|
||||
'Du kannst nicht die Rechnung mit der Wallet begleichen, die du für die Erstellung dieser Rechnung verwendet hast.',
|
||||
|
|
|
@ -53,6 +53,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Πορτοφόλι',
|
||||
address: 'Διεύθυνση',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Τύπος',
|
||||
label: 'Ετικέτα',
|
||||
destination: 'προορισμός',
|
||||
|
|
|
@ -51,6 +51,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Detalles de la billetera',
|
||||
address: 'Dirección',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Tipo',
|
||||
label: 'Etiqueta',
|
||||
delete: 'Eliminar',
|
||||
|
|
|
@ -53,6 +53,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Lompakko',
|
||||
address: 'Osoite',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Tyyppi',
|
||||
label: 'Etiketti',
|
||||
destination: 'määränpää',
|
||||
|
|
|
@ -52,6 +52,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Portefeuille',
|
||||
address: 'Adresse',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Type',
|
||||
label: 'Libelé',
|
||||
destination: 'destination',
|
||||
|
|
|
@ -10,6 +10,8 @@ module.exports = {
|
|||
wallets: {
|
||||
select_wallet: 'Odaberi volet',
|
||||
options: 'opcije',
|
||||
createBitcoinWallet:
|
||||
'You currently do not have a Bitcoin wallet. In order to fund a Lightning wallet, a Bitcoin wallet needs to be created or imported. Would you like to continue anyway?',
|
||||
list: {
|
||||
app_name: 'BlueWallet',
|
||||
title: 'Voleti',
|
||||
|
@ -48,6 +50,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Volet',
|
||||
address: 'Adresa',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Tip',
|
||||
label: 'Oznaka',
|
||||
destination: 'odredište',
|
||||
|
|
|
@ -51,8 +51,10 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Tárca',
|
||||
address: 'Cím',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Típus',
|
||||
label: 'Cimke',
|
||||
destination: 'destination',
|
||||
description: 'leírás',
|
||||
are_you_sure: 'Biztos vagy benne?',
|
||||
yes_delete: 'Igen, töröld',
|
||||
|
@ -187,6 +189,8 @@ module.exports = {
|
|||
'Saját LND-csomóponthoz való csatlakozáshoz telepítsd az LndHub-ot' +
|
||||
' és írd be az URL-ét alul. Hagyd üresen, ha a BlueWallet saját LNDHub-jához (lndhub.io) szeretnél csatlakozni.' +
|
||||
' A beállítások mentése után, minden újonnan létrehozott tárca a megadott LDNHubot fogja használni.',
|
||||
electrum_settings: 'Electrum Settings',
|
||||
electrum_settings_explain: 'Set to blank to use default',
|
||||
save: 'Ment',
|
||||
about: 'Egyéb',
|
||||
language: 'Nyelv',
|
||||
|
|
|
@ -51,6 +51,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Dompet',
|
||||
address: 'Alamat',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Tipe',
|
||||
label: 'Label',
|
||||
destination: 'tujuan',
|
||||
|
|
|
@ -53,6 +53,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Portafoglio',
|
||||
address: 'Indirizzo',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Tipo',
|
||||
label: 'Etichetta',
|
||||
destination: 'Destinazione',
|
||||
|
|
|
@ -50,6 +50,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'ウォレット',
|
||||
address: 'アドレス',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'タイプ',
|
||||
label: 'ラベル',
|
||||
destination: '送り先',
|
||||
|
|
|
@ -51,6 +51,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Lommebok',
|
||||
address: 'Adresse',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Type',
|
||||
label: 'Merkelapp',
|
||||
destination: 'mål',
|
||||
|
|
|
@ -51,6 +51,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Portemonnee',
|
||||
address: 'Adres',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Type',
|
||||
label: 'Label',
|
||||
destination: 'bestemming',
|
||||
|
|
|
@ -53,6 +53,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Carteira',
|
||||
address: 'Endereço',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Tipo',
|
||||
destination: 'destino',
|
||||
description: 'descrição',
|
||||
|
|
|
@ -51,6 +51,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'wallet',
|
||||
address: 'Endereço',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Tipo',
|
||||
delete: 'Eliminar',
|
||||
save: 'Guardar',
|
||||
|
|
|
@ -51,6 +51,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Информация о кошельке',
|
||||
address: 'Адрес',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Тип',
|
||||
label: 'Метка',
|
||||
delete: 'Удалить',
|
||||
|
|
|
@ -51,8 +51,10 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Plånbok',
|
||||
address: 'Adress',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Typ',
|
||||
label: 'Etikett',
|
||||
destination: 'destination',
|
||||
description: 'beskrivning',
|
||||
are_you_sure: 'Är du säker?',
|
||||
yes_delete: 'Ja, ta bort',
|
||||
|
|
|
@ -50,6 +50,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'กระเป๋าสตางค์',
|
||||
address: 'แอดเดรส',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'ชนิด',
|
||||
label: 'ป้าย',
|
||||
destination: 'เป้าหมาย',
|
||||
|
|
|
@ -51,6 +51,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Cüzdan',
|
||||
address: 'Adres',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Tip',
|
||||
label: 'Etiket',
|
||||
destination: 'hedef',
|
||||
|
|
|
@ -51,6 +51,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Інформація про Гаманець',
|
||||
address: 'Адреса',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Тип',
|
||||
delete: 'Delete',
|
||||
save: 'Save',
|
||||
|
|
|
@ -51,6 +51,7 @@ module.exports = {
|
|||
details: {
|
||||
title: 'Wallet',
|
||||
address: 'Address',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: 'Type',
|
||||
label: 'Label',
|
||||
destination: 'destination',
|
||||
|
|
|
@ -49,6 +49,7 @@ module.exports = {
|
|||
details: {
|
||||
title: '钱包',
|
||||
address: '地址',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: '类型',
|
||||
label: '标签',
|
||||
destination: '目的',
|
||||
|
@ -219,6 +220,7 @@ module.exports = {
|
|||
withdraw: '提取',
|
||||
expired: '超时',
|
||||
sameWalletAsInvoiceError: '你不能用创建账单的钱包去支付该账单',
|
||||
placeholder: 'Invoice',
|
||||
},
|
||||
pleasebackup: {
|
||||
title: 'Your wallet is created...',
|
||||
|
|
|
@ -49,6 +49,7 @@ module.exports = {
|
|||
details: {
|
||||
title: '錢包',
|
||||
address: '地址',
|
||||
master_fingerprint: 'Master fingerprint',
|
||||
type: '類型',
|
||||
label: '標籤',
|
||||
destination: '目的',
|
||||
|
@ -163,6 +164,7 @@ module.exports = {
|
|||
create: '建立',
|
||||
setAmount: '收款金額',
|
||||
},
|
||||
scan_lnurl: 'Scan to receive',
|
||||
},
|
||||
buyBitcoin: {
|
||||
header: '購買比特幣',
|
||||
|
@ -181,6 +183,8 @@ module.exports = {
|
|||
encrypt_storage: '加密儲存',
|
||||
lightning_settings: '閃電網路設定',
|
||||
lightning_settings_explain: '如要要連線你自己的閃電節點請安裝LndHub' + ' 並把url地址輸入到下面. 空白將使用預設的LndHub (lndhub.io)',
|
||||
electrum_settings: 'Electrum Settings',
|
||||
electrum_settings_explain: 'Set to blank to use default',
|
||||
save: '儲存',
|
||||
about: '關於',
|
||||
language: '語言',
|
||||
|
@ -215,6 +219,7 @@ module.exports = {
|
|||
refill: '充值',
|
||||
withdraw: '提取',
|
||||
expired: '超時',
|
||||
placeholder: 'Invoice',
|
||||
sameWalletAsInvoiceError: '你不能用建立賬單的錢包去支付該賬單',
|
||||
},
|
||||
pleasebackup: {
|
||||
|
|
|
@ -1,24 +1,28 @@
|
|||
/* global it, describe */
|
||||
let assert = require('assert');
|
||||
const fs = require('fs');
|
||||
|
||||
describe('Localization', () => {
|
||||
it('has all keys in all locales', async () => {
|
||||
let en = require('../../loc/en');
|
||||
let noErrors = true;
|
||||
let issues = 0;
|
||||
for (let key1 of Object.keys(en)) {
|
||||
for (let key2 of Object.keys(en[key1])) {
|
||||
// iterating all keys and subkeys in EN locale, which is main
|
||||
let files = fs.readdirSync('./loc/');
|
||||
|
||||
for (let lang of files) {
|
||||
if (lang === 'en.js') continue; // iteratin all locales except EN
|
||||
if (lang === 'index.js') continue;
|
||||
|
||||
for (let lang of ['es', 'pt_BR', 'pt_PT', 'ru', 'ua']) {
|
||||
// iteratin all locales except EN
|
||||
let locale = require('../../loc/' + lang);
|
||||
|
||||
if (typeof locale[key1] === 'undefined') {
|
||||
console.error('Missing: ' + lang + '.' + key1);
|
||||
noErrors = false;
|
||||
issues++;
|
||||
} else if (typeof locale[key1][key2] === 'undefined') {
|
||||
console.error('Missing: ' + lang + '.' + key1 + '.' + key2);
|
||||
noErrors = false;
|
||||
issues++;
|
||||
}
|
||||
|
||||
// level 1 & 2 done, doing level 3 (if it exists):
|
||||
|
@ -27,13 +31,13 @@ describe('Localization', () => {
|
|||
for (let key3 of Object.keys(en[key1][key2])) {
|
||||
if (typeof locale[key1][key2][key3] === 'undefined') {
|
||||
console.error('Missing: ' + lang + '.' + key1 + '.' + key2 + '.' + key3);
|
||||
noErrors = false;
|
||||
issues++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
assert.ok(noErrors, 'Some localizations are missing keys');
|
||||
assert.ok(issues === 0, 'Some localizations are missing keys. Total issues: ' + issues);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue