2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

0.7.3 - italian and spanish languages added

This commit is contained in:
John Preston
2014-12-21 00:33:08 +03:00
parent 233ac3dfc9
commit aafdc5b782
24 changed files with 111 additions and 75 deletions

View File

@@ -1453,6 +1453,7 @@ namespace App {
configStream << quint32(dbiLastUpdateCheck) << qint32(cLastUpdateCheck());
configStream << quint32(dbiScale) << qint32(cConfigScale());
configStream << quint32(dbiLang) << qint32(cLang());
configStream << quint32(dbiLangFile) << cLangFile();
configStream << quint32(dbiConnectionType) << qint32(cConnectionType());
if (cConnectionType() == dbictHttpProxy || cConnectionType() == dbictTcpProxy) {
@@ -1556,8 +1557,8 @@ namespace App {
p.port = uint32(port);
cSetConnectionProxy(p);
}
cSetConnectionType(DBIConnectionType(v));
break;
cSetConnectionType(DBIConnectionType(v));
break;
case dbictHttpAuto:
default: cSetConnectionType(dbictAuto); break;
};
@@ -1600,11 +1601,17 @@ namespace App {
case dbiLang: {
qint32 v;
configStream >> v;
if (v == languageTestlang || (v >= 0 && v < languageCount)) {
if (v == languageTest || (v >= 0 && v < languageCount)) {
cSetLang(v);
}
} break;
case dbiLangFile: {
QString v;
configStream >> v;
cSetLangFile(v);
} break;
case dbiWindowPosition: {
TWindowPos pos;
configStream >> pos.x >> pos.y >> pos.w >> pos.h >> pos.moncrc >> pos.maximized;