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

List:       kde-commits
Subject:    [plasma-workspace] components/shellprivate/widgetexplorer: Categories string are in libplasma5 catal
From:       Bhushan Shah <bhush94 () gmail ! com>
Date:       2015-04-05 4:13:18
Message-ID: E1Yebvy-0002D1-Tk () scm ! kde ! org
[Download RAW message or body]

Git commit 18299aae16d416ef01c39cef5c6ea29b98841bc6 by Bhushan Shah.
Committed on 05/04/2015 at 04:13.
Pushed by bshah into branch 'master'.

Categories string are in libplasma5 catalog

BUG: 345878
FIXED-In: 5.3

M  +1    -1    components/shellprivate/widgetexplorer/widgetexplorer.cpp

http://commits.kde.org/plasma-workspace/18299aae16d416ef01c39cef5c6ea29b98841bc6

diff --git a/components/shellprivate/widgetexplorer/widgetexplorer.cpp \
b/components/shellprivate/widgetexplorer/widgetexplorer.cpp index f43e181..cb5e8fe \
                100644
--- a/components/shellprivate/widgetexplorer/widgetexplorer.cpp
+++ b/components/shellprivate/widgetexplorer/widgetexplorer.cpp
@@ -136,7 +136,7 @@ void WidgetExplorerPrivate::initFilters()
     foreach (const QString &category, cats) {
         const QString lowerCaseCat = category.toLower();
         if (existingCategories.contains(lowerCaseCat)) {
-            const QString trans = i18n(category.toLocal8Bit());
+            const QString trans = i18nd("libplasma5", category.toLocal8Bit());
             categories.insert(trans.toLower(), qMakePair(trans, lowerCaseCat));
         }
     }


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

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