summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/Scotsoun.astro1
-rw-r--r--src/i18n/translations/pages/scotsounRelease.ts14
-rw-r--r--src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro4
3 files changed, 17 insertions, 2 deletions
diff --git a/src/components/Scotsoun.astro b/src/components/Scotsoun.astro
index 1c2b1a0..3af652e 100644
--- a/src/components/Scotsoun.astro
+++ b/src/components/Scotsoun.astro
@@ -20,6 +20,7 @@ const t = translate(locale);
<div class="product__header-block">
<header>
<h1>{scotsoun.title}</h1>
+ <p class="italic">Scotsoun SSCD{scotsoun.scotsounId}</p>
{scotsoun?.subtitle && <p class="italic">{scotsoun.subtitle}</p>}
{
scotsoun?.author && (
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<Raw>;
diff --git a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro
index a641561..90053fe 100644
--- a/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro
+++ b/src/pages/[locale]/furthsettins/scotsoun/[scotsounId]/index.astro
@@ -1,7 +1,7 @@
---
import Page from '$layouts/Page.astro';
import localeStaticPaths from '$lib/localeStaticPaths';
-import tPage from '$i18n/translations/pages/scotsounGallery';
+import tPage from '$i18n/translations/pages/scotsounRelease';
import translate from '$i18n/translate';
import type Locale from '$types/Locale';
import { getScotsoun } from '$data/scotsoun';
@@ -22,6 +22,6 @@ const t = translate(locale);
const scotsoun = await getScotsoun[scotsounId]();
---
-<Page title={t(tPage, { key: 'title' })}>
+<Page title={t(tPage, { key: 'title', scotsounId, name: scotsoun.title })}>
<Scotsoun scotsoun={scotsoun} />
</Page>