From 2937dbfc3a9d5d269c204c48959dc1b7799523f4 Mon Sep 17 00:00:00 2001 From: Peter Siska Date: Tue, 7 Dec 2021 16:32:56 +0100 Subject: [PATCH 1/2] Add de_CH translation (#611) Region-specific translation for German (Switzerland). Initiated from here: https://github.com/shoelace-style/shoelace/pull/609#issuecomment-987711804 --- src/translations/de_CH.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/translations/de_CH.ts diff --git a/src/translations/de_CH.ts b/src/translations/de_CH.ts new file mode 100644 index 0000000000..6dec341fb6 --- /dev/null +++ b/src/translations/de_CH.ts @@ -0,0 +1,20 @@ +import { registerTranslation } from '../utilities/localize'; +import type { Translation } from '../utilities/localize'; + +const translation: Translation = { + $code: 'de_CH', + $name: 'Deutsch (Schweiz)', + $dir: 'ltr', + + close: "Schliessen", + copy: 'Kopieren', + progress: 'Fortschritt', + scroll_to_end: 'Zum Ende scrollen', + scroll_to_start: 'Zum Anfang scrollen', + select_a_color_from_the_screen: "Wähle eine Farbe vom Bildschirm", + toggle_color_format: 'Farbformat umschalten' +}; + +registerTranslation(translation); + +export default translation; From 9dfac1dd6f7dda54a0b077ed3258167fb12449bf Mon Sep 17 00:00:00 2001 From: Peter Siska Date: Tue, 7 Dec 2021 16:34:01 +0100 Subject: [PATCH 2/2] Add FR translation (#612) --- src/translations/fr.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/translations/fr.ts diff --git a/src/translations/fr.ts b/src/translations/fr.ts new file mode 100644 index 0000000000..2e7082544b --- /dev/null +++ b/src/translations/fr.ts @@ -0,0 +1,20 @@ +import { registerTranslation } from '../utilities/localize'; +import type { Translation } from '../utilities/localize'; + +const translation: Translation = { + $code: 'fr', + $name: 'Français', + $dir: 'ltr', + + close: "Fermer", + copy: 'Copier', + progress: 'Progrès', + scroll_to_end: 'Faire défiler jusqu'à la fin', + scroll_to_start: 'Faire défiler jusqu'au début', + select_a_color_from_the_screen: "Sélectionnez une couleur à l'écran", + toggle_color_format: 'Changer le format de couleur' +}; + +registerTranslation(translation); + +export default translation;