summaryrefslogtreecommitdiff
path: root/src/i18n/translations/components/newsIndex.ts
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-20 07:57:21 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-20 07:57:21 +0100
commit869976b711d862581d1d99bf884dd166b1ecdf3b (patch)
tree966024bf1d14ffbc36d719d51ab8d2b88b5b3f15 /src/i18n/translations/components/newsIndex.ts
parent863b292304fe130f8a91b191c3b844521ef19ac3 (diff)
Pulls out NewsIndex Astro component
Diffstat (limited to 'src/i18n/translations/components/newsIndex.ts')
-rw-r--r--src/i18n/translations/components/newsIndex.ts19
1 files changed, 19 insertions, 0 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>;