diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-04 19:01:15 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-04 19:01:15 +0100 |
| commit | 44ee01331fd7f7f8426b3771244692e263340a15 (patch) | |
| tree | 6986bd8fc427e90e7d8dffc1da2867e6101b17d8 /frontend/src/i18n | |
| parent | ec4407043eb26f47412226add229e7e60ef3dbcb (diff) | |
Localizes homepage
Diffstat (limited to 'frontend/src/i18n')
| -rw-r--r-- | frontend/src/i18n/translations/pages/home.ts | 11 | ||||
| -rw-r--r-- | frontend/src/i18n/translations/site.ts | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/frontend/src/i18n/translations/pages/home.ts b/frontend/src/i18n/translations/pages/home.ts new file mode 100644 index 0000000..1415024 --- /dev/null +++ b/frontend/src/i18n/translations/pages/home.ts @@ -0,0 +1,11 @@ +import type { TranslationsDictionary } from "../../../types/TranslationsDictionary"; + +const homeTranslations = { + 'title': { + 'sco': 'Hame', + 'en-GB': 'Home', + }, +}; + +type Keys = keyof typeof homeTranslations; +export default homeTranslations as TranslationsDictionary<Keys>;
\ No newline at end of file diff --git a/frontend/src/i18n/translations/site.ts b/frontend/src/i18n/translations/site.ts new file mode 100644 index 0000000..83ce224 --- /dev/null +++ b/frontend/src/i18n/translations/site.ts @@ -0,0 +1,11 @@ +import type { TranslationsDictionary } from "../../types/TranslationsDictionary"; + +const siteTranslations = { + 'title': { + 'sco': 'Scots Leid Associe', + 'en-GB': 'Scots Language Society', + }, +}; + +type Keys = keyof typeof siteTranslations; +export default siteTranslations as TranslationsDictionary<Keys>;
\ No newline at end of file |
