abouttreesummaryrefslogcommitdiff
path: root/srcs
diff options
context:
space:
mode:
authorMoini2022-01-15 20:56:08 +0100
committerGitHub2022-01-15 20:56:08 +0100
commit133b6ec2c106c56dda120f0eaf0a08cfe79d9148 (patch)
tree7ea129b565d77b28baa6aecd14680e97fb166fbc /srcs
parent833dfa31bb17e5fa14681f15969391ecc7a28014 (diff)
downloadunexpected-keyboard-133b6ec2c106c56dda120f0eaf0a08cfe79d9148.tar.gz
unexpected-keyboard-133b6ec2c106c56dda120f0eaf0a08cfe79d9148.zip
German keyboard added (#20)
* Add German metadata translation * Add German keyboard Co-authored-by: Jules Aguillon <jules@j3s.fr>
Diffstat (limited to 'srcs')
-rw-r--r--srcs/juloo.keyboard2/Config.java1
-rw-r--r--srcs/juloo.keyboard2/Keyboard2.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index 92cd8a6..f9c6df6 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -110,6 +110,7 @@ final class Config
{
case "azerty": return R.xml.azerty;
case "qwerty": return R.xml.qwerty;
+ case "qwertz": return R.xml.qwertz;
case "system": default: return -1;
}
}
diff --git a/srcs/juloo.keyboard2/Keyboard2.java b/srcs/juloo.keyboard2/Keyboard2.java
index 20e93de..b3772ae 100644
--- a/srcs/juloo.keyboard2/Keyboard2.java
+++ b/srcs/juloo.keyboard2/Keyboard2.java
@@ -71,7 +71,7 @@ public class Keyboard2 extends InputMethodService
private void refreshSubtypeLayout(InputMethodSubtype subtype)
{
- int l = _config.layout;;
+ int l = _config.layout;
if (l == -1)
{
String s = subtype.getExtraValueOf("default_layout");