diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-31 10:20:51 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-31 10:20:51 +0100 |
| commit | 30a256d434f5cab7feeef16836fbf1e00ad5f83b (patch) | |
| tree | fe24b6b13f0317508f23c3d460c8a1bb54265d23 /src/i18n/translations | |
| parent | 737e6161f47657b96a567de20ea5e3f0ef08e3bb (diff) | |
Adds RSS button
Diffstat (limited to 'src/i18n/translations')
| -rw-r--r-- | src/i18n/translations/components/footer.ts | 15 | ||||
| -rw-r--r-- | src/i18n/translations/site.ts | 4 |
2 files changed, 15 insertions, 4 deletions
diff --git a/src/i18n/translations/components/footer.ts b/src/i18n/translations/components/footer.ts new file mode 100644 index 0000000..c7d6055 --- /dev/null +++ b/src/i18n/translations/components/footer.ts @@ -0,0 +1,15 @@ +import type { TranslationsDictionary } from '$types/TranslationsDictionary'; + +const tComponent = { + 'back-to-top': { + sco: () => 'Back til tap', + 'en-GB': () => 'Back to top', + }, + 'subscribe-to-rss': { + sco: () => 'Subscrive til oor RSS feed', + 'en-GB': () => 'Subscribe to our RSS feed', + }, +}; + +type Raw = typeof tComponent; +export default tComponent as TranslationsDictionary<Raw>; diff --git a/src/i18n/translations/site.ts b/src/i18n/translations/site.ts index 7d48670..59a8cd4 100644 --- a/src/i18n/translations/site.ts +++ b/src/i18n/translations/site.ts @@ -32,10 +32,6 @@ const tSite = { sco: () => 'an', 'en-GB': () => 'and', }, - 'back-to-top': { - sco: () => 'Back til tap', - 'en-GB': () => 'Back to top', - }, locale: { sco: ({ locale }: { locale: Locale }) => { switch (locale) { |
