diff options
Diffstat (limited to 'src/i18n')
| -rw-r--r-- | src/i18n/translations/components/newsIndex.ts | 19 | ||||
| -rw-r--r-- | src/i18n/translations/components/newsPreviewLink.ts | 11 | ||||
| -rw-r--r-- | src/i18n/translations/pages/news.ts | 4 |
3 files changed, 19 insertions, 15 deletions
diff --git a/src/i18n/translations/components/newsIndex.ts b/src/i18n/translations/components/newsIndex.ts new file mode 100644 index 0000000..0511b88 --- /dev/null +++ b/src/i18n/translations/components/newsIndex.ts @@ -0,0 +1,19 @@ +import type { TranslationsDictionary } from '$types/TranslationsDictionary'; + +const tComponent = { + title: { + sco: () => 'News', + 'en-GB': () => 'News', + }, + '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!', + }, + 'read-article': { + sco: () => 'Read fu airticle', + 'en-GB': () => 'Read full article', + }, +}; + +type Raw = typeof tComponent; +export default tComponent as TranslationsDictionary<Raw>; diff --git a/src/i18n/translations/components/newsPreviewLink.ts b/src/i18n/translations/components/newsPreviewLink.ts deleted file mode 100644 index 98b2dd9..0000000 --- a/src/i18n/translations/components/newsPreviewLink.ts +++ /dev/null @@ -1,11 +0,0 @@ -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 22517d1..a794c6f 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', }, - '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!', - }, }; type Raw = typeof tPage; |
