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

List:       kde-commits
Subject:    playground/base/plasma/declarative-applets/replacements/dictionary/package/contents/ui
From:       Lukas Appelhans <l.appelhans () gmx ! de>
Date:       2011-01-09 15:03:25
Message-ID: 20110109150325.D9248AC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1213198 by lappelhans:

Make translateable


 M  +2 -2      main.qml  


--- trunk/playground/base/plasma/declarative-applets/replacements/dictionary/package/contents/ui/main.qml \
#1213197:1213198 @@ -95,7 +95,7 @@
                 text: {
                     if (mainWindow.listdictionaries) {
                         var data = feedSource.data["list-dictionaries"]
-                        var temp = "<b>This is a list of Dictionaries. You can type \
'<dictionaryname>:' in front of your search term to pick from a certain \
one.</b><br><br>" +                        var temp = i18n("<b>This is a list of \
Dictionaries. You can type 'dictionaryname:' in front of your search term to pick \
from a certain one.</b><br><br>")  for (var line in data) {
                             temp = temp + line + ": " + data[line] + "<br><br>"
                         }
@@ -104,7 +104,7 @@
                         if (feedSource.data[searchBox.text])
                             feedSource.data[searchBox.text]["text"]
                         else
-                            "This is the dictionary plasmoid"
+                            i18n("This is the dictionary plasmoid")
                     }
                 }
             }


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

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