mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-11 00:49:33 +00:00
Ignore uppercase if Georgian
This commit is contained in:
parent
5f048ff5cd
commit
ab778a9bb9
1 changed files with 18 additions and 15 deletions
|
@ -583,6 +583,7 @@ public final class StringUtils {
|
|||
}
|
||||
|
||||
private static final String LANGUAGE_GREEK = "el";
|
||||
private static final String LANGUAGE_GEORGIAN = "ka";
|
||||
|
||||
@Nonnull
|
||||
private static Locale getLocaleUsedForToTitleCase(@Nonnull final Locale locale) {
|
||||
|
@ -600,6 +601,8 @@ public final class StringUtils {
|
|||
if (label == null) {
|
||||
return label;
|
||||
}
|
||||
if (LANGUAGE_GEORGIAN.equals(locale.getLanguage()))
|
||||
return label;
|
||||
return label.toUpperCase(getLocaleUsedForToTitleCase(locale));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue