From ab05d8314b476dd0ef2258078738576945f6f90a Mon Sep 17 00:00:00 2001 From: Eluc Date: Wed, 16 Aug 2023 14:14:38 +0000 Subject: [PATCH] Create latn_qwertz_fr_CH.xml (#390) Adapted from qwertz DE to match qwertz fr_CH layout. Added all missing characters with accents needed in French while leaving the most common Swiss German characters as it is on the Swiss layout PC keyboard. Re-organized some special characters to be in a similar position than the PC layout. * Add locale fr-CH --- check_layout.output | 2 ++ res/values/layouts.xml | 3 +++ res/xml/latn_qwertz_fr_ch.xml | 42 +++++++++++++++++++++++++++++++++++ res/xml/method.xml | 3 ++- 4 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 res/xml/latn_qwertz_fr_ch.xml diff --git a/check_layout.output b/check_layout.output index 61b0a36..a8edbe5 100644 --- a/check_layout.output +++ b/check_layout.output @@ -97,6 +97,8 @@ Layout doesn't define some important keys, missing: f11_placeholder, f12_placeho 1 warnings # res/xml/latn_qwertz_de.xml 0 warnings +# res/xml/latn_qwertz_fr_ch.xml +0 warnings # res/xml/latn_qwertz_hu.xml 0 warnings # res/xml/latn_qwertz_sk.xml diff --git a/res/values/layouts.xml b/res/values/layouts.xml index 4c9779f..73ae0d0 100644 --- a/res/values/layouts.xml +++ b/res/values/layouts.xml @@ -38,6 +38,7 @@ latn_qwertz_cz latn_qwertz_cz_multifunctional latn_qwertz_de + latn_qwertz_fr_ch latn_qwertz_hu latn_qwertz_sk custom @@ -79,6 +80,7 @@ QWERTZ (Czech) QWERTZ Multifunctional (Czech) QWERTZ (Deutsch) + QWERTZ (Swiss French) QWERTZ (Magyar) QWERTZ (Slovak) @string/pref_layout_e_custom @@ -120,6 +122,7 @@ @xml/latn_qwertz_cz @xml/latn_qwertz_cz_multifunctional @xml/latn_qwertz_de + @xml/latn_qwertz_fr_ch @xml/latn_qwertz_hu @xml/latn_qwertz_sk -1 diff --git a/res/xml/latn_qwertz_fr_ch.xml b/res/xml/latn_qwertz_fr_ch.xml new file mode 100644 index 0000000..ad10bc0 --- /dev/null +++ b/res/xml/latn_qwertz_fr_ch.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/xml/method.xml b/res/xml/method.xml index ace57f2..f602377 100644 --- a/res/xml/method.xml +++ b/res/xml/method.xml @@ -11,7 +11,8 @@ - + +