1
0
Fork 0

Add Hungarian (#509)

---------

Co-authored-by: agyarmati <agyarmati@surfline.com>
Co-authored-by: sspanak <doftor.livain@gmail.com>
This commit is contained in:
Adam Gyarmati 2024-05-21 07:34:44 -06:00 committed by GitHub
parent a6c81a764d
commit 9a13272fdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 709905 additions and 1 deletions

View file

@ -0,0 +1,14 @@
locale: hu-HU
dictionaryFile: hu-utf8.csv
abcString: abc
layout:
- [SPECIAL] # 0
- [PUNCTUATION] # 1
- [a, á, b, c] # 2
- [d, e, é, f] # 3
- [g, h, i, í] # 4
- [j, k, l] # 5
- [m, n, o, ó, ö, ő] # 6
- [p, q, r, s] # 7
- [t, u, ú, ü, ű, v] # 8
- [w, x, y, z] # 9

File diff suppressed because it is too large Load diff

View file

@ -113,7 +113,7 @@ public class SoftNumberKey extends SoftKey {
StringBuilder sb = new StringBuilder();
ArrayList<String> chars = language.getKeyCharacters(number);
for (int i = 0; i < 5 && i < chars.size(); i++) {
for (int i = 0; sb.length() < 5 && i < chars.size(); i++) {
String currentLetter = chars.get(i);
if (
(isLatinBased && currentLetter.charAt(0) > 'z')