diff options
| author | secondl1ght <[email protected]> | 2022-08-22 20:26:31 -0400 |
|---|---|---|
| committer | secondl1ght <[email protected]> | 2022-08-22 20:26:31 -0400 |
| commit | eeb4f8e9c4e909da916aeae6adb9699aaa765604 (patch) | |
| tree | be41ac752d4fd352b0c71c36dc89788f686fdf16 /src | |
| parent | 5f1014b41fab3ecb67e033e270e19060ad2af88f (diff) | |
| download | coinos-ui-eeb4f8e9c4e909da916aeae6adb9699aaa765604.tar.gz coinos-ui-eeb4f8e9c4e909da916aeae6adb9699aaa765604.zip | |
format
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/About.svelte | 3 | ||||
| -rw-r--r-- | src/components/LocaleSelector.svelte | 2 | ||||
| -rw-r--r-- | src/lib/translations/index.js | 4 | ||||
| -rw-r--r-- | src/lib/translations/lang.json | 4 | ||||
| -rw-r--r-- | src/routes/+layout.server.js | 2 | ||||
| -rw-r--r-- | src/routes/[username]/receive/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/invoice/[id]/+page.svelte | 2 |
7 files changed, 9 insertions, 10 deletions
diff --git a/src/components/About.svelte b/src/components/About.svelte index 257fc49c..794a5107 100644 --- a/src/components/About.svelte +++ b/src/components/About.svelte @@ -56,8 +56,7 @@ <ul class="w-full mx-auto md:w-[700px] lg:w-[500px] xl:w-auto text-secondary px-1 md:px-10 text-xl list-disc space-y-5" - > - </ul> + /> </div> <div class="mt-20"> diff --git a/src/components/LocaleSelector.svelte b/src/components/LocaleSelector.svelte index 4672a564..ec5bc781 100644 --- a/src/components/LocaleSelector.svelte +++ b/src/components/LocaleSelector.svelte @@ -1,5 +1,5 @@ <script> - import { locale, locales } from '$lib/translations'; + import { locale, locales } from '$lib/translations'; export let style; </script> diff --git a/src/lib/translations/index.js b/src/lib/translations/index.js index 2bc5477e..023da884 100644 --- a/src/lib/translations/index.js +++ b/src/lib/translations/index.js @@ -2,8 +2,8 @@ import i18n from 'sveltekit-i18n'; import translations from './translations'; const config = { - initLocale: 'en', - translations, + initLocale: 'en', + translations }; export const { t, l, locales, locale } = new i18n(config); diff --git a/src/lib/translations/lang.json b/src/lib/translations/lang.json index 28d8fb36..6cf55908 100644 --- a/src/lib/translations/lang.json +++ b/src/lib/translations/lang.json @@ -1,4 +1,4 @@ { - "en": "English", - "fr": "French" + "en": "English", + "fr": "French" } diff --git a/src/routes/+layout.server.js b/src/routes/+layout.server.js index ddce4b31..2d95a899 100644 --- a/src/routes/+layout.server.js +++ b/src/routes/+layout.server.js @@ -1,4 +1,4 @@ -import { error } from "@sveltejs/kit"; +import { error } from '@sveltejs/kit'; import cookie from 'cookie'; import { protectedRoutes } from '$lib/utils'; import { get } from '$lib/utils'; diff --git a/src/routes/[username]/receive/+page.svelte b/src/routes/[username]/receive/+page.svelte index 3ac2aa27..181f8ea6 100644 --- a/src/routes/[username]/receive/+page.svelte +++ b/src/routes/[username]/receive/+page.svelte @@ -5,7 +5,7 @@ import { invoiceAmount, invoiceAmountFiat, selectedRate, user } from '$lib/store'; import { post, warning } from '$lib/utils'; import { page } from '$app/stores'; - import { t } from '$lib/translations'; + import { t } from '$lib/translations'; let useFiat = true; let amountFiat = 0; diff --git a/src/routes/invoice/[id]/+page.svelte b/src/routes/invoice/[id]/+page.svelte index 67105831..19809f9f 100644 --- a/src/routes/invoice/[id]/+page.svelte +++ b/src/routes/invoice/[id]/+page.svelte @@ -6,7 +6,7 @@ import { goto } from '$app/navigation'; import { onMount } from 'svelte'; import { copy } from '$lib/utils'; - import { t } from '$lib/translations'; + import { t } from '$lib/translations'; export let data; $: ({ amount, id, rate, status, text, username } = data); |
