mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-09 08:26:48 +01:00
parent
a29394b96e
commit
81d4ca84a8
@ -19,9 +19,10 @@ package nodomain.freeyourgadget.gadgetbridge.util;
|
|||||||
|
|
||||||
import org.apache.commons.lang3.text.WordUtils;
|
import org.apache.commons.lang3.text.WordUtils;
|
||||||
|
|
||||||
|
import java.text.Normalizer;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.text.Normalizer;
|
|
||||||
import nodomain.freeyourgadget.gadgetbridge.GBApplication;
|
import nodomain.freeyourgadget.gadgetbridge.GBApplication;
|
||||||
|
|
||||||
public class LanguageUtils {
|
public class LanguageUtils {
|
||||||
@ -74,6 +75,9 @@ public class LanguageUtils {
|
|||||||
put('پ', "p"); put('چ', "ch"); put('ڜ', "ch"); put('ڤ', "v"); put('ڥ', "v");
|
put('پ', "p"); put('چ', "ch"); put('ڜ', "ch"); put('ڤ', "v"); put('ڥ', "v");
|
||||||
put('ڨ', "g"); put('گ', "g"); put('ݣ', "g");
|
put('ڨ', "g"); put('گ', "g"); put('ݣ', "g");
|
||||||
|
|
||||||
|
// Polish
|
||||||
|
put('Ł', "L"); put('ł', "l");
|
||||||
|
|
||||||
//TODO: these must be configurable. If someone wants to transliterate cyrillic it does not mean his device has no German umlauts
|
//TODO: these must be configurable. If someone wants to transliterate cyrillic it does not mean his device has no German umlauts
|
||||||
//all or nothing is really bad here
|
//all or nothing is really bad here
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user