abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorChasm Solacer2022-12-11 14:49:22 +0100
committerGitHub2022-12-11 14:49:22 +0100
commit8665d002bf8a6c7fda7ea337115f30d05fcd0beb (patch)
treef412d70c470c9d0e036014d894d574b3d2f220b9
parentf0fcd791ec6ac0a904306b5bc639f81fd28733cb (diff)
downloadunexpected-keyboard-8665d002bf8a6c7fda7ea337115f30d05fcd0beb.tar.gz
unexpected-keyboard-8665d002bf8a6c7fda7ea337115f30d05fcd0beb.zip
Added qwerty_pl layout (#251)
* Updated pl translation * Added qwerty_pl.xml – QWERTY (Polski) layout
-rw-r--r--res/values-pl/strings.xml6
-rw-r--r--res/values/arrays.xml2
-rw-r--r--res/xml/qwerty_pl.xml37
-rw-r--r--srcs/juloo.keyboard2/Config.java1
4 files changed, 43 insertions, 3 deletions
diff --git a/res/values-pl/strings.xml b/res/values-pl/strings.xml
index 2412dd9..778ebb8 100644
--- a/res/values-pl/strings.xml
+++ b/res/values-pl/strings.xml
@@ -16,9 +16,9 @@
<string name="pref_show_numpad_never">Nigdy</string>
<string name="pref_show_numpad_landscape">Tylko w orientacji poziomej</string>
<string name="pref_show_numpad_always">Zawsze</string>
- <!-- <string name="pref_numpad_layout">NumPad layout</string> -->
- <!-- <string name="pref_numpad_layout_e_high_first">High digits first</string> -->
- <!-- <string name="pref_numpad_layout_e_low_first">Low digits first</string> -->
+ <string name="pref_numpad_layout">Układ klawiatury numerycznej</string>
+ <string name="pref_numpad_layout_e_high_first">Od największej cyfry</string>
+ <string name="pref_numpad_layout_e_low_first">Od najmniejszej cyfry</string>
<string name="pref_autocapitalisation_title">Automatyczne wielkie litery</string>
<string name="pref_autocapitalisation_summary">Naciśnij Shift na początku zdania</string>
<string name="pref_extra_keys_title">Dodaj klawisze do klawiatury</string>
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index a43772c..ffb4226 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -13,6 +13,7 @@
<item>qwerty_sv_se</item>
<item>qwerty_hu</item>
<item>qwerty_tr</item>
+ <item>qwerty_pl</item>
<item>ru_jcuken</item>
<item>qwertz</item>
<item>qwertz_cs</item>
@@ -41,6 +42,7 @@
<item>QWERTY (Swedish)</item>
<item>QWERTY (Hungarian)</item>
<item>QWERTY (Türkçe)</item>
+ <item>QWERTY (Polski)</item>
<item>ЙЦУКЕН (Русский)</item>
<item>QWERTZ</item>
<item>QWERTZ (Czech)</item>
diff --git a/res/xml/qwerty_pl.xml b/res/xml/qwerty_pl.xml
new file mode 100644
index 0000000..4300b27
--- /dev/null
+++ b/res/xml/qwerty_pl.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<keyboard>
+ <row>
+ <key key0="q" key2="1" key4="esc"/>
+ <key key0="w" key1="~" key2="2" key3="\@"/>
+ <key key0="e" key1="!" key2="3" key3="\#" key4="ę"/>
+ <key key0="r" key2="4" key3="$"/>
+ <key key0="t" key2="5" key3="%"/>
+ <key key0="y" key2="6" key3="^"/>
+ <key key0="u" key2="7" key3="&amp;" key4="loc €"/>
+ <key key0="i" key1="loc accent_macron" key2="8" key3="*"/>
+ <key key0="o" key1="ó" key2="9" key3="(" key4=")"/>
+ <key key0="p" key2="0" key3="f11_placeholder" key4="f12_placeholder"/>
+ </row>
+ <row>
+ <key shift="0.5" key0="a" key1="tab" key2="`" key4="ą"/>
+ <key key0="s" key1="loc accent_ring" key3="loc ß" key4="ś"/>
+ <key key0="d" key1="loc accent_grave" key2="loc £" key3="loc accent_aigu"/>
+ <key key0="f" key1="loc accent_dot_above" key4="loc accent_ogonek"/>
+ <key key0="g" key1="loc accent_caron" key2="-" key3="_"/>
+ <key key0="h" key2="=" key3="+"/>
+ <key key0="j" key1="loc accent_trema" key2="loc accent_circonflexe" key3="{" key4="}"/>
+ <key key0="k" key1="loc accent_double_aigu" key3="[" key4="]"/>
+ <key key0="l" key2="|" key3="\\" key4="ł"/>
+ </row>
+ <row>
+ <key width="1.5" key0="shift" key2="loc capslock"/>
+ <key key0="z" key4="ż"/>
+ <key key0="x" key4="ź"/>
+ <key key0="c" key1="loc accent_cedille" key2="&lt;" key3="." key4="ć"/>
+ <key key0="v" key2="&gt;" key3=","/>
+ <key key0="b" key2="\?" key3="/"/>
+ <key key0="n" key1="loc accent_tilde" key2=":" key3=";" key4="ń"/>
+ <key key0="m" key2="&quot;" key3="'"/>
+ <key width="1.5" key0="backspace" key2="delete"/>
+ </row>
+</keyboard>
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index fbb690d..0ef5b67 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -297,6 +297,7 @@ final class Config
case "qwerty_pt": id = R.xml.qwerty_pt; break;
case "qwerty_sv_se": id = R.xml.qwerty_sv_se; break;
case "qwerty_tr": id = R.xml.qwerty_tr; break;
+ case "qwerty_pl": id = R.xml.qwerty_pl; break;
case "qwertz": id = R.xml.qwertz; break;
case "qwertz_cs": id = R.xml.qwertz_cs; break;
case "qwertz_de": id = R.xml.qwertz_de; break;