Skip to content

Commit

Permalink
Add luxembourgish layout
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Pierre Rasquin <[email protected]>
  • Loading branch information
yank555-lu committed Jan 5, 2019
1 parent e5e7a1b commit a3e6702
Show file tree
Hide file tree
Showing 4 changed files with 274 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,24 +71,24 @@ public class InputLanguageSelection extends PreferenceActivity {
"ar", "bg", "bg_ST", "ca", "cs", "cs_QY", "da", "de", "de_NE",
"el", "en", "en_CX", "en_DV", "en_GB", "es", "es_LA", "es_US",
"fa", "fi", "fr", "fr_CA", "fr_CH", "he", "hr", "hu", "hu_QY", "hy",
"in", "it", "iw", "ja", "ka", "ko", "lo", "lt", "lv", "nb", "nl",
"in", "it", "iw", "ja", "ka", "ko", "lb", "lo", "lt", "lv", "nb", "nl",
"pl", "pt", "pt_PT", "rm", "ro", "ru", "ru_PH", "si", "sk", "sk_QY",
"sl", "sr", "sv", "ta", "th", "tl", "tr", "uk", "vi", "zh_CN", "zh_TW"
};

private static final String[] KBD_5_ROW = {
"ar", "bg", "bg_ST", "cs", "cs_QY", "da", "de", "de_NE", "el",
"en", "en_CX", "en_DV", "en_GB", "es", "es_LA", "fa", "fi", "fr",
"fr_CA", "fr_CH", "he", "hr", "hu", "hu_QY", "hy", "it", "iw", "lo",
"lt", "nb", "pt_PT", "ro", "ru", "ru_PH", "si", "sk", "sk_QY", "sl",
"sr", "sv", "ta", "th", "tr", "uk"
"fr_CA", "fr_CH", "he", "hr", "hu", "hu_QY", "hy", "it", "iw", "lb",
"lo", "lt", "nb", "pt_PT", "ro", "ru", "ru_PH", "si", "sk", "sk_QY",
"sl", "sr", "sv", "ta", "th", "tr", "uk"
};

private static final String[] KBD_4_ROW = {
"ar", "bg", "bg_ST", "cs", "cs_QY", "da", "de", "de_NE", "el",
"en", "en_CX", "en_DV", "es", "es_LA", "es_US", "fa", "fr", "fr_CA",
"fr_CH", "he", "hr", "hu", "hu_QY", "iw", "nb", "ru", "ru_PH", "sk",
"sk_QY", "sl", "sr", "sv", "tr", "uk"
"fr_CH", "he", "hr", "hu", "hu_QY", "iw", "lb", "nb", "ru", "ru_PH",
"sk", "sk_QY", "sl", "sr", "sv", "tr", "uk"
};

