mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Apply i18n to combo box
This allows i18n in order to accommodate languages, that use a different percentage display format; like Turkish and French.
This commit is contained in:
parent
619df89f5f
commit
0710ede514
|
@ -295,7 +295,7 @@ Preferences::Preferences(BrowserWindow* window)
|
|||
|
||||
const auto levels = WebView::zoomLevels();
|
||||
for (int level : levels) {
|
||||
ui->defaultZoomLevel->addItem(QString("%1%").arg(level));
|
||||
ui->defaultZoomLevel->addItem(tr("%1%").arg(QString::number(level)));
|
||||
}
|
||||
ui->defaultZoomLevel->setCurrentIndex(settings.value("DefaultZoomLevel", WebView::zoomLevels().indexOf(100)).toInt());
|
||||
ui->closeAppWithCtrlQ->setChecked(settings.value("closeAppWithCtrlQ", true).toBool());
|
||||
|
|
Loading…
Reference in New Issue
Block a user