From 83144491ded4bb483bf74125794294c58b193b7e Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Tue, 15 Aug 2023 17:50:43 +0100 Subject: Pulls out NewsPreviewLink --- src/i18n/translations/components/newsPreviewLink.ts | 11 +++++++++++ src/i18n/translations/pages/news.ts | 4 ---- 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 src/i18n/translations/components/newsPreviewLink.ts (limited to 'src/i18n') diff --git a/src/i18n/translations/components/newsPreviewLink.ts b/src/i18n/translations/components/newsPreviewLink.ts new file mode 100644 index 0000000..98b2dd9 --- /dev/null +++ b/src/i18n/translations/components/newsPreviewLink.ts @@ -0,0 +1,11 @@ +import type { TranslationsDictionary } from '$types/TranslationsDictionary'; + +const tNewsPreviewLink = { + 'read-article': { + sco: () => 'Read fu airticle', + 'en-GB': () => 'Read full article', + }, +}; + +type Raw = typeof tNewsPreviewLink; +export default tNewsPreviewLink as TranslationsDictionary; diff --git a/src/i18n/translations/pages/news.ts b/src/i18n/translations/pages/news.ts index 0cc411a..22517d1 100644 --- a/src/i18n/translations/pages/news.ts +++ b/src/i18n/translations/pages/news.ts @@ -5,10 +5,6 @@ const tPage = { sco: () => 'News', 'en-GB': () => 'News', }, - 'read-article': { - sco: () => 'Read fu airticle', - 'en-GB': () => 'Read full article', - }, 'no-news': { sco: () => 'The ar nae news at the present time. Caw again later!', 'en-GB': () => 'There is no news at the current time. Check in again later!', -- cgit v1.2.3