From 35c242f6abb614e1d545fb8a2a1180a451c22a54 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sun, 27 Aug 2023 18:26:45 +0100 Subject: Scotsoun release title includes ID --- src/i18n/translations/pages/scotsounRelease.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/i18n/translations/pages/scotsounRelease.ts (limited to 'src/i18n') diff --git a/src/i18n/translations/pages/scotsounRelease.ts b/src/i18n/translations/pages/scotsounRelease.ts new file mode 100644 index 0000000..d4036d8 --- /dev/null +++ b/src/i18n/translations/pages/scotsounRelease.ts @@ -0,0 +1,14 @@ +import type ScotsounId from '$types/ScotsounId'; +import type { TranslationsDictionary } from '$types/TranslationsDictionary'; + +const tPage = { + title: { + sco: ({ scotsounId, name }: { scotsounId: ScotsounId; name: string }) => + `${name} (Scotsoun SSCD${scotsounId})`, + 'en-GB': ({ scotsounId, name }: { scotsounId: ScotsounId; name: string }) => + `${name} (Scotsoun SSCD${scotsounId})`, + }, +}; + +type Raw = typeof tPage; +export default tPage as TranslationsDictionary; -- cgit v1.2.3