mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1acf8d9160
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user