Code

Extensions. Tooltips are now translatable (Bug #629726).
authorJazzyNico <nicoduf@yahoo.fr>
Fri, 3 Sep 2010 20:11:22 +0000 (22:11 +0200)
committerJazzyNico <nicoduf@yahoo.fr>
Fri, 3 Sep 2010 20:11:22 +0000 (22:11 +0200)
src/extension/extension.cpp

index b4cf06bda3b513490631118270c61b17cd5a7f78..3aed5a23385c96fd89a7c017c339d50983019966 100644 (file)
@@ -671,7 +671,7 @@ public:
         if (widg == NULL) return;
         this->pack_start(*widg, true, true, 2);
         if (tooltip != NULL) {
-            _tooltips.set_tip(*widg, Glib::ustring(tooltip));
+            _tooltips.set_tip(*widg, Glib::ustring(_(tooltip)));
         }
         return;
     };