Code

* Missing localization for Reset preferences button
authorluca_bruno <luca_bruno@users.sourceforge.net>
Mon, 11 Feb 2008 08:30:24 +0000 (08:30 +0000)
committerluca_bruno <luca_bruno@users.sourceforge.net>
Mon, 11 Feb 2008 08:30:24 +0000 (08:30 +0000)
src/ui/widget/preferences-widget.cpp
src/ui/widget/preferences-widget.h

index 7b94512cfef7710482d5acd610654616cc63846f..6c5473caa062ca39e0e64f0e0257cde57170c024 100644 (file)
@@ -275,7 +275,7 @@ void PrefEntryButtonHBox::init(const std::string& prefs_path, const std::string&
     _attr = attr;
     _default_string = default_string;
     relatedEntry = new Gtk::Entry();
-    relatedButton = new Gtk::Button("Reset");
+    relatedButton = new Gtk::Button(_("Reset"));
     relatedEntry->set_invisible_char('*');
     relatedEntry->set_visibility(visibility);
     relatedEntry->set_text(prefs_get_string_attribute(_prefs_path.c_str(), _attr.c_str()));
index 2df0b993727c5ae31adefc0fd04e3203822314a0..0b907ae346b508a4e3bb3186c2938b9abeeb0f85 100644 (file)
@@ -25,7 +25,7 @@
 #include <gtkmm/frame.h>
 #include <gtkmm/filechooserbutton.h>
 #include <sigc++/sigc++.h>
-//#include <glibmm/i18n.h>
+#include <glibmm/i18n.h>
 
 #include "ui/widget/color-picker.h"
 #include "ui/widget/unit-menu.h"