From e0c5ec43f5c2a105dc3c626d7c4bc74b512662f4 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sat, 12 Aug 2023 17:22:33 +0100 Subject: Parameterises translation --- src/components/LallansIssue.astro | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'src/components/LallansIssue.astro') diff --git a/src/components/LallansIssue.astro b/src/components/LallansIssue.astro index 915c17d..d60e2fe 100644 --- a/src/components/LallansIssue.astro +++ b/src/components/LallansIssue.astro @@ -1,11 +1,11 @@ --- -import translate from "../i18n/translate"; +import translate from '../i18n/translate'; import tSite from '../i18n/translations/site'; -import type LallansIssue from "../types/LallansIssue"; -import type Locale from "../types/Locale"; -import LallansIssueContributions from "./LallansIssueContributions.astro"; -import LallansIssueContributors from "./LallansIssueContributors.astro"; -import PayPalButtons from "./PayPalButtons.astro"; +import type LallansIssue from '../types/LallansIssue'; +import type Locale from '../types/Locale'; +import LallansIssueContributions from './LallansIssueContributions.astro'; +import LallansIssueContributors from './LallansIssueContributors.astro'; +import PayPalButtons from './PayPalButtons.astro'; interface Props { issue: LallansIssue; @@ -18,8 +18,8 @@ const t = translate(locale);
{ issue.description[locale] }
+{issue.description[locale]}