added ja lang and implemented transalation switch
This commit is contained in:
parent
6bd6ace593
commit
68b8873442
@ -34,7 +34,9 @@ export function po2ts(): void {
|
||||
|
||||
console.log(files);
|
||||
|
||||
const chunks: string[] = [];
|
||||
const chunks: string[] = [
|
||||
"export const strings: any = {};\n\n"
|
||||
];
|
||||
|
||||
for (const filename of files) {
|
||||
const m = filename.match(/([a-zA-Z0-9-_]+).po/);
|
||||
|
@ -70,11 +70,14 @@ export function translate(
|
||||
/**
|
||||
* Internationalize a string template without serializing
|
||||
*/
|
||||
export function Translate({ children, ...rest }: { children: any }): any {
|
||||
export function Translate({ children, debug, }: { children: any, debug?: boolean }): any {
|
||||
const c = [].concat(children);
|
||||
const s = stringifyArray(c);
|
||||
if (!s) return [];
|
||||
const translation: string = jed.ngettext(s, s, 1);
|
||||
if (debug) {
|
||||
console.log("looking for ", s, "got", translation)
|
||||
}
|
||||
return replacePlaceholderWithValues(translation, c);
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,9 @@ export const globalTypes = {
|
||||
icon: 'globe',
|
||||
items: [
|
||||
{ value: 'en', right: '🇺🇸', title: 'English' },
|
||||
{ value: 'de', right: '🇪🇸', title: 'German' },
|
||||
{ value: 'ja', right: '🇯🇵', title: 'Japanese' },
|
||||
{ value: 'es', right: '🇪🇸', title: 'Spanish' },
|
||||
{ value: 'de', right: '🇩🇪', title: 'German' },
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -17,7 +17,8 @@
|
||||
"pretty": "prettier --write src",
|
||||
"watch": "tsc --watch & rollup -w -c",
|
||||
"i18n:extract": "pogen extract",
|
||||
"i18n:merge": "pogen merge"
|
||||
"i18n:merge": "pogen merge",
|
||||
"i18n:emit": "pogen emit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gnu-taler/taler-util": "workspace:*",
|
||||
|
@ -29,10 +29,24 @@ import { setupI18n } from "@gnu-taler/taler-util";
|
||||
|
||||
interface Type {
|
||||
lang: string;
|
||||
supportedLang: { [id in keyof typeof supportedLang]: string }
|
||||
changeLanguage: (l: string) => void;
|
||||
}
|
||||
|
||||
const supportedLang = {
|
||||
es: "Español [es]",
|
||||
ja: "日本語 [ja]",
|
||||
en: "English [en]",
|
||||
fr: "Français [fr]",
|
||||
de: "Deutsch [de]",
|
||||
sv: "Svenska [sv]",
|
||||
it: "Italiano [it]",
|
||||
};
|
||||
|
||||
|
||||
const initial = {
|
||||
lang: "en",
|
||||
supportedLang,
|
||||
changeLanguage: () => {
|
||||
// do not change anything
|
||||
},
|
||||
@ -52,7 +66,11 @@ export const TranslationProvider = ({
|
||||
children,
|
||||
forceLang,
|
||||
}: Props): VNode => {
|
||||
const [lang, changeLanguage] = useLang(initial);
|
||||
const [lang, changeLanguage2] = useLang(initial);
|
||||
function changeLanguage(s: string) {
|
||||
console.log("trying to change lang to ", s, "current lang", lang)
|
||||
changeLanguage2(s)
|
||||
}
|
||||
useEffect(() => {
|
||||
if (forceLang) {
|
||||
changeLanguage(forceLang);
|
||||
@ -66,7 +84,7 @@ export const TranslationProvider = ({
|
||||
} else {
|
||||
setupI18n(lang, strings);
|
||||
}
|
||||
return h(Context.Provider, { value: { lang, changeLanguage }, children });
|
||||
return h(Context.Provider, { value: { lang, changeLanguage, supportedLang }, children });
|
||||
};
|
||||
|
||||
export const useTranslationContext = (): Type => useContext(Context);
|
||||
|
@ -110,7 +110,7 @@ msgstr ""
|
||||
msgid "Deposit %1$s"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/BalancePage.tsx:118
|
||||
#: src/popup/BalancePage.tsx:120
|
||||
#, c-format
|
||||
msgid "Enter URI"
|
||||
msgstr ""
|
||||
@ -251,6 +251,11 @@ msgstr ""
|
||||
msgid "This page has a notify reserve action."
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:114
|
||||
#, c-format
|
||||
msgid "Notify"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:121
|
||||
#, c-format
|
||||
msgid "This page has a refund action."
|
||||
@ -598,7 +603,7 @@ msgstr ""
|
||||
msgid "Backup valid until"
|
||||
msgstr ""
|
||||
|
||||
#: src/popupEntryPoint.tsx:184
|
||||
#: src/popupEntryPoint.tsx:187
|
||||
#, c-format
|
||||
msgid "this popup is being closed and you are being redirected to %1$s"
|
||||
msgstr ""
|
||||
@ -776,64 +781,74 @@ msgstr ""
|
||||
msgid "Cancel withdrawal"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:84
|
||||
#: src/wallet/Settings.tsx:89
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgid "Display"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:87
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#, c-format
|
||||
msgid "Current Language"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:102
|
||||
#, c-format
|
||||
msgid "Navigator"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:105
|
||||
#, c-format
|
||||
msgid "Automatically open wallet based on page content"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#: src/wallet/Settings.tsx:111
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Enabling this option below will make using the wallet faster, but requires "
|
||||
"more permissions from your browser."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:104
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgid "Trust"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:108
|
||||
#: src/wallet/Settings.tsx:126
|
||||
#, c-format
|
||||
msgid "No exchange yet"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#: src/wallet/Settings.tsx:140
|
||||
#, c-format
|
||||
msgid "Term of Service"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:138
|
||||
#: src/wallet/Settings.tsx:156
|
||||
#, c-format
|
||||
msgid "ok"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:144
|
||||
#: src/wallet/Settings.tsx:162
|
||||
#, c-format
|
||||
msgid "changed"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:151
|
||||
#: src/wallet/Settings.tsx:169
|
||||
#, c-format
|
||||
msgid "not accepted"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:175
|
||||
#: src/wallet/Settings.tsx:193
|
||||
#, c-format
|
||||
msgid "Add an exchange"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:181
|
||||
#: src/wallet/Settings.tsx:199
|
||||
#, c-format
|
||||
msgid "Developer mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:183
|
||||
#: src/wallet/Settings.tsx:201
|
||||
#, c-format
|
||||
msgid "(More options and information useful for debugging)"
|
||||
msgstr ""
|
||||
@ -1005,6 +1020,11 @@ msgstr ""
|
||||
msgid "Thank you for installing the wallet."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:66
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:75
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1217,6 +1237,11 @@ msgstr ""
|
||||
msgid "Total to withdraw"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:171
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:187
|
||||
#, c-format
|
||||
msgid "Cancel exchange selection"
|
||||
@ -1262,7 +1287,7 @@ msgstr ""
|
||||
msgid "Could not load the list of known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/walletEntryPoint.tsx:171
|
||||
#: src/walletEntryPoint.tsx:172
|
||||
#, c-format
|
||||
msgid "All done, your transaction is in progress"
|
||||
msgstr ""
|
||||
|
@ -31,7 +31,7 @@ msgstr ""
|
||||
#: src/NavigationBar.tsx:70
|
||||
#, c-format
|
||||
msgid "Balance"
|
||||
msgstr "Credit"
|
||||
msgstr "Balance"
|
||||
|
||||
#: src/NavigationBar.tsx:73
|
||||
#, c-format
|
||||
@ -110,7 +110,7 @@ msgstr ""
|
||||
msgid "Deposit %1$s"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/BalancePage.tsx:118
|
||||
#: src/popup/BalancePage.tsx:120
|
||||
#, c-format
|
||||
msgid "Enter URI"
|
||||
msgstr ""
|
||||
@ -251,6 +251,11 @@ msgstr ""
|
||||
msgid "This page has a notify reserve action."
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:114
|
||||
#, c-format
|
||||
msgid "Notify"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:121
|
||||
#, c-format
|
||||
msgid "This page has a refund action."
|
||||
@ -598,7 +603,7 @@ msgstr ""
|
||||
msgid "Backup valid until"
|
||||
msgstr ""
|
||||
|
||||
#: src/popupEntryPoint.tsx:184
|
||||
#: src/popupEntryPoint.tsx:187
|
||||
#, c-format
|
||||
msgid "this popup is being closed and you are being redirected to %1$s"
|
||||
msgstr ""
|
||||
@ -654,7 +659,7 @@ msgstr ""
|
||||
#: src/wallet/DepositPage.tsx:138
|
||||
#, fuzzy, c-format
|
||||
msgid "no balance"
|
||||
msgstr "Credit"
|
||||
msgstr "no balance"
|
||||
|
||||
#: src/wallet/DepositPage.tsx:146
|
||||
#, c-format
|
||||
@ -776,64 +781,74 @@ msgstr ""
|
||||
msgid "Cancel withdrawal"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:84
|
||||
#: src/wallet/Settings.tsx:89
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgid "Display"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:87
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#, c-format
|
||||
msgid "Current Language"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:102
|
||||
#, c-format
|
||||
msgid "Navigator"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:105
|
||||
#, c-format
|
||||
msgid "Automatically open wallet based on page content"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#: src/wallet/Settings.tsx:111
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Enabling this option below will make using the wallet faster, but requires "
|
||||
"more permissions from your browser."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:104
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgid "Trust"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:108
|
||||
#: src/wallet/Settings.tsx:126
|
||||
#, c-format
|
||||
msgid "No exchange yet"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#: src/wallet/Settings.tsx:140
|
||||
#, c-format
|
||||
msgid "Term of Service"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:138
|
||||
#: src/wallet/Settings.tsx:156
|
||||
#, c-format
|
||||
msgid "ok"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:144
|
||||
#: src/wallet/Settings.tsx:162
|
||||
#, c-format
|
||||
msgid "changed"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:151
|
||||
#: src/wallet/Settings.tsx:169
|
||||
#, c-format
|
||||
msgid "not accepted"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:175
|
||||
#: src/wallet/Settings.tsx:193
|
||||
#, c-format
|
||||
msgid "Add an exchange"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:181
|
||||
#: src/wallet/Settings.tsx:199
|
||||
#, c-format
|
||||
msgid "Developer mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:183
|
||||
#: src/wallet/Settings.tsx:201
|
||||
#, c-format
|
||||
msgid "(More options and information useful for debugging)"
|
||||
msgstr ""
|
||||
@ -1005,6 +1020,11 @@ msgstr ""
|
||||
msgid "Thank you for installing the wallet."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:66
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:75
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1217,6 +1237,11 @@ msgstr ""
|
||||
msgid "Total to withdraw"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:171
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:187
|
||||
#, c-format
|
||||
msgid "Cancel exchange selection"
|
||||
@ -1262,7 +1287,7 @@ msgstr ""
|
||||
msgid "Could not load the list of known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/walletEntryPoint.tsx:171
|
||||
#: src/walletEntryPoint.tsx:172
|
||||
#, c-format
|
||||
msgid "All done, your transaction is in progress"
|
||||
msgstr ""
|
||||
|
@ -19,9 +19,9 @@ msgstr ""
|
||||
"POT-Creation-Date: 2016-11-23 00:00+0100\n"
|
||||
"PO-Revision-Date: 2022-02-18 19:33+0000\n"
|
||||
"Last-Translator: Stefan <eintritt@hotmail.com>\n"
|
||||
"Language-Team: Italian <http://weblate.taler.net/projects/gnu-taler/"
|
||||
"webextensions/it/>\n"
|
||||
"Language: it\n"
|
||||
"Language-Team: Spanish <http://weblate.taler.net/projects/gnu-taler/"
|
||||
"webextensions/es/>\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
@ -93,8 +93,9 @@ msgstr "No tienes balance para mostrar."
|
||||
msgid ""
|
||||
"To withdraw money you can start from your bank site or click the \"withdraw"
|
||||
"\" button to use a known exchange."
|
||||
msgstr "Para retirar dinero puedes empezar desde el sitio de tu banco o cliquear"
|
||||
" en el botón \"extraer\" para usar un exchange conocido"
|
||||
msgstr ""
|
||||
"Para retirar dinero puedes empezar desde el sitio de tu banco o cliquear en "
|
||||
"el botón \"extraer\" para usar un exchange conocido"
|
||||
|
||||
#: src/popup/NoBalanceHelp.tsx:23
|
||||
#, c-format
|
||||
@ -111,7 +112,7 @@ msgstr "No se pudo cargar la página"
|
||||
msgid "Deposit %1$s"
|
||||
msgstr "Depositar %1$s"
|
||||
|
||||
#: src/popup/BalancePage.tsx:118
|
||||
#: src/popup/BalancePage.tsx:120
|
||||
#, c-format
|
||||
msgid "Enter URI"
|
||||
msgstr "Ingresar URI"
|
||||
@ -131,7 +132,8 @@ msgstr "Problemas detectados:"
|
||||
msgid ""
|
||||
"Please check in your %1$s settings that you have IndexedDB enabled (check "
|
||||
"the preference name %2$s)."
|
||||
msgstr "Por favor revisa en tu configuración %1$s que tienes IndexedDB habilitado"
|
||||
msgstr ""
|
||||
"Por favor revisa en tu configuración %1$s que tienes IndexedDB habilitado "
|
||||
"(el nombre de la preferencia %2$s)."
|
||||
|
||||
#: src/components/Diagnostics.tsx:69
|
||||
@ -139,8 +141,10 @@ msgstr "Por favor revisa en tu configuración %1$s que tienes IndexedDB habilita
|
||||
msgid ""
|
||||
"Your wallet database is outdated. Currently automatic migration is not "
|
||||
"supported. Please go %1$s to reset the wallet database."
|
||||
msgstr "La base de datos de la billetera expiró. Por ahora la migración automática "
|
||||
"no está soportada. Por favor dirijasé a %1$s para reiniciar la base de datos de la billetera"
|
||||
msgstr ""
|
||||
"La base de datos de la billetera expiró. Por ahora la migración automática "
|
||||
"no está soportada. Por favor dirijasé a %1$s para reiniciar la base de datos "
|
||||
"de la billetera"
|
||||
|
||||
#: src/components/Diagnostics.tsx:85
|
||||
#, c-format
|
||||
@ -227,8 +231,9 @@ msgstr "cliquear para mostrar"
|
||||
msgid ""
|
||||
"Do you want to IRREVOCABLY DESTROY everything inside your wallet and LOSE "
|
||||
"ALL YOUR COINS?"
|
||||
msgstr "Quieres DESTRUIR IRREVOCABLEMENTE todo dentro de tu billetera y PERDER"
|
||||
" TODAS TUS MONEDAS?"
|
||||
msgstr ""
|
||||
"Quieres DESTRUIR IRREVOCABLEMENTE todo dentro de tu billetera y PERDER TODAS "
|
||||
"TUS MONEDAS?"
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:56
|
||||
#, c-format
|
||||
@ -255,6 +260,11 @@ msgstr "Esta página tiene una acción de propina."
|
||||
msgid "This page has a notify reserve action."
|
||||
msgstr "Esta página tiene una acción de notificación de reserva."
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:114
|
||||
#, c-format
|
||||
msgid "Notify"
|
||||
msgstr "Notificar"
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:121
|
||||
#, c-format
|
||||
msgid "This page has a refund action."
|
||||
@ -398,7 +408,8 @@ msgstr "Ingresar la URL de un exchange que tu confíes."
|
||||
#: src/wallet/ExchangeSetUrl.tsx:112
|
||||
#, c-format
|
||||
msgid "An exchange has been found! Review the information and click next"
|
||||
msgstr "Un exchange ha sido encontrado! Revisa la información y cliquea en siguente"
|
||||
msgstr ""
|
||||
"Un exchange ha sido encontrado! Revisa la información y cliquea en siguente"
|
||||
|
||||
#: src/wallet/ExchangeSetUrl.tsx:119
|
||||
#, c-format
|
||||
@ -540,7 +551,9 @@ msgstr "Extender"
|
||||
msgid ""
|
||||
"terms has changed, extending the service will imply accepting the new terms "
|
||||
"of service"
|
||||
msgstr "los terminos han cambiado, extender el servicio implicará aceptar los nuevos terminos de servicio"
|
||||
msgstr ""
|
||||
"los terminos han cambiado, extender el servicio implicará aceptar los nuevos "
|
||||
"terminos de servicio"
|
||||
|
||||
#: src/wallet/ProviderDetailPage.tsx:177
|
||||
#, c-format
|
||||
@ -602,7 +615,7 @@ msgstr "servicio pagado"
|
||||
msgid "Backup valid until"
|
||||
msgstr "Backup valido hasta"
|
||||
|
||||
#: src/popupEntryPoint.tsx:184
|
||||
#: src/popupEntryPoint.tsx:187
|
||||
#, c-format
|
||||
msgid "this popup is being closed and you are being redirected to %1$s"
|
||||
msgstr "Este popup se cerrará y estás siendo redirijido a %1$s"
|
||||
@ -623,9 +636,10 @@ msgid ""
|
||||
"Choose a exchange from where the coins will be withdrawn. The exchange will "
|
||||
"send the coins to this wallet after receiving a wire transfer with the "
|
||||
"correct subject."
|
||||
msgstr "Elija un exchange desde donde las monedas serán extraídas. El exchange "
|
||||
"enviará las monedas a esta billetera después de recibir una transferencia con "
|
||||
"el asunto correcto."
|
||||
msgstr ""
|
||||
"Elija un exchange desde donde las monedas serán extraídas. El exchange "
|
||||
"enviará las monedas a esta billetera después de recibir una transferencia "
|
||||
"con el asunto correcto."
|
||||
|
||||
#: src/wallet/CreateManualWithdraw.tsx:114
|
||||
#, c-format
|
||||
@ -761,87 +775,103 @@ msgstr "El exchange está listo para la extracción"
|
||||
#, c-format
|
||||
msgid ""
|
||||
"To complete the process you need to wire %1$s to the exchange bank account"
|
||||
msgstr "Para completar el proceso necesitas enviar %1$s a la cuenta bancaria del exchange"
|
||||
msgstr ""
|
||||
"Para completar el proceso necesitas enviar %1$s a la cuenta bancaria del "
|
||||
"exchange"
|
||||
|
||||
#: src/wallet/ReserveCreated.tsx:53
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Make sure to use the correct subject, otherwise the money will not arrive in "
|
||||
"this wallet."
|
||||
msgstr "Asegurate de usar el asunto correcto, de otra manera el dinero no llegará a esta billetera"
|
||||
msgstr ""
|
||||
"Asegurate de usar el asunto correcto, de otra manera el dinero no llegará a "
|
||||
"esta billetera"
|
||||
|
||||
#: src/wallet/ReserveCreated.tsx:62
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Alternative, you can also scan this QR code or open %1$s if you have a "
|
||||
"banking app installed that supports RFC 8905"
|
||||
msgstr "Alternativamente, también puedes escanear el código QR o abrir %1$s si tienes"
|
||||
" una aplicación bancaria instalada que soporta RFC 8905"
|
||||
msgstr ""
|
||||
"Alternativamente, también puedes escanear el código QR o abrir %1$s si "
|
||||
"tienes una aplicación bancaria instalada que soporta RFC 8905"
|
||||
|
||||
#: src/wallet/ReserveCreated.tsx:73
|
||||
#, c-format
|
||||
msgid "Cancel withdrawal"
|
||||
msgstr "Cancelar extracción"
|
||||
|
||||
#: src/wallet/Settings.tsx:84
|
||||
#: src/wallet/Settings.tsx:89
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgstr "Permisos"
|
||||
msgid "Display"
|
||||
msgstr "Pantalla"
|
||||
|
||||
#: src/wallet/Settings.tsx:87
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#, c-format
|
||||
msgid "Current Language"
|
||||
msgstr "Lenguage actual"
|
||||
|
||||
#: src/wallet/Settings.tsx:102
|
||||
#, c-format
|
||||
msgid "Navigator"
|
||||
msgstr "Navegador"
|
||||
|
||||
#: src/wallet/Settings.tsx:105
|
||||
#, c-format
|
||||
msgid "Automatically open wallet based on page content"
|
||||
msgstr "Abrir automáticamente la billetera basado en el contenido de la página"
|
||||
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#: src/wallet/Settings.tsx:111
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Enabling this option below will make using the wallet faster, but requires "
|
||||
"more permissions from your browser."
|
||||
msgstr "Habilitar esta opción debajo hará el uso de la billetera mas rápido, pero "
|
||||
msgstr ""
|
||||
"Habilitar esta opción debajo hará el uso de la billetera mas rápido, pero "
|
||||
"requiere mas permisos de tu navegador"
|
||||
|
||||
#: src/wallet/Settings.tsx:104
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgstr "Exchange conocidos"
|
||||
msgid "Trust"
|
||||
msgstr "Confianza"
|
||||
|
||||
#: src/wallet/Settings.tsx:108
|
||||
#: src/wallet/Settings.tsx:126
|
||||
#, c-format
|
||||
msgid "No exchange yet"
|
||||
msgstr "No hay exchanges todavía"
|
||||
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#: src/wallet/Settings.tsx:140
|
||||
#, c-format
|
||||
msgid "Term of Service"
|
||||
msgstr "Terminos de servicio"
|
||||
|
||||
#: src/wallet/Settings.tsx:138
|
||||
#: src/wallet/Settings.tsx:156
|
||||
#, c-format
|
||||
msgid "ok"
|
||||
msgstr "ok"
|
||||
|
||||
#: src/wallet/Settings.tsx:144
|
||||
#: src/wallet/Settings.tsx:162
|
||||
#, c-format
|
||||
msgid "changed"
|
||||
msgstr "modificado"
|
||||
|
||||
#: src/wallet/Settings.tsx:151
|
||||
#: src/wallet/Settings.tsx:169
|
||||
#, c-format
|
||||
msgid "not accepted"
|
||||
msgstr "no aceptado"
|
||||
|
||||
#: src/wallet/Settings.tsx:175
|
||||
#: src/wallet/Settings.tsx:193
|
||||
#, c-format
|
||||
msgid "Add an exchange"
|
||||
msgstr "Agregar un exchange"
|
||||
|
||||
#: src/wallet/Settings.tsx:181
|
||||
#: src/wallet/Settings.tsx:199
|
||||
#, c-format
|
||||
msgid "Developer mode"
|
||||
msgstr "Modo desarrollador"
|
||||
|
||||
#: src/wallet/Settings.tsx:183
|
||||
#: src/wallet/Settings.tsx:201
|
||||
#, c-format
|
||||
msgid "(More options and information useful for debugging)"
|
||||
msgstr "(Mas información y opciones útiles para depuración)"
|
||||
@ -881,8 +911,9 @@ msgstr "Cuidado!"
|
||||
msgid ""
|
||||
"If you have already wired money to the exchange you will loose the chance to "
|
||||
"get the coins form it."
|
||||
msgstr "Si ya has transferido dinero al exchange perderas la oportunidad de "
|
||||
"recivir las monedas"
|
||||
msgstr ""
|
||||
"Si ya has transferido dinero al exchange perderas la oportunidad de recivir "
|
||||
"las monedas"
|
||||
|
||||
#: src/wallet/Transaction.tsx:211
|
||||
#, c-format
|
||||
@ -962,17 +993,17 @@ msgstr "Monto a depositar"
|
||||
#: src/wallet/Transaction.tsx:447
|
||||
#, c-format
|
||||
msgid "Refresh"
|
||||
msgstr ""
|
||||
msgstr "Actualizar"
|
||||
|
||||
#: src/wallet/Transaction.tsx:453
|
||||
#, c-format
|
||||
msgid "Total refresh"
|
||||
msgstr ""
|
||||
msgstr "Actualización total"
|
||||
|
||||
#: src/wallet/Transaction.tsx:459
|
||||
#, c-format
|
||||
msgid "Refresh amount"
|
||||
msgstr ""
|
||||
msgstr "Monto de actualización"
|
||||
|
||||
#: src/wallet/Transaction.tsx:481
|
||||
#, c-format
|
||||
@ -1014,12 +1045,18 @@ msgstr "Extensión del navegador instalada!"
|
||||
msgid "Thank you for installing the wallet."
|
||||
msgstr "Gracias por haber instalado la billetera."
|
||||
|
||||
#: src/wallet/Welcome.tsx:66
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgstr "Permisos"
|
||||
|
||||
#: src/wallet/Welcome.tsx:75
|
||||
#, c-format
|
||||
msgid ""
|
||||
"(Enabling this option below will make using the wallet faster, but requires "
|
||||
"more permissions from your browser.)"
|
||||
msgstr "(Habilitar esta opción debajo hará el uso de la billetera mas rápido, pero "
|
||||
msgstr ""
|
||||
"(Habilitar esta opción debajo hará el uso de la billetera mas rápido, pero "
|
||||
"requiere mas permisos de tu navegador)"
|
||||
|
||||
#: src/wallet/Welcome.tsx:85
|
||||
@ -1045,7 +1082,8 @@ msgstr "No se pudo cargar el estado del pago"
|
||||
#: src/cta/Pay.tsx:189
|
||||
#, c-format
|
||||
msgid "Could not load contract terms from merchant or wallet backend."
|
||||
msgstr "No se pudo cargar los terminos de contrato del comerciante o de la billetera."
|
||||
msgstr ""
|
||||
"No se pudo cargar los terminos de contrato del comerciante o de la billetera."
|
||||
|
||||
#: src/cta/Pay.tsx:216
|
||||
#, c-format
|
||||
@ -1185,12 +1223,15 @@ msgstr "Actualizando el estado de reembolso"
|
||||
#: src/cta/Tip.tsx:49
|
||||
#, c-format
|
||||
msgid "Tip from %1$s accepted. Check your transactions list for more details."
|
||||
msgstr "Propina de %1$s aceptada. Revisa tu lista de transacciones para mas detalle."
|
||||
msgstr ""
|
||||
"Propina de %1$s aceptada. Revisa tu lista de transacciones para mas detalle."
|
||||
|
||||
#: src/cta/Tip.tsx:57
|
||||
#, c-format
|
||||
msgid "The merchant %1$s is offering you a tip of %2$s via the exchange %3$s"
|
||||
msgstr "El comerciante %1$s está ofreciendo una propina de %2$s usando el exchange %3$s"
|
||||
msgstr ""
|
||||
"El comerciante %1$s está ofreciendo una propina de %2$s usando el exchange "
|
||||
"%3$s"
|
||||
|
||||
#: src/cta/Tip.tsx:67
|
||||
#, c-format
|
||||
@ -1227,6 +1268,11 @@ msgstr "No se pudo completar la operación de extracción"
|
||||
msgid "Total to withdraw"
|
||||
msgstr "Total a extraer"
|
||||
|
||||
#: src/cta/Withdraw.tsx:171
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgstr "Exchange conocidos"
|
||||
|
||||
#: src/cta/Withdraw.tsx:187
|
||||
#, c-format
|
||||
msgid "Cancel exchange selection"
|
||||
@ -1272,7 +1318,7 @@ msgstr "No se pudo obtener la información desde la URI"
|
||||
msgid "Could not load the list of known exchanges"
|
||||
msgstr "No se pudo cargar la lista de exchange conocidos"
|
||||
|
||||
#: src/walletEntryPoint.tsx:171
|
||||
#: src/walletEntryPoint.tsx:172
|
||||
#, c-format
|
||||
msgid "All done, your transaction is in progress"
|
||||
msgstr "Todo completo, su transacción está en progreso"
|
||||
@ -1317,14 +1363,16 @@ msgstr "Reinicio Manual Necesario"
|
||||
msgid ""
|
||||
"The wallet's database in your browser is incompatible with the "
|
||||
"currently installed wallet. Please reset manually."
|
||||
msgstr "La base de datos de billetera en tu navegador es incompatible con la "
|
||||
msgstr ""
|
||||
"La base de datos de billetera en tu navegador es incompatible con la "
|
||||
"billetera instalada actualmente. Por favor reinicie manualmente"
|
||||
|
||||
#: src/cta/reset-required.tsx:63
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Once the database format has stabilized, we will provide automatic upgrades."
|
||||
msgstr "Una vez que el formato de la base de datos esté estabilizzado, proveeremos "
|
||||
msgstr ""
|
||||
"Una vez que el formato de la base de datos esté estabilizzado, proveeremos "
|
||||
"de actualizaciones automáticas"
|
||||
|
||||
#: src/cta/reset-required.tsx:77
|
||||
|
@ -110,7 +110,7 @@ msgstr ""
|
||||
msgid "Deposit %1$s"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/BalancePage.tsx:118
|
||||
#: src/popup/BalancePage.tsx:120
|
||||
#, c-format
|
||||
msgid "Enter URI"
|
||||
msgstr ""
|
||||
@ -251,6 +251,11 @@ msgstr ""
|
||||
msgid "This page has a notify reserve action."
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:114
|
||||
#, c-format
|
||||
msgid "Notify"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:121
|
||||
#, c-format
|
||||
msgid "This page has a refund action."
|
||||
@ -598,7 +603,7 @@ msgstr ""
|
||||
msgid "Backup valid until"
|
||||
msgstr ""
|
||||
|
||||
#: src/popupEntryPoint.tsx:184
|
||||
#: src/popupEntryPoint.tsx:187
|
||||
#, c-format
|
||||
msgid "this popup is being closed and you are being redirected to %1$s"
|
||||
msgstr ""
|
||||
@ -776,64 +781,74 @@ msgstr ""
|
||||
msgid "Cancel withdrawal"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:84
|
||||
#: src/wallet/Settings.tsx:89
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgid "Display"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:87
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#, c-format
|
||||
msgid "Current Language"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:102
|
||||
#, c-format
|
||||
msgid "Navigator"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:105
|
||||
#, c-format
|
||||
msgid "Automatically open wallet based on page content"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#: src/wallet/Settings.tsx:111
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Enabling this option below will make using the wallet faster, but requires "
|
||||
"more permissions from your browser."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:104
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgid "Trust"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:108
|
||||
#: src/wallet/Settings.tsx:126
|
||||
#, c-format
|
||||
msgid "No exchange yet"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#: src/wallet/Settings.tsx:140
|
||||
#, c-format
|
||||
msgid "Term of Service"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:138
|
||||
#: src/wallet/Settings.tsx:156
|
||||
#, c-format
|
||||
msgid "ok"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:144
|
||||
#: src/wallet/Settings.tsx:162
|
||||
#, c-format
|
||||
msgid "changed"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:151
|
||||
#: src/wallet/Settings.tsx:169
|
||||
#, c-format
|
||||
msgid "not accepted"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:175
|
||||
#: src/wallet/Settings.tsx:193
|
||||
#, c-format
|
||||
msgid "Add an exchange"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:181
|
||||
#: src/wallet/Settings.tsx:199
|
||||
#, c-format
|
||||
msgid "Developer mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:183
|
||||
#: src/wallet/Settings.tsx:201
|
||||
#, c-format
|
||||
msgid "(More options and information useful for debugging)"
|
||||
msgstr ""
|
||||
@ -1005,6 +1020,11 @@ msgstr ""
|
||||
msgid "Thank you for installing the wallet."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:66
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:75
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1217,6 +1237,11 @@ msgstr ""
|
||||
msgid "Total to withdraw"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:171
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:187
|
||||
#, c-format
|
||||
msgid "Cancel exchange selection"
|
||||
@ -1262,7 +1287,7 @@ msgstr ""
|
||||
msgid "Could not load the list of known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/walletEntryPoint.tsx:171
|
||||
#: src/walletEntryPoint.tsx:172
|
||||
#, c-format
|
||||
msgid "All done, your transaction is in progress"
|
||||
msgstr ""
|
||||
|
@ -110,7 +110,7 @@ msgstr ""
|
||||
msgid "Deposit %1$s"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/BalancePage.tsx:118
|
||||
#: src/popup/BalancePage.tsx:120
|
||||
#, c-format
|
||||
msgid "Enter URI"
|
||||
msgstr ""
|
||||
@ -251,6 +251,11 @@ msgstr ""
|
||||
msgid "This page has a notify reserve action."
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:114
|
||||
#, c-format
|
||||
msgid "Notify"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:121
|
||||
#, c-format
|
||||
msgid "This page has a refund action."
|
||||
@ -598,7 +603,7 @@ msgstr ""
|
||||
msgid "Backup valid until"
|
||||
msgstr ""
|
||||
|
||||
#: src/popupEntryPoint.tsx:184
|
||||
#: src/popupEntryPoint.tsx:187
|
||||
#, c-format
|
||||
msgid "this popup is being closed and you are being redirected to %1$s"
|
||||
msgstr ""
|
||||
@ -776,64 +781,74 @@ msgstr ""
|
||||
msgid "Cancel withdrawal"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:84
|
||||
#: src/wallet/Settings.tsx:89
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgid "Display"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:87
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#, c-format
|
||||
msgid "Current Language"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:102
|
||||
#, c-format
|
||||
msgid "Navigator"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:105
|
||||
#, c-format
|
||||
msgid "Automatically open wallet based on page content"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#: src/wallet/Settings.tsx:111
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Enabling this option below will make using the wallet faster, but requires "
|
||||
"more permissions from your browser."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:104
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgid "Trust"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:108
|
||||
#: src/wallet/Settings.tsx:126
|
||||
#, c-format
|
||||
msgid "No exchange yet"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#: src/wallet/Settings.tsx:140
|
||||
#, c-format
|
||||
msgid "Term of Service"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:138
|
||||
#: src/wallet/Settings.tsx:156
|
||||
#, c-format
|
||||
msgid "ok"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:144
|
||||
#: src/wallet/Settings.tsx:162
|
||||
#, c-format
|
||||
msgid "changed"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:151
|
||||
#: src/wallet/Settings.tsx:169
|
||||
#, c-format
|
||||
msgid "not accepted"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:175
|
||||
#: src/wallet/Settings.tsx:193
|
||||
#, c-format
|
||||
msgid "Add an exchange"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:181
|
||||
#: src/wallet/Settings.tsx:199
|
||||
#, c-format
|
||||
msgid "Developer mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:183
|
||||
#: src/wallet/Settings.tsx:201
|
||||
#, c-format
|
||||
msgid "(More options and information useful for debugging)"
|
||||
msgstr ""
|
||||
@ -1005,6 +1020,11 @@ msgstr ""
|
||||
msgid "Thank you for installing the wallet."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:66
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:75
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1217,6 +1237,11 @@ msgstr ""
|
||||
msgid "Total to withdraw"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:171
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:187
|
||||
#, c-format
|
||||
msgid "Cancel exchange selection"
|
||||
@ -1262,7 +1287,7 @@ msgstr ""
|
||||
msgid "Could not load the list of known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/walletEntryPoint.tsx:171
|
||||
#: src/walletEntryPoint.tsx:172
|
||||
#, c-format
|
||||
msgid "All done, your transaction is in progress"
|
||||
msgstr ""
|
||||
|
1367
packages/taler-wallet-webextension/src/i18n/ja.po
Normal file
1367
packages/taler-wallet-webextension/src/i18n/ja.po
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -112,7 +112,7 @@ msgstr ""
|
||||
msgid "Deposit %1$s"
|
||||
msgstr "Depostitions avgift"
|
||||
|
||||
#: src/popup/BalancePage.tsx:118
|
||||
#: src/popup/BalancePage.tsx:120
|
||||
#, c-format
|
||||
msgid "Enter URI"
|
||||
msgstr ""
|
||||
@ -253,6 +253,11 @@ msgstr ""
|
||||
msgid "This page has a notify reserve action."
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:114
|
||||
#, c-format
|
||||
msgid "Notify"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:121
|
||||
#, c-format
|
||||
msgid "This page has a refund action."
|
||||
@ -600,7 +605,7 @@ msgstr ""
|
||||
msgid "Backup valid until"
|
||||
msgstr ""
|
||||
|
||||
#: src/popupEntryPoint.tsx:184
|
||||
#: src/popupEntryPoint.tsx:187
|
||||
#, c-format
|
||||
msgid "this popup is being closed and you are being redirected to %1$s"
|
||||
msgstr ""
|
||||
@ -778,64 +783,74 @@ msgstr ""
|
||||
msgid "Cancel withdrawal"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:84
|
||||
#: src/wallet/Settings.tsx:89
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgid "Display"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:87
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#, c-format
|
||||
msgid "Current Language"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:102
|
||||
#, c-format
|
||||
msgid "Navigator"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:105
|
||||
#, c-format
|
||||
msgid "Automatically open wallet based on page content"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#: src/wallet/Settings.tsx:111
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Enabling this option below will make using the wallet faster, but requires "
|
||||
"more permissions from your browser."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:104
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgid "Trust"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:108
|
||||
#: src/wallet/Settings.tsx:126
|
||||
#, c-format
|
||||
msgid "No exchange yet"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#: src/wallet/Settings.tsx:140
|
||||
#, c-format
|
||||
msgid "Term of Service"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:138
|
||||
#: src/wallet/Settings.tsx:156
|
||||
#, c-format
|
||||
msgid "ok"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:144
|
||||
#: src/wallet/Settings.tsx:162
|
||||
#, c-format
|
||||
msgid "changed"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:151
|
||||
#: src/wallet/Settings.tsx:169
|
||||
#, c-format
|
||||
msgid "not accepted"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:175
|
||||
#: src/wallet/Settings.tsx:193
|
||||
#, fuzzy, c-format
|
||||
msgid "Add an exchange"
|
||||
msgstr "Accepterade tjänsteleverantörer:"
|
||||
|
||||
#: src/wallet/Settings.tsx:181
|
||||
#: src/wallet/Settings.tsx:199
|
||||
#, c-format
|
||||
msgid "Developer mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:183
|
||||
#: src/wallet/Settings.tsx:201
|
||||
#, c-format
|
||||
msgid "(More options and information useful for debugging)"
|
||||
msgstr ""
|
||||
@ -1007,6 +1022,11 @@ msgstr ""
|
||||
msgid "Thank you for installing the wallet."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:66
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:75
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1219,6 +1239,11 @@ msgstr ""
|
||||
msgid "Total to withdraw"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:171
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:187
|
||||
#, c-format
|
||||
msgid "Cancel exchange selection"
|
||||
@ -1264,7 +1289,7 @@ msgstr ""
|
||||
msgid "Could not load the list of known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/walletEntryPoint.tsx:171
|
||||
#: src/walletEntryPoint.tsx:172
|
||||
#, c-format
|
||||
msgid "All done, your transaction is in progress"
|
||||
msgstr ""
|
||||
|
@ -99,7 +99,7 @@ msgstr ""
|
||||
msgid "Deposit %1$s"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/BalancePage.tsx:118
|
||||
#: src/popup/BalancePage.tsx:120
|
||||
#, c-format
|
||||
msgid "Enter URI"
|
||||
msgstr ""
|
||||
@ -240,6 +240,11 @@ msgstr ""
|
||||
msgid "This page has a notify reserve action."
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:114
|
||||
#, c-format
|
||||
msgid "Notify"
|
||||
msgstr ""
|
||||
|
||||
#: src/popup/TalerActionFound.tsx:121
|
||||
#, c-format
|
||||
msgid "This page has a refund action."
|
||||
@ -587,7 +592,7 @@ msgstr ""
|
||||
msgid "Backup valid until"
|
||||
msgstr ""
|
||||
|
||||
#: src/popupEntryPoint.tsx:184
|
||||
#: src/popupEntryPoint.tsx:187
|
||||
#, c-format
|
||||
msgid "this popup is being closed and you are being redirected to %1$s"
|
||||
msgstr ""
|
||||
@ -764,64 +769,74 @@ msgstr ""
|
||||
msgid "Cancel withdrawal"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:84
|
||||
#: src/wallet/Settings.tsx:89
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgid "Display"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:87
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#, c-format
|
||||
msgid "Current Language"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:102
|
||||
#, c-format
|
||||
msgid "Navigator"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:105
|
||||
#, c-format
|
||||
msgid "Automatically open wallet based on page content"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#: src/wallet/Settings.tsx:111
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Enabling this option below will make using the wallet faster, but requires more "
|
||||
"permissions from your browser."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:104
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgid "Trust"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:108
|
||||
#: src/wallet/Settings.tsx:126
|
||||
#, c-format
|
||||
msgid "No exchange yet"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#: src/wallet/Settings.tsx:140
|
||||
#, c-format
|
||||
msgid "Term of Service"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:138
|
||||
#: src/wallet/Settings.tsx:156
|
||||
#, c-format
|
||||
msgid "ok"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:144
|
||||
#: src/wallet/Settings.tsx:162
|
||||
#, c-format
|
||||
msgid "changed"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:151
|
||||
#: src/wallet/Settings.tsx:169
|
||||
#, c-format
|
||||
msgid "not accepted"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:175
|
||||
#: src/wallet/Settings.tsx:193
|
||||
#, c-format
|
||||
msgid "Add an exchange"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:181
|
||||
#: src/wallet/Settings.tsx:199
|
||||
#, c-format
|
||||
msgid "Developer mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:183
|
||||
#: src/wallet/Settings.tsx:201
|
||||
#, c-format
|
||||
msgid "(More options and information useful for debugging)"
|
||||
msgstr ""
|
||||
@ -993,6 +1008,11 @@ msgstr ""
|
||||
msgid "Thank you for installing the wallet."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:66
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:75
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1205,6 +1225,11 @@ msgstr ""
|
||||
msgid "Total to withdraw"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:171
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:187
|
||||
#, c-format
|
||||
msgid "Cancel exchange selection"
|
||||
@ -1250,7 +1275,7 @@ msgstr ""
|
||||
msgid "Could not load the list of known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/walletEntryPoint.tsx:171
|
||||
#: src/walletEntryPoint.tsx:172
|
||||
#, c-format
|
||||
msgid "All done, your transaction is in progress"
|
||||
msgstr ""
|
||||
|
@ -123,64 +123,74 @@ msgstr ""
|
||||
msgid "Cancel withdrawal"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:84
|
||||
#: src/wallet/Settings.tsx:89
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgid "Display"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:87
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#, c-format
|
||||
msgid "Current Language"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:102
|
||||
#, c-format
|
||||
msgid "Navigator"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:105
|
||||
#, c-format
|
||||
msgid "Automatically open wallet based on page content"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:93
|
||||
#: src/wallet/Settings.tsx:111
|
||||
#, c-format
|
||||
msgid ""
|
||||
"Enabling this option below will make using the wallet faster, but requires "
|
||||
"more permissions from your browser."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:104
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgid "Trust"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:108
|
||||
#: src/wallet/Settings.tsx:126
|
||||
#, c-format
|
||||
msgid "No exchange yet"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:122
|
||||
#: src/wallet/Settings.tsx:140
|
||||
#, c-format
|
||||
msgid "Term of Service"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:138
|
||||
#: src/wallet/Settings.tsx:156
|
||||
#, c-format
|
||||
msgid "ok"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:144
|
||||
#: src/wallet/Settings.tsx:162
|
||||
#, c-format
|
||||
msgid "changed"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:151
|
||||
#: src/wallet/Settings.tsx:169
|
||||
#, c-format
|
||||
msgid "not accepted"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:175
|
||||
#: src/wallet/Settings.tsx:193
|
||||
#, c-format
|
||||
msgid "Add an exchange"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:181
|
||||
#: src/wallet/Settings.tsx:199
|
||||
#, c-format
|
||||
msgid "Developer mode"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Settings.tsx:183
|
||||
#: src/wallet/Settings.tsx:201
|
||||
#, c-format
|
||||
msgid "(More options and information useful for debugging)"
|
||||
msgstr ""
|
||||
@ -352,6 +362,11 @@ msgstr ""
|
||||
msgid "Thank you for installing the wallet."
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:66
|
||||
#, c-format
|
||||
msgid "Permissions"
|
||||
msgstr ""
|
||||
|
||||
#: src/wallet/Welcome.tsx:75
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -564,6 +579,11 @@ msgstr ""
|
||||
msgid "Total to withdraw"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:171
|
||||
#, c-format
|
||||
msgid "Known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/cta/Withdraw.tsx:187
|
||||
#, c-format
|
||||
msgid "Cancel exchange selection"
|
||||
@ -609,7 +629,7 @@ msgstr ""
|
||||
msgid "Could not load the list of known exchanges"
|
||||
msgstr ""
|
||||
|
||||
#: src/walletEntryPoint.tsx:171
|
||||
#: src/walletEntryPoint.tsx:172
|
||||
#, c-format
|
||||
msgid "All done, your transaction is in progress"
|
||||
msgstr ""
|
||||
|
@ -108,7 +108,9 @@ export function BalanceView({
|
||||
</ButtonPrimary>
|
||||
{currencyWithNonZeroAmount.length > 0 && (
|
||||
<MultiActionButton
|
||||
label={(s) => <i18n.Translate>Deposit {s}</i18n.Translate>}
|
||||
label={(s) => (
|
||||
<i18n.Translate debug>Deposit {<span>{s}</span>}</i18n.Translate>
|
||||
)}
|
||||
actions={currencyWithNonZeroAmount}
|
||||
onClick={(c) => goToWalletDeposit(c)}
|
||||
/>
|
||||
|
@ -111,7 +111,7 @@ export function TalerActionFound({ url, onDismiss }: Props) {
|
||||
navigateTo(actionForTalerUri(uriType, url));
|
||||
}}
|
||||
>
|
||||
Notify
|
||||
<i18n.Translate>Notify</i18n.Translate>
|
||||
</ButtonSuccess>
|
||||
</div>
|
||||
)}
|
||||
|
@ -29,6 +29,7 @@ import { useEffect } from "preact/hooks";
|
||||
import { PopupBox } from "./components/styled";
|
||||
import { DevContextProvider } from "./context/devContext";
|
||||
import { IoCProviderForRuntime } from "./context/iocContext";
|
||||
import { TranslationProvider } from "./context/translation";
|
||||
import { useTalerActionURL } from "./hooks/useTalerActionURL";
|
||||
import { strings } from "./i18n/strings";
|
||||
import { Pages, PopupNavBar } from "./NavigationBar";
|
||||
@ -77,7 +78,7 @@ function CheckTalerActionComponent(): VNode {
|
||||
function Application(): VNode {
|
||||
const hash_history = createHashHistory();
|
||||
return (
|
||||
// <div>
|
||||
<TranslationProvider>
|
||||
<DevContextProvider>
|
||||
{({ devMode }: { devMode: boolean }) => (
|
||||
<IoCProviderForRuntime>
|
||||
@ -91,7 +92,9 @@ function Application(): VNode {
|
||||
path={Pages.balance}
|
||||
component={BalancePage}
|
||||
goToWalletManualWithdraw={() =>
|
||||
route(Pages.balance_manual_withdraw.replace(":currency?", ""))
|
||||
route(
|
||||
Pages.balance_manual_withdraw.replace(":currency?", ""),
|
||||
)
|
||||
}
|
||||
goToWalletDeposit={(currency: string) =>
|
||||
route(Pages.balance_deposit.replace(":currency", currency))
|
||||
@ -162,7 +165,7 @@ function Application(): VNode {
|
||||
</IoCProviderForRuntime>
|
||||
)}
|
||||
</DevContextProvider>
|
||||
// </div>
|
||||
</TranslationProvider>
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -17,13 +17,16 @@
|
||||
import { ExchangeListItem, i18n, Translate } from "@gnu-taler/taler-util";
|
||||
import { Fragment, h, VNode } from "preact";
|
||||
import { Checkbox } from "../components/Checkbox";
|
||||
import { SelectList } from "../components/SelectList";
|
||||
import {
|
||||
DestructiveText,
|
||||
Input,
|
||||
LinkPrimary,
|
||||
SuccessText,
|
||||
WarningText,
|
||||
} from "../components/styled";
|
||||
import { useDevContext } from "../context/devContext";
|
||||
import { useTranslationContext } from "../context/translation";
|
||||
import { useAsyncAsHook } from "../hooks/useAsyncAsHook";
|
||||
import { useBackupDeviceName } from "../hooks/useBackupDeviceName";
|
||||
import { useExtendedPermissions } from "../hooks/useExtendedPermissions";
|
||||
@ -36,13 +39,13 @@ export function SettingsPage(): VNode {
|
||||
const [permissionsEnabled, togglePermissions] = useExtendedPermissions();
|
||||
const { devMode, toggleDevMode } = useDevContext();
|
||||
const { name, update } = useBackupDeviceName();
|
||||
const [lang, changeLang] = useLang();
|
||||
// const [lang, changeLang] = useLang();
|
||||
const exchangesHook = useAsyncAsHook(wxApi.listExchanges);
|
||||
|
||||
return (
|
||||
<SettingsView
|
||||
lang={lang}
|
||||
changeLang={changeLang}
|
||||
// lang={lang}
|
||||
// changeLang={changeLang}
|
||||
knownExchanges={
|
||||
!exchangesHook || exchangesHook.hasError
|
||||
? []
|
||||
@ -59,8 +62,8 @@ export function SettingsPage(): VNode {
|
||||
}
|
||||
|
||||
export interface ViewProps {
|
||||
lang: string;
|
||||
changeLang: (s: string) => void;
|
||||
// lang: string;
|
||||
// changeLang: (s: string) => void;
|
||||
deviceName: string;
|
||||
setDeviceName: (s: string) => Promise<void>;
|
||||
permissionsEnabled: boolean;
|
||||
@ -77,11 +80,26 @@ export function SettingsView({
|
||||
developerMode,
|
||||
toggleDeveloperMode,
|
||||
}: ViewProps): VNode {
|
||||
const { lang, supportedLang, changeLanguage } = useTranslationContext();
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<section>
|
||||
<h2>
|
||||
<i18n.Translate>Permissions</i18n.Translate>
|
||||
<i18n.Translate>Display</i18n.Translate>
|
||||
</h2>
|
||||
<Input>
|
||||
<SelectList
|
||||
label={<i18n.Translate>Current Language</i18n.Translate>}
|
||||
list={supportedLang}
|
||||
name="lang"
|
||||
value={lang}
|
||||
onChange={(v) => changeLanguage(v)}
|
||||
/>
|
||||
</Input>
|
||||
|
||||
<h2>
|
||||
<i18n.Translate>Navigator</i18n.Translate>
|
||||
</h2>
|
||||
<Checkbox
|
||||
label={
|
||||
@ -101,7 +119,7 @@ export function SettingsView({
|
||||
/>
|
||||
|
||||
<h2>
|
||||
<i18n.Translate>Known exchanges</i18n.Translate>
|
||||
<i18n.Translate>Trust</i18n.Translate>
|
||||
</h2>
|
||||
{!knownExchanges || !knownExchanges.length ? (
|
||||
<div>
|
||||
@ -176,7 +194,7 @@ export function SettingsView({
|
||||
</LinkPrimary>
|
||||
</div>
|
||||
|
||||
<h2>Config</h2>
|
||||
<h2>Troubleshooting</h2>
|
||||
<Checkbox
|
||||
label={<i18n.Translate>Developer mode</i18n.Translate>}
|
||||
name="devMode"
|
||||
|
@ -35,6 +35,7 @@ import {
|
||||
} from "./components/styled";
|
||||
import { DevContextProvider } from "./context/devContext";
|
||||
import { IoCProviderForRuntime } from "./context/iocContext";
|
||||
import { TranslationProvider } from "./context/translation";
|
||||
import { PayPage } from "./cta/Pay";
|
||||
import { RefundPage } from "./cta/Refund";
|
||||
import { TipPage } from "./cta/Tip";
|
||||
@ -93,7 +94,7 @@ function Application(): VNode {
|
||||
}
|
||||
}
|
||||
return (
|
||||
<div>
|
||||
<TranslationProvider>
|
||||
<DevContextProvider>
|
||||
{({ devMode }: { devMode: boolean }) => (
|
||||
<IoCProviderForRuntime>
|
||||
@ -262,7 +263,7 @@ function Application(): VNode {
|
||||
</IoCProviderForRuntime>
|
||||
)}
|
||||
</DevContextProvider>
|
||||
</div>
|
||||
</TranslationProvider>
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user