mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-04 20:30:36 +00:00
Update translations (from Crowdin)
This commit is contained in:
parent
718d575a59
commit
e5d162be9b
19 changed files with 618 additions and 191 deletions
|
@ -128,7 +128,12 @@ public class Preferences {
|
|||
}
|
||||
}
|
||||
|
||||
return new Locale(lang);
|
||||
String[] parts = lang.split("_");
|
||||
if (parts.length == 1) {
|
||||
return new Locale(parts[0]);
|
||||
}
|
||||
|
||||
return new Locale(parts[0], parts[1]);
|
||||
}
|
||||
|
||||
public boolean isBackupsEnabled() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue