mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2025-08-18 14:52:25 +02:00
Compare commits
2 Commits
1.32.0
...
crash-numb
Author | SHA1 | Date | |
---|---|---|---|
|
08a1774055 | ||
|
957dbdc7fe |
@@ -4,4 +4,3 @@ Improved selection mode
|
||||
Bug fixes and many other improvements
|
||||
|
||||
Huge thanks to the contributors: @alotbsol555, @bergentroll, @dacc9, @HaleyHalcyon, @Jaoheah, @jorexdeveloper, @malbajun, @matejdro, @Spike-from-NH, @tenextractor
|
||||
And to the translators: ℂ𝕠𝕠𝕠𝕝 (𝕘𝕚𝕥𝕙𝕦𝕓.𝕔𝕠𝕞/ℂ𝕠𝕠𝕠𝕝), Packss, Joppla, Validbit, Chasm Solacer, Akal!, Edgars Andersons, Mehmet Ali Cuma, 是果宝呐, Giuseppe Barichello, marciozomb13, Bora Atıcı, Péter Czeglédy, Jonatas P
|
||||
|
@@ -168,7 +168,7 @@ public final class Config
|
||||
switch_input_immediate = _prefs.getBoolean("switch_input_immediate", false);
|
||||
extra_keys_param = ExtraKeysPreference.get_extra_keys(_prefs);
|
||||
extra_keys_custom = CustomExtraKeysPreference.get(_prefs);
|
||||
selected_number_layout = NumberLayout.valueOf(_prefs.getString("number_entry_layout", "pin").toUpperCase());
|
||||
selected_number_layout = NumberLayout.of_string(_prefs.getString("number_entry_layout", "pin"));
|
||||
current_layout_portrait = _prefs.getInt("current_layout_portrait", 0);
|
||||
current_layout_landscape = _prefs.getInt("current_layout_landscape", 0);
|
||||
current_layout_unfolded_portrait = _prefs.getInt("current_layout_unfolded_portrait", 0);
|
||||
|
@@ -3,5 +3,15 @@ package juloo.keyboard2;
|
||||
public enum NumberLayout {
|
||||
PIN,
|
||||
NUMBER,
|
||||
NORMAL
|
||||
NORMAL;
|
||||
|
||||
public static NumberLayout of_string(String name)
|
||||
{
|
||||
switch (name)
|
||||
{
|
||||
case "number": return NUMBER;
|
||||
case "normal": return NORMAL;
|
||||
case "pin": default: return PIN;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -14,9 +14,9 @@ VALUE_DIR_TO_METADATA = {
|
||||
"en": "en-US",
|
||||
"es": "es-ES",
|
||||
"fa": "fa-IR",
|
||||
"fil": "fil-PH",
|
||||
"fil": "fil",
|
||||
"fr": "fr-FR",
|
||||
"in": "in-ID",
|
||||
"in": "id",
|
||||
"it": "it-IT",
|
||||
"ja": "ja-JP",
|
||||
"ko": "ko-KR",
|
||||
|
Reference in New Issue
Block a user