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:
Peter Penz 2010-06-02 17:45:23 +00:00
parent 9fd8224f3a
commit 9e4dad457f

View file

@ -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()));