mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
basic languages support and italian language added
This commit is contained in:
@@ -1452,6 +1452,7 @@ namespace App {
|
||||
configStream << quint32(dbiAutoUpdate) << qint32(cAutoUpdate());
|
||||
configStream << quint32(dbiLastUpdateCheck) << qint32(cLastUpdateCheck());
|
||||
configStream << quint32(dbiScale) << qint32(cConfigScale());
|
||||
configStream << quint32(dbiLang) << qint32(cLang());
|
||||
|
||||
configStream << quint32(dbiConnectionType) << qint32(cConnectionType());
|
||||
if (cConnectionType() == dbictHttpProxy || cConnectionType() == dbictTcpProxy) {
|
||||
@@ -1596,6 +1597,14 @@ namespace App {
|
||||
cSetRealScale(s);
|
||||
} break;
|
||||
|
||||
case dbiLang: {
|
||||
qint32 v;
|
||||
configStream >> v;
|
||||
if (v == langTestlang || (v >= 0 && v < langCount)) {
|
||||
cSetLang(v);
|
||||
}
|
||||
} break;
|
||||
|
||||
case dbiWindowPosition: {
|
||||
TWindowPos pos;
|
||||
configStream >> pos.x >> pos.y >> pos.w >> pos.h >> pos.moncrc >> pos.maximized;
|
||||
|
Reference in New Issue
Block a user