summaryrefslogtreecommitdiff
path: root/src/i18n/translations
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-13 20:12:53 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-13 20:12:53 +0100
commitf6d45f7b9374444ae1ab751a213d86827b64eb8f (patch)
tree75ded0ecc1bb3c58086fdbf65dc84e2f476ca9b5 /src/i18n/translations
parent3d6bc8137220f483ef87ba0aa059568711d0e287 (diff)
Adds Scotsoun
Diffstat (limited to 'src/i18n/translations')
-rw-r--r--src/i18n/translations/components/breadcrumbs.ts4
-rw-r--r--src/i18n/translations/components/scotsoun.ts24
-rw-r--r--src/i18n/translations/pages/scotsounGallery.ts11
-rw-r--r--src/i18n/translations/pages/scotsounPaymentSuccessConfirmation.ts27
4 files changed, 66 insertions, 0 deletions
diff --git a/src/i18n/translations/components/breadcrumbs.ts b/src/i18n/translations/components/breadcrumbs.ts
index 3db3f2f..8e7928f 100644
--- a/src/i18n/translations/components/breadcrumbs.ts
+++ b/src/i18n/translations/components/breadcrumbs.ts
@@ -18,6 +18,10 @@ const breadcrumbsTranslations = {
sco: () => 'Lallans',
'en-GB': () => 'Lallans',
},
+ '/furthsettins/scotsoun/': {
+ sco: () => 'Scotsoun',
+ 'en-GB': () => 'Scotsoun',
+ },
...Object.fromEntries(
Object.keys(getLallansIssue).map((lallansIssueNumber) => [
`/furthsettins/lallans/${lallansIssueNumber}/`,
diff --git a/src/i18n/translations/components/scotsoun.ts b/src/i18n/translations/components/scotsoun.ts
new file mode 100644
index 0000000..51017a7
--- /dev/null
+++ b/src/i18n/translations/components/scotsoun.ts
@@ -0,0 +1,24 @@
+import tSite from '../site';
+import type { TranslationsDictionary } from '$types/TranslationsDictionary';
+import type Date from '$types/Date';
+import { defaultLocale } from '$i18n/locales';
+
+const scotsounTranslations = {
+ 'cover-artist': {
+ sco: ({ coverArtist }: { coverArtist: string }) => `Cover airtist: ${coverArtist}.`,
+ 'en-GB': ({ coverArtist }: { coverArtist: string }) => `Cover airtist: ${coverArtist}.`,
+ },
+ 'release-date': {
+ sco: ({ releaseDate }: { releaseDate: Date }) => {
+ const tDate = tSite['long-date']['sco'];
+ return `Releast: ${tDate({ date: releaseDate })}`;
+ },
+ 'en-GB': ({ releaseDate }: { releaseDate: Date }) => {
+ const tDate = tSite['long-date']['en-GB'] ?? tSite['long-date'][defaultLocale];
+ return `Released: ${tDate({ date: releaseDate })}`;
+ },
+ },
+};
+
+type Raw = typeof scotsounTranslations;
+export default scotsounTranslations as TranslationsDictionary<Raw>;
diff --git a/src/i18n/translations/pages/scotsounGallery.ts b/src/i18n/translations/pages/scotsounGallery.ts
new file mode 100644
index 0000000..58de8ef
--- /dev/null
+++ b/src/i18n/translations/pages/scotsounGallery.ts
@@ -0,0 +1,11 @@
+import type { TranslationsDictionary } from '$types/TranslationsDictionary';
+
+const scotsounGalleryTranslations = {
+ title: {
+ sco: () => 'Scotsoun',
+ 'en-GB': () => 'Scotsoun',
+ },
+};
+
+type Raw = typeof scotsounGalleryTranslations;
+export default scotsounGalleryTranslations as TranslationsDictionary<Raw>;
diff --git a/src/i18n/translations/pages/scotsounPaymentSuccessConfirmation.ts b/src/i18n/translations/pages/scotsounPaymentSuccessConfirmation.ts
new file mode 100644
index 0000000..3089a4d
--- /dev/null
+++ b/src/i18n/translations/pages/scotsounPaymentSuccessConfirmation.ts
@@ -0,0 +1,27 @@
+import type ScotsounId from '$types/ScotsounId';
+import type { TranslationsDictionary } from '$types/TranslationsDictionary';
+
+const scotsounPaymentSuccessConfirmation = {
+ title: {
+ sco: () => 'Payment Success',
+ 'en-GB': () => 'Payment Success',
+ },
+ 'payment-confirmation-message': {
+ sco: ({ scotsounId }: { scotsounId: ScotsounId }) => `
+ Gin ye hae been sent til this page, at means ye hae successfully ordered
+ Scotsoun ${scotsounId} an we’ll be pittin it in the post fur ye belyve!
+ `,
+ 'en-GB': ({ scotsounId }: { scotsounId: ScotsounId }) => `
+ If you have been directed to this page, that means you have successfully
+ ordered Scotsoun ${scotsounId} and we shall be putting it in the post for
+ you right away!
+ `,
+ },
+ 'back-button-text': {
+ sco: ({ scotsounId }: { scotsounId: ScotsounId }) => `Retour til Scotsoun ${scotsounId}`,
+ 'en-GB': ({ scotsounId }: { scotsounId: ScotsounId }) => `Return to Scotsoun ${scotsounId}`,
+ },
+};
+
+type Raw = typeof scotsounPaymentSuccessConfirmation;
+export default scotsounPaymentSuccessConfirmation as TranslationsDictionary<Raw>;