diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/Balance.svelte | 2 | ||||
| -rw-r--r-- | src/locales/en.json | 3 | ||||
| -rw-r--r-- | src/locales/es.json | 3 | ||||
| -rw-r--r-- | src/locales/pt.json | 3 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+page.svelte | 5 |
5 files changed, 12 insertions, 4 deletions
diff --git a/src/components/Balance.svelte b/src/components/Balance.svelte index fddaae3e..bc60a159 100644 --- a/src/components/Balance.svelte +++ b/src/components/Balance.svelte @@ -16,7 +16,7 @@ {#if user.haspin && !$pin} <button class="text-sm md:text-lg rounded-full border py-2 px-4 hover:opacity-80 min-w-[72px] bg-black text-white" - on:click={() => (show = true)}>Show Balance</button + on:click={() => (show = true)}>{$t('user.showBalance')}</button > {:else} <div class="text-5xl font-bold tabular-nums"> diff --git a/src/locales/en.json b/src/locales/en.json index 28f7db2b..c61c4655 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -140,6 +140,9 @@ "update1": "" }, "user": { + "requestPayment": "Request Payment", + "welcome": "Welcome! Your account balance is empty. You can start by making a deposit or by asking someone to pay you.", + "showBalance": "Show Balance", "bitcoin": "Bitcoin", "lightning": "Lightning", "invoice": "Invoice", diff --git a/src/locales/es.json b/src/locales/es.json index 9f6c6e1b..ad2c7c59 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -139,6 +139,9 @@ "update1": "" }, "user": { + "requestPayment": "Solicitar pago", + "welcome": "¡Bienvenido! El saldo de su cuenta está vacío. Puede comenzar haciendo un depósito o pidiéndole a alguien que le pague.", + "showBalance": "Mostrar saldo", "bitcoin": "Bitcoin", "lightning": "Lightning", "invoice": "Factura", diff --git a/src/locales/pt.json b/src/locales/pt.json index 309511f9..820aaf7e 100644 --- a/src/locales/pt.json +++ b/src/locales/pt.json @@ -140,6 +140,9 @@ "update1": "" }, "user": { + "requestPayment": "Gerar fatura", + "welcome": "Bem-vindo! O saldo da sua conta está vazio. Você pode começar fazendo um depósito ou recebendo um pagamento.", + "showBalance": "Mostrar Saldo", "bitcoin": "Bitcoin", "lightning": "Lightning", "invoice": "Fatura", diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index 308289b0..0b09f85c 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -87,8 +87,7 @@ {#if !user.balance} <div class="space-y-8 mt-8"> <p class="text-secondary text-lg"> - Welcome! Your account balance is empty. You can start by making a deposit or by asking - someone to pay you. + {$t("user.welcome")} </p> <div class="flex gap-4 justify-center w-full"> @@ -98,7 +97,7 @@ > <div class="mx-auto flex"> <Icon icon="numpad" style="my-auto h-6 mr-2 invert" /> - <div class="my-auto mt-1">Request Payment</div> + <div class="my-auto mt-1">{$t("user.requestPayment")}</div> </div> </button> </a> |
