summaryrefslogtreecommitdiff
path: root/src/i18n/translations/components/breadcrumbs.ts
blob: a0af6f9a972a14f8c8cdbdcc2bf681761eb03c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>;