private static String getLocaleName(Locale l) {
Expand Down
34 changes: 34 additions & 0 deletions app/src/main/res/values-lb/donottranslate-altchars.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2010, The Android Open Source Project
** Copyright 2011, Darren Salt
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="alternates_for_a">1àáâãäåæ</string>
<string name="alternates_for_c">ç</string>
<string name="alternates_for_e">3éèêë€</string>
<string name="alternates_for_i">8ïîíì</string>
<string name="alternates_for_n">ñ</string>
<string name="alternates_for_o">9øœöõôóò</string>
<string name="alternates_for_q"></string>
<string name="alternates_for_s">§ß</string>
<string name="alternates_for_u">7üûúù</string>
<string name="alternates_for_v">√</string>
<string name="alternates_for_w">2ŵ</string>
<string name="alternates_for_y">6ýÿŷ¥</string>
<string name="alternates_for_z">2</string>
</resources>
215 changes: 215 additions & 0 deletions app/src/main/res/values-lb/donottranslate-keymap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,215 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2010, The Android Open Source Project
** Copyright 2011, Darren Salt
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="key_tlde_main">§</string>
<string name="key_tlde_shift">°</string>
<string name="key_tlde_alt">§°ⁿ</string>

<string name="key_ae01_main">1</string>
<string name="key_ae01_shift">+</string>
<string name="key_ae01_alt">1+†‡¦¹</string>

<string name="key_ae02_main">2</string>
<string name="key_ae02_shift">\"</string>
<string name="key_ae02_alt">2\"@‚’‘„”“²</string>

<string name="key_ae03_main">3</string>
<string name="key_ae03_shift">*</string>
<string name="key_ae03_alt">3*#★•♥♠♦♣³</string>

<string name="key_ae04_main">4</string>
<string name="key_ae04_shift">ç</string>
<string name="key_ae04_alt">4çčć¢⁴</string>

<string name="key_ae05_main">5</string>
<string name="key_ae05_shift">%</string>
<string name="key_ae05_alt">5%‰</string>

<string name="key_ae06_main">6</string>
<string name="key_ae06_shift">&amp;</string>
<string name="key_ae06_alt">6\&amp;♪</string>

<string name="key_ae07_main">7</string>
<string name="key_ae07_shift">/</string>
<string name="key_ae07_alt">7/|</string>

<string name="key_ae08_main">8</string>
<string name="key_ae08_shift">(</string>
<string name="key_ae08_alt">8(∞</string>

<string name="key_ae09_main">9</string>
<string name="key_ae09_shift">)</string>
<string name="key_ae09_alt">9)</string>

<string name="key_ae10_main">0</string>
<string name="key_ae10_shift">=</string>
<string name="key_ae10_alt">0=≈≠±+-×÷</string>

<string name="key_ae11_main">\'</string>
<string name="key_ae11_shift">\?</string>
<string name="key_ae11_alt">\'\?¿´‘’</string>

<string name="key_ae12_main">^</string>
<string name="key_ae12_shift">`</string>
<string name="key_ae12_alt">^`~↑↓←→</string>


<string name="key_ad01_main">q</string>
<string name="key_ad01_shift">Q</string>
<string name="key_ad01_alt">@string/alternates_for_q</string>

<string name="key_ad02_main">w</string>
<string name="key_ad02_shift">W</string>
<string name="key_ad02_alt">@string/alternates_for_w</string>

<string name="key_ad03_main">e</string>
<string name="key_ad03_shift">E</string>
<string name="key_ad03_alt">@string/alternates_for_e</string>

<string name="key_ad04_main">r</string>
<string name="key_ad04_shift">R</string>
<string name="key_ad04_alt">@string/alternates_for_r</string>

<string name="key_ad05_main">t</string>
<string name="key_ad05_shift">T</string>
<string name="key_ad05_alt">@string/alternates_for_t</string>

<string name="key_ad06_main">z</string>
<string name="key_ad06_shift">Z</string>
<string name="key_ad06_alt">@string/alternates_for_z</string>

<string name="key_ad07_main">u</string>
<string name="key_ad07_shift">U</string>
<string name="key_ad07_alt">@string/alternates_for_u</string>

<string name="key_ad08_main">i</string>
<string name="key_ad08_shift">I</string>
<string name="key_ad08_alt">@string/alternates_for_i</string>

<string name="key_ad09_main">o</string>
<string name="key_ad09_shift">O</string>
<string name="key_ad09_alt">@string/alternates_for_o</string>

<string name="key_ad10_main">p</string>
<string name="key_ad10_shift">P</string>
<string name="key_ad10_alt">@string/alternates_for_p</string>

<string name="key_ad11_main">è</string>
<string name="key_ad11_shift">ü</string>
<string name="key_ad11_alt">èü[</string>

<string name="key_ad12_main">¨</string>
<string name="key_ad12_shift">!</string>
<string name="key_ad12_alt">¨!]¡</string>

<string name="key_bksl_main">$</string>
<string name="key_bksl_shift">£</string>
<string name="key_bksl_alt">$£}₤λ¢€¥</string>


