diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-15 17:50:43 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-15 17:50:43 +0100 |
| commit | 83144491ded4bb483bf74125794294c58b193b7e (patch) | |
| tree | 69c89b20f28adee7e5631b8b433223fe077f9fb5 /src/i18n | |
| parent | a28cf885d5cac5d17bae7586ff88ea5e82bd70ff (diff) | |
Pulls out NewsPreviewLink
Diffstat (limited to 'src/i18n')
| -rw-r--r-- | src/i18n/translations/components/newsPreviewLink.ts | 11 | ||||
| -rw-r--r-- | src/i18n/translations/pages/news.ts | 4 |
2 files changed, 11 insertions, 4 deletions
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<Raw>; 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!', |
