mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 15:15:13 +00:00
Start cloud langpack support.
Change the way langpacks are stored. Support custom langpacks in the new storage.
This commit is contained in:
@@ -278,16 +278,6 @@ void psActivateProcess(uint64 pid) {
|
||||
// objc_activateProgram();
|
||||
}
|
||||
|
||||
QString psCurrentCountry() {
|
||||
QString country;// = objc_currentCountry();
|
||||
return country.isEmpty() ? QString::fromLatin1(DefaultCountry) : country;
|
||||
}
|
||||
|
||||
QString psCurrentLanguage() {
|
||||
QString lng;// = objc_currentLang();
|
||||
return lng.isEmpty() ? QString::fromLatin1(DefaultLanguage) : lng;
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
||||
QString getHomeDir() {
|
||||
@@ -402,6 +392,14 @@ bool TranslucentWindowsSupported(QPoint globalPosition) {
|
||||
return false;
|
||||
}
|
||||
|
||||
QString SystemCountry() {
|
||||
return QString();
|
||||
}
|
||||
|
||||
QString SystemLanguage() {
|
||||
return QString();
|
||||
}
|
||||
|
||||
namespace ThirdParty {
|
||||
|
||||
void start() {
|
||||
|
Reference in New Issue
Block a user