<string name="key_ac01_main">a</string>
<string name="key_ac01_shift">A</string>
<string name="key_ac01_alt">@string/alternates_for_a</string>

<string name="key_ac02_main">s</string>
<string name="key_ac02_shift">S</string>
<string name="key_ac02_alt">@string/alternates_for_s</string>

<string name="key_ac03_main">d</string>
<string name="key_ac03_shift">D</string>
<string name="key_ac03_alt">@string/alternates_for_d</string>

<string name="key_ac04_main">f</string>
<string name="key_ac04_shift">F</string>
<string name="key_ac04_alt">@string/alternates_for_f</string>

<string name="key_ac05_main">g</string>
<string name="key_ac05_shift">G</string>
<string name="key_ac05_alt">@string/alternates_for_g</string>

<string name="key_ac06_main">h</string>
<string name="key_ac06_shift">H</string>
<string name="key_ac06_alt">@string/alternates_for_h</string>

<string name="key_ac07_main">j</string>
<string name="key_ac07_shift">J</string>
<string name="key_ac07_alt">@string/alternates_for_j</string>

<string name="key_ac08_main">k</string>
<string name="key_ac08_shift">K</string>
<string name="key_ac08_alt">@string/alternates_for_k</string>

<string name="key_ac09_main">l</string>
<string name="key_ac09_shift">L</string>
<string name="key_ac09_alt">@string/alternates_for_l</string>

<string name="key_ac10_main">é</string>
<string name="key_ac10_shift">ö</string>
<string name="key_ac10_alt">éö</string>

<string name="key_ac11_main">à</string>
<string name="key_ac11_shift">ä</string>
<string name="key_ac11_alt">àä{</string>


<string name="key_lsgt_main">&lt;</string>
<string name="key_lsgt_shift">&gt;</string>
<string name="key_lsgt_alt">&lt;&gt;\\≤«‹›»≥</string>

<string name="key_ab01_main">y</string>
<string name="key_ab01_shift">Y</string>
<string name="key_ab01_alt">@string/alternates_for_y</string>

<string name="key_ab02_main">x</string>
<string name="key_ab02_shift">X</string>
<string name="key_ab02_alt">@string/alternates_for_x</string>

<string name="key_ab03_main">c</string>
<string name="key_ab03_shift">C</string>
<string name="key_ab03_alt">@string/alternates_for_c</string>

<string name="key_ab04_main">v</string>
<string name="key_ab04_shift">V</string>
<string name="key_ab04_alt">@string/alternates_for_v</string>

<string name="key_ab05_main">b</string>
<string name="key_ab05_shift">B</string>
<string name="key_ab05_alt">@string/alternates_for_b</string>

<string name="key_ab06_main">n</string>
<string name="key_ab06_shift">N</string>
<string name="key_ab06_alt">@string/alternates_for_n</string>

<string name="key_ab07_main">m</string>
<string name="key_ab07_shift">M</string>
<string name="key_ab07_alt">@string/alternates_for_m</string>

<string name="key_ab08_main">,</string>
<string name="key_ab08_shift">;</string>
<string name="key_ab08_alt">,;</string>

<string name="key_ab09_main">.</string>
<string name="key_ab09_shift">:</string>
<string name="key_ab09_alt">.:…</string>

<string name="key_ab10_main">-</string>
<string name="key_ab10_shift">_</string>
<string name="key_ab10_alt">-_–</string>
</resources>
19 changes: 19 additions & 0 deletions app/src/main/res/values-lb/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (C) 2009 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources xmlns:android="http://schemas.android.com/apk/res/org.pocketworkstation.pckeyboard"
xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- <string name="english_ime_name" msgid="7252517407088836577">"Clavier Android"</string> -->
</resources>

0 comments on commit a3e6702

Please sign in to comment.