summaryrefslogtreecommitdiff
path: root/src/i18n
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-26 17:07:28 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-26 17:07:28 +0100
commit587dc0c30cd2b42e384864788205f2c150a17f2b (patch)
tree4b6e903d0803a635e01f93b21629228ee7227bc0 /src/i18n
parent5e5cc2634edfcb3528accdcfd2f60d31dc33edfe (diff)
Adds 404 page
Diffstat (limited to 'src/i18n')
-rw-r--r--src/i18n/translations/pages/404.ts21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/i18n/translations/pages/404.ts b/src/i18n/translations/pages/404.ts
new file mode 100644
index 0000000..d28d297
--- /dev/null
+++ b/src/i18n/translations/pages/404.ts
@@ -0,0 +1,21 @@
+import type { TranslationsDictionary } from '$types/TranslationsDictionary';
+
+const tPage = {
+ title: {
+ sco: () => 'Page no fund',
+ 'en-GB': () => 'Page not found',
+ },
+ message: {
+ sco: () => `
+ Yon page disna exeist. Try gaein til oor
+ <a href="/sco" class="link">hame page</a>?
+ `,
+ 'en-GB': () => `
+ That page doesn’t exist. Try going to our
+ <a href="/en-GB" class="link">home page</a>?
+ `,
+ },
+};
+
+type Raw = typeof tPage;
+export default tPage as TranslationsDictionary<Raw>;