diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 09:07:24 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-13 09:07:24 +0100 |
| commit | c3f119d332dea3fc33494a44e077f00f6ad05eec (patch) | |
| tree | f699eb6e4cc36d541dcae3ec3fff5485182546ab /src/i18n | |
| parent | c1c9f9a9f3004460787ca23d55ffdacec95c0aad (diff) | |
Adds breadcrumbs
Diffstat (limited to 'src/i18n')
| -rw-r--r-- | src/i18n/translations/components/breadcrumbs.ts | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/i18n/translations/components/breadcrumbs.ts b/src/i18n/translations/components/breadcrumbs.ts new file mode 100644 index 0000000..a0af6f9 --- /dev/null +++ b/src/i18n/translations/components/breadcrumbs.ts @@ -0,0 +1,22 @@ +import type { TranslationsDictionary } from '../../../types/TranslationsDictionary'; + +// This maun be kept up til date bi haund. There is +// nae compile-time check that aw routes hae been +// translatit. +const breadcrumbsTranslations = { + '/': { + sco: () => 'Hame', + 'en-GB': () => 'Home', + }, + '/furthsettins/': { + sco: () => 'Furthsettins', + 'en-GB': () => 'Publications', + }, + '/furthsettins/lallans/': { + sco: () => 'Lallans', + 'en-GB': () => 'Lallans', + }, +}; + +type Raw = typeof breadcrumbsTranslations; +export default breadcrumbsTranslations as TranslationsDictionary<Raw>; |
