mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +00:00
Fix issue, that the translations for "Everywhere", "From Here", "All", "Images", "Text" and "Filenames" in the search options are not shown in the UI. The patch has been verified by "KDE_LANG=x-test dolphin".
BUG: 240163 svn path=/trunk/KDE/kdebase/apps/; revision=1133863
This commit is contained in:
parent
9fd8224f3a
commit
9e4dad457f
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ DolphinSearchOptionsConfigurator::DolphinSearchOptionsConfigurator(QWidget* pare
|
|||
|
||||
m_locationBox = new KComboBox(this);
|
||||
for (unsigned int i = 0; i < sizeof(g_locationItems) / sizeof(SettingsItem); ++i) {
|
||||
m_locationBox->addItem(g_locationItems[i].text);
|
||||
m_locationBox->addItem(i18nc("@label", g_locationItems[i].text));
|
||||
}
|
||||
|
||||
// add "what" configuration
|
||||
|
@ -115,7 +115,7 @@ DolphinSearchOptionsConfigurator::DolphinSearchOptionsConfigurator(QWidget* pare
|
|||
|
||||
m_whatBox = new KComboBox(this);
|
||||
for (unsigned int i = 0; i < sizeof(g_whatItems) / sizeof(SettingsItem); ++i) {
|
||||
m_whatBox->addItem(g_whatItems[i].text);
|
||||
m_whatBox->addItem(i18nc("@label", g_whatItems[i].text));
|
||||
}
|
||||
connect(m_whatBox, SIGNAL(currentIndexChanged(int)), this, SLOT(updateButtons()));
|
||||
|
||||
|
|
Loading…
Reference in a new issue