[tracker] tracker-search-tool: Made sure all strings are translatable



commit 7785dec654cbd9782b45cc6a8cd26d20c8632faa
Author: Jamie McCracken <jamiemcc gnome org>
Date:   Tue Sep 22 00:15:28 2009 -0400

    tracker-search-tool: Made sure all strings are translatable

 src/tracker-search-tool/tracker-query.gs       |    2 +-
 src/tracker-search-tool/tracker-search-tool.gs |    2 +-
 src/tracker-search-tool/tracker-utils.gs       |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/tracker-search-tool/tracker-query.gs b/src/tracker-search-tool/tracker-query.gs
index 5696033..22c205a 100644
--- a/src/tracker-search-tool/tracker-query.gs
+++ b/src/tracker-search-tool/tracker-query.gs
@@ -39,7 +39,7 @@ class TrackerQuery : Object
             var conn = DBus.Bus.get (DBus.BusType.SESSION)
             tracker = conn.get_object ("org.freedesktop.Tracker1", "/org/freedesktop/Tracker1/Resources", "org.freedesktop.Tracker1.Resources") as Resources
         except e : DBus.Error
-            print "Cannot connect to Session bus. Error is %s", e.message     
+            print "Cannot connect to Session bus. Error is %s", e.message
             return false
             
         return true
diff --git a/src/tracker-search-tool/tracker-search-tool.gs b/src/tracker-search-tool/tracker-search-tool.gs
index c37cb67..5ffcc6b 100644
--- a/src/tracker-search-tool/tracker-search-tool.gs
+++ b/src/tracker-search-tool/tracker-search-tool.gs
@@ -26,7 +26,7 @@ init
     
             var msg = new MessageDialog (null, DialogFlags.MODAL, \
                                          MessageType.ERROR, ButtonsType.OK, \
-                                        "Failed to load UI\n%s", e.message)
+                                        N_("Failed to load UI\n%s"), e.message)
             msg.run ()
             Gtk.main_quit()
     
diff --git a/src/tracker-search-tool/tracker-utils.gs b/src/tracker-search-tool/tracker-utils.gs
index 86ccc38..8b4cebd 100644
--- a/src/tracker-search-tool/tracker-utils.gs
+++ b/src/tracker-search-tool/tracker-utils.gs
@@ -31,7 +31,7 @@ class TrackerUtils
             return true
         except e: Error
             var msg = new MessageDialog (null, DialogFlags.MODAL, MessageType.ERROR, ButtonsType.OK, \
-                                         "Could not lauch %s\nError: %s\n", uri, e.message)
+                                         N_("Could not lauch %s\nError: %s\n"), uri, e.message)
             msg.run ();
             return false
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]