diff options
Diffstat (limited to 'src/i18n/translations/components')
| -rw-r--r-- | src/i18n/translations/components/breadcrumbs.ts | 6 | ||||
| -rw-r--r-- | src/i18n/translations/components/languageLinks.ts | 6 | ||||
| -rw-r--r-- | src/i18n/translations/components/scotsoun.ts | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/i18n/translations/components/breadcrumbs.ts b/src/i18n/translations/components/breadcrumbs.ts index 8e7928f..88b7af7 100644 --- a/src/i18n/translations/components/breadcrumbs.ts +++ b/src/i18n/translations/components/breadcrumbs.ts @@ -5,7 +5,7 @@ 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 = { +const tBreadcrumbs = { '/': { sco: () => 'Hame', 'en-GB': () => 'Home', @@ -42,5 +42,5 @@ const breadcrumbsTranslations = { ), }; -type Raw = typeof breadcrumbsTranslations; -export default breadcrumbsTranslations as TranslationsDictionary<Raw>; +type Raw = typeof tBreadcrumbs; +export default tBreadcrumbs as TranslationsDictionary<Raw>; diff --git a/src/i18n/translations/components/languageLinks.ts b/src/i18n/translations/components/languageLinks.ts index 2a18448..e1bac66 100644 --- a/src/i18n/translations/components/languageLinks.ts +++ b/src/i18n/translations/components/languageLinks.ts @@ -1,11 +1,11 @@ import type { TranslationsDictionary } from '$types/TranslationsDictionary'; -const languageLinksTranslations = { +const tLanguageLinks = { 'language-link-text': { sco: ({ language }: { language: string }) => `Get this page i ${language}`, 'en-GB': ({ language }: { language: string }) => `Get this page in ${language}`, }, }; -type Raw = typeof languageLinksTranslations; -export default languageLinksTranslations as TranslationsDictionary<Raw>; +type Raw = typeof tLanguageLinks; +export default tLanguageLinks as TranslationsDictionary<Raw>; diff --git a/src/i18n/translations/components/scotsoun.ts b/src/i18n/translations/components/scotsoun.ts index 51017a7..36e96b0 100644 --- a/src/i18n/translations/components/scotsoun.ts +++ b/src/i18n/translations/components/scotsoun.ts @@ -3,7 +3,7 @@ import type { TranslationsDictionary } from '$types/TranslationsDictionary'; import type Date from '$types/Date'; import { defaultLocale } from '$i18n/locales'; -const scotsounTranslations = { +const tScotsoun = { 'cover-artist': { sco: ({ coverArtist }: { coverArtist: string }) => `Cover airtist: ${coverArtist}.`, 'en-GB': ({ coverArtist }: { coverArtist: string }) => `Cover airtist: ${coverArtist}.`, @@ -20,5 +20,5 @@ const scotsounTranslations = { }, }; -type Raw = typeof scotsounTranslations; -export default scotsounTranslations as TranslationsDictionary<Raw>; +type Raw = typeof tScotsoun; +export default tScotsoun as TranslationsDictionary<Raw>; |
