mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 21:06:58 +03:00
fix: fallback for languages without a native name
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
c6bcb6228b
commit
60b38de69f
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,10 @@ struct Language
|
|||
else {
|
||||
result = locale.nativeLanguageName();
|
||||
}
|
||||
|
||||
if (result.isEmpty()) {
|
||||
result = key;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue