summaryrefslogtreecommitdiff
path: root/src/i18n/translations/components/scotsoun.ts
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/components/scotsoun.ts
parent3d6bc8137220f483ef87ba0aa059568711d0e287 (diff)
Adds Scotsoun
Diffstat (limited to 'src/i18n/translations/components/scotsoun.ts')
-rw-r--r--src/i18n/translations/components/scotsoun.ts24
1 files changed, 24 insertions, 0 deletions
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>;