abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Config.java
diff options
context:
space:
mode:
authorJules Aguillon2022-02-19 21:48:48 +0100
committerJules Aguillon2022-02-19 21:48:48 +0100
commit632a9ac590b92a52afe57f1f0aaaa919f9dcebdc (patch)
tree71198a17703808e738456652fa820c8bcbdf31c1 /srcs/juloo.keyboard2/Config.java
parentd73be58c1a49fdbea2cc374edfe893f63424c89d (diff)
downloadunexpected-keyboard-632a9ac590b92a52afe57f1f0aaaa919f9dcebdc.tar.gz
unexpected-keyboard-632a9ac590b92a52afe57f1f0aaaa919f9dcebdc.zip
Localize € and £
Show these characters only for users that have the corresponding locale installed (a supported eu language for €, en-GB for £). Add these characters to most layouts.
Diffstat (limited to 'srcs/juloo.keyboard2/Config.java')
-rw-r--r--srcs/juloo.keyboard2/Config.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java
index 2a2be30..3e3d349 100644
--- a/srcs/juloo.keyboard2/Config.java
+++ b/srcs/juloo.keyboard2/Config.java
@@ -173,6 +173,8 @@ final class Config
case "macron": return KeyValue.FLAG_ACCENT_MACRON;
case "ring": return KeyValue.FLAG_ACCENT_RING;
case "szlig": return KeyValue.FLAG_LANG_SZLIG;
+ case "euro": return KeyValue.FLAG_LANG_EURO;
+ case "pound": return KeyValue.FLAG_LANG_POUND;
case "tilde": return KeyValue.FLAG_ACCENT4;
case "trema": return KeyValue.FLAG_ACCENT6;
default: throw new RuntimeException(name);