1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Make sql tuning strings translatable

This commit is contained in:
Zetok Zalbavar 2014-11-15 10:07:55 +00:00
parent ed76d1621e
commit 1d2c0e1cac
No known key found for this signature in database
GPG Key ID: 53137C3033F09008

View File

@ -31,9 +31,9 @@ AdvancedForm::AdvancedForm() :
bodyUI->dbLabel->setOpenExternalLinks(true);
bodyUI->syncTypeComboBox->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
bodyUI->syncTypeComboBox->addItems({"FULL - very safe, slowest (recommended)",
"NORMAL - almost as safe as FULL, about 20% faster than FULL",
"OFF - disables all safety, when something goes wrong your history may be lost, fastest (not recommended)"
bodyUI->syncTypeComboBox->addItems({tr("FULL - very safe, slowest (recommended)"),
tr("NORMAL - almost as safe as FULL, about 20% faster than FULL"),
tr("OFF - disables all safety, when something goes wrong your history may be lost, fastest (not recommended)")
});
int index = 2 - static_cast<int>(Settings::getInstance().getDbSyncType());
bodyUI->syncTypeComboBox->setCurrentIndex(index);