Update main.cpp

This commit is contained in:
Aylinux 2020-07-22 21:27:59 +03:00 committed by GitHub
parent ed28813e0d
commit f51bebb045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,10 @@ int main(int argc, char *argv[])
//trans_global.load(":/translations/kylin-nm_bo.qm"); //trans_global.load(":/translations/kylin-nm_bo.qm");
a.installTranslator(&trans_global); a.installTranslator(&trans_global);
} }
if (locale == "tr_TR") {
trans_global.load(":/translations/kylin-nm_tr.qm");
a.installTranslator(&trans_global);
}
MainWindow w; MainWindow w;
return a.exec(); return a.exec();