[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/dolphin/src/search
From:       Peter Penz <peter.penz () gmx ! at>
Date:       2010-06-02 17:45:23
Message-ID: 20100602174523.CE71BAC8C7 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1133863 by ppenz:

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

 M  +2 -2      dolphinsearchoptionsconfigurator.cpp  


--- trunk/KDE/kdebase/apps/dolphin/src/search/dolphinsearchoptionsconfigurator.cpp \
#1133862:1133863 @@ -107,7 +107,7 @@
 
     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 @@
 
     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()));
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic