aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-03-13 20:22:37 -0700
committerAdam Soltys <[email protected]>2023-03-13 20:22:37 -0700
commit45063c606338af61fce751adc99b4369956ec163 (patch)
treef03425049eb0bd34c1203d7ea9ea0fd563eac1ee /src/routes/(app)
parent77219cc4fa9e75d2ca2f740f024c17aa5dda9129 (diff)
downloadcoinos-ui-45063c606338af61fce751adc99b4369956ec163.tar.gz
coinos-ui-45063c606338af61fce751adc99b4369956ec163.zip
translations update
Diffstat (limited to 'src/routes/(app)')
-rw-r--r--src/routes/(app)/[username]/(profile)/followers/+page.svelte3
-rw-r--r--src/routes/(app)/[username]/(profile)/follows/+page.svelte3
-rw-r--r--src/routes/(app)/[username]/settings/[...tab]/+page.svelte2
-rw-r--r--src/routes/(app)/sent/+page.svelte2
4 files changed, 6 insertions, 4 deletions
diff --git a/src/routes/(app)/[username]/(profile)/followers/+page.svelte b/src/routes/(app)/[username]/(profile)/followers/+page.svelte
index 77b337b6..9c425449 100644
--- a/src/routes/(app)/[username]/(profile)/followers/+page.svelte
+++ b/src/routes/(app)/[username]/(profile)/followers/+page.svelte
@@ -1,4 +1,5 @@
<script>
+ import { t } from '$lib/translations';
import { Avatar } from '$comp';
import { browser } from '$app/environment';
import VirtualScroll from 'svelte-virtual-scroll-list';
@@ -14,7 +15,7 @@
<svelte:window bind:innerWidth={w} />
<div class="px-3 md:px-0 w-full md:w-[400px] mx-auto space-y-8">
- <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">Followers</h1>
+ <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">{$t('user.followers')}</h1>
{#if browser}
{#if followers.length}
diff --git a/src/routes/(app)/[username]/(profile)/follows/+page.svelte b/src/routes/(app)/[username]/(profile)/follows/+page.svelte
index 78566fc4..b6256a71 100644
--- a/src/routes/(app)/[username]/(profile)/follows/+page.svelte
+++ b/src/routes/(app)/[username]/(profile)/follows/+page.svelte
@@ -1,4 +1,5 @@
<script>
+ import { t } from '$lib/translations';
import { Avatar } from '$comp';
import { browser } from '$app/environment';
import VirtualScroll from 'svelte-virtual-scroll-list';
@@ -13,7 +14,7 @@
<svelte:window bind:innerWidth={w} />
<div class="px-3 md:px-0 w-full md:w-[400px] mx-auto space-y-8">
- <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">Following</h1>
+ <h1 class="px-3 md:px-0 text-center text-3xl md:text-4xl font-semibold">{$t('user.following')}</h1>
{#if browser}
{#if follows.length}
diff --git a/src/routes/(app)/[username]/settings/[...tab]/+page.svelte b/src/routes/(app)/[username]/settings/[...tab]/+page.svelte
index 5638a22b..06e80c8c 100644
--- a/src/routes/(app)/[username]/settings/[...tab]/+page.svelte
+++ b/src/routes/(app)/[username]/settings/[...tab]/+page.svelte
@@ -150,7 +150,7 @@
{#if loading}
<Spinner />
{:else}
- <div class="my-auto">Save Settings</div>
+ <div class="my-auto">{$t('user.settings.saveSettings')}</div>
{/if}
</button>
</div>
diff --git a/src/routes/(app)/sent/+page.svelte b/src/routes/(app)/sent/+page.svelte
index 760d2e1d..72973c50 100644
--- a/src/routes/(app)/sent/+page.svelte
+++ b/src/routes/(app)/sent/+page.svelte
@@ -20,7 +20,7 @@
<div class="flex w-full max-w-[200px] mx-auto py-20" in:scale={{ start: 0.5 }}>
<Icon icon="check" style="mx-auto" />
</div>
- <h1 class="text-3xl md:text-4xl font-bold mb-6">Sent!</h1>
+ <h1 class="text-3xl md:text-4xl font-bold mb-6">{$t('payments.sent')}!</h1>
<h2 class="text-2xl md:text-3xl font-semibold">
{f(fiat(amount, rate), currency)}
{#if tip}