From 7781c69153e3956ca14684fe9a287fbbb8a01082 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sun, 13 Aug 2023 20:41:29 +0100 Subject: Determines current locale with lib function --- src/pages/[locale]/furthsettins/index.astro | 2 +- src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro | 4 ++-- .../lallans/[issueNumber]/payment-success-confirmation.astro | 2 +- src/pages/[locale]/furthsettins/lallans/index.astro | 4 ++-- src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro | 4 ++-- .../scotsoun/[scotsounId]/payment-success-confirmation.astro | 2 +- src/pages/[locale]/furthsettins/scotsoun/index.astro | 4 ++-- src/pages/[locale]/index.astro | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/pages') diff --git a/src/pages/[locale]/furthsettins/index.astro b/src/pages/[locale]/furthsettins/index.astro index 43ff28e..eb4c92a 100644 --- a/src/pages/[locale]/furthsettins/index.astro +++ b/src/pages/[locale]/furthsettins/index.astro @@ -15,7 +15,7 @@ const locale = Astro.params.locale as Locale; const t = translate(locale); --- - +

Furthsettins

diff --git a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro index 25da7e6..48f1947 100644 --- a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro +++ b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/index.astro @@ -21,6 +21,6 @@ const issueNumber = new Number(Astro.params.issueNumber).valueOf() as LallansIss const issue = await getLallansIssue[issueNumber](); --- - - + + diff --git a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro index 4a26146..2f0a9d4 100644 --- a/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro +++ b/src/pages/[locale]/furthsettins/lallans/[issueNumber]/payment-success-confirmation.astro @@ -19,7 +19,7 @@ const t = translate(locale); const issueNumber = new Number(Astro.params.issueNumber).valueOf() as LallansIssueNumber; --- - +

{t(tPage, { key: 'title' })}

{t(tPage, { key: 'payment-confirmation-message', issueNumber: `${issueNumber}` })}

diff --git a/src/pages/[locale]/furthsettins/lallans/index.astro b/src/pages/[locale]/furthsettins/lallans/index.astro index 65f7b63..3e4fd46 100644 --- a/src/pages/[locale]/furthsettins/lallans/index.astro +++ b/src/pages/[locale]/furthsettins/lallans/index.astro @@ -14,9 +14,9 @@ const locale = Astro.params.locale as Locale; const t = translate(locale); --- - +

Lallans

- +
diff --git a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro index 5b5dc82..a641561 100644 --- a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro +++ b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro @@ -22,6 +22,6 @@ const t = translate(locale); const scotsoun = await getScotsoun[scotsounId](); --- - - + + diff --git a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro index 49f1bf7..16bbdd8 100644 --- a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro +++ b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/payment-success-confirmation.astro @@ -19,7 +19,7 @@ const scotsounId = Astro.params.scotsounId as ScotsounId; const t = translate(locale); --- - +

{t(tPage, { key: 'title' })}

{t(tPage, { key: 'payment-confirmation-message', scotsounId })}

diff --git a/src/pages/[locale]/furthsettins/scotsoun/index.astro b/src/pages/[locale]/furthsettins/scotsoun/index.astro index feb86a3..ed9490c 100644 --- a/src/pages/[locale]/furthsettins/scotsoun/index.astro +++ b/src/pages/[locale]/furthsettins/scotsoun/index.astro @@ -14,9 +14,9 @@ const locale = Astro.params.locale as Locale; const t = translate(locale); --- - +

Scotsoun

- +
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index b065e50..c32ddf6 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -14,7 +14,7 @@ const locale = Astro.params.locale as Locale; const t = translate(locale); --- - +

{t(site, { key: 'title' })}

Tap-level heidin

-- cgit v1.2.3