diff options
| author | Joe Carstairs <65492573+joeacarstairs@users.noreply.github.com> | 2024-02-01 22:27:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-01 22:27:47 +0000 |
| commit | 1a8452d42f7a95e551261562cd609f5c2fb475ca (patch) | |
| tree | dc74a32ed9d46fad175b41c6acf79d54b3a81678 | |
| parent | f7528892196734b7246377d63a8804e3f435b9ba (diff) | |
Closes the Sangschaw (#78)
* Closes the Sangschaw
* Fixes syntax
---------
Co-authored-by: Joe Carstairs <65492573+Sycamost@users.noreply.github.com>
| -rw-r--r-- | src/i18n/translations/pages/home.ts | 26 | ||||
| -rw-r--r-- | src/pages/[locale]/index.astro | 1 |
2 files changed, 15 insertions, 12 deletions
diff --git a/src/i18n/translations/pages/home.ts b/src/i18n/translations/pages/home.ts index 6628682..a3bafe9 100644 --- a/src/i18n/translations/pages/home.ts +++ b/src/i18n/translations/pages/home.ts @@ -6,30 +6,24 @@ const tPage = { 'en-GB': () => 'Home', }, submit: { - sco: () => 'Sang\u00adschaw apen for submeissions', - 'en-GB': () => 'Sang\u00adschaw open for submissions', + sco: () => 'Lallans 104 apen for sub\u00admeissions', + 'en-GB': () => 'Lallans 104 open for sub\u00admissions', }, 'submit-para-1': { sco: () => ` - We ar acceptin submeissions til our annual Scots scrievin competeition, - the Sangschaw, until the 31st o Januar 2024. + We ar acceptin submeissions til Lallans 104. `, 'en-GB': () => ` - We are accepting submissions to our annual Scots writing competition, the - Sangschaw, until the 31st of January 2024. + We are accepting submissions to Lallans 104. `, }, 'submit-para-2': { sco: () => ` - Aince ye’ve read the submeission criteria in - <a href="/sco/news/2023-12-10-eiks-31"><i>Eiks an Ens</i> 31</a>, send - your submeissions til + Send us your cuttie tales, poesie and drama til <a href="mailto:lallans@hotmail.co.uk">lallans@hotmail.co.uk</a>. `, 'en-GB': () => ` - Once you’ve read the submission criteria in - <a href="/en-GB/news/2023-12-10-eiks-31"><i>Eiks an Ens</i> 31</a>, send - your submissions to + Send us your short stories, poetry and drama to <a href="mailto:lallans@hotmail.co.uk">lallans@hotmail.co.uk</a>. `, }, @@ -43,6 +37,14 @@ const tPage = { submitting for years or you’re a first-time writer! `, }, + 'sangschaw-closed': { + sco: () => ` + This year’s Sangschaw competeition closed on the 31st o Januar 2024. + `, + 'en-GB': () => ` + This year’s Sangschaw competition closed on the 31st of January 2024. + `, + }, news: { sco: () => 'Recent News', 'en-GB': () => 'Recent News', diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index d930c20..4f00eff 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -25,6 +25,7 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale); <p set:html={t(tPage, { key: 'submit-para-1' })} /> <p set:html={t(tPage, { key: 'submit-para-2' })} /> <p set:html={t(tPage, { key: 'submit-para-3' })} /> + <p><small set:html={t(tPage, { key: 'sangschaw-closed' })} /></p> </section> <section> <h2 class="grid-span-6" set:html={t(tPage, { key: 'news' })} /> |
