From eeb4f8e9c4e909da916aeae6adb9699aaa765604 Mon Sep 17 00:00:00 2001 From: secondl1ght <85003930+secondl1ght@users.noreply.github.com> Date: Mon, 22 Aug 2022 20:26:31 -0400 Subject: format --- src/components/About.svelte | 3 +-- src/components/LocaleSelector.svelte | 2 +- src/lib/translations/index.js | 4 ++-- src/lib/translations/lang.json | 4 ++-- src/routes/+layout.server.js | 2 +- src/routes/[username]/receive/+page.svelte | 2 +- src/routes/invoice/[id]/+page.svelte | 2 +- 7 files changed, 9 insertions(+), 10 deletions(-) (limited to 'src') 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 @@ + />
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 @@ 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); -- cgit v1.2.3