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:
parent
ed76d1621e
commit
1d2c0e1cac
|
@ -31,9 +31,9 @@ AdvancedForm::AdvancedForm() :
|
||||||
bodyUI->dbLabel->setOpenExternalLinks(true);
|
bodyUI->dbLabel->setOpenExternalLinks(true);
|
||||||
|
|
||||||
bodyUI->syncTypeComboBox->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
|
bodyUI->syncTypeComboBox->setSizeAdjustPolicy(QComboBox::AdjustToMinimumContentsLength);
|
||||||
bodyUI->syncTypeComboBox->addItems({"FULL - very safe, slowest (recommended)",
|
bodyUI->syncTypeComboBox->addItems({tr("FULL - very safe, slowest (recommended)"),
|
||||||
"NORMAL - almost as safe as FULL, about 20% faster than FULL",
|
tr("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)"
|
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());
|
int index = 2 - static_cast<int>(Settings::getInstance().getDbSyncType());
|
||||||
bodyUI->syncTypeComboBox->setCurrentIndex(index);
|
bodyUI->syncTypeComboBox->setCurrentIndex(index);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user