1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-29 12:05:53 +01:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Roi 2018-09-04 01:27:12 +03:00
commit 1acf8d9160

View File

@ -128,7 +128,7 @@ public class LanguageUtils {
char[] chars = txt.toCharArray();
for (char c : chars)
for (Character c : chars)
{
message.append(transliterate(c));
}
@ -143,8 +143,8 @@ public class LanguageUtils {
* @param c input char
* @return replacement text
*/
private static String transliterate(char c){
char lowerChar = Character.toLowerCase(c);
private static String transliterate(Character c){
Character lowerChar = Character.toLowerCase(c);
if (transliterateMap.containsKey(lowerChar)) {
String replace = transliterateMap.get(lowerChar);