New upstream version 26.0.0+dfsg1
This commit is contained in:
parent
8e020cdacb
commit
240080891f
837 changed files with 41275 additions and 9196 deletions
|
|
@ -72,6 +72,7 @@ string GetDefaultVideoSavePath()
|
|||
vector<string> GetPreferredLocales()
|
||||
{
|
||||
setlocale(LC_ALL, "");
|
||||
vector<string> matched;
|
||||
string messages = setlocale(LC_MESSAGES, NULL);
|
||||
if (!messages.size() || messages == "C" || messages == "POSIX")
|
||||
return {};
|
||||
|
|
@ -85,10 +86,10 @@ vector<string> GetPreferredLocales()
|
|||
return {locale};
|
||||
|
||||
if (locale.substr(0, 2) == messages.substr(0, 2))
|
||||
return {locale};
|
||||
matched.push_back(locale);
|
||||
}
|
||||
|
||||
return {};
|
||||
return matched;
|
||||
}
|
||||
|
||||
bool IsAlwaysOnTop(QWidget *window)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue