From: luca_bruno Date: Mon, 11 Feb 2008 08:30:24 +0000 (+0000) Subject: * Missing localization for Reset preferences button X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=be9e5f2c115e34d52f7837a970048207f8976c65;p=inkscape.git * Missing localization for Reset preferences button --- diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp index 7b94512cf..6c5473caa 100644 --- a/src/ui/widget/preferences-widget.cpp +++ b/src/ui/widget/preferences-widget.cpp @@ -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())); diff --git a/src/ui/widget/preferences-widget.h b/src/ui/widget/preferences-widget.h index 2df0b9937..0b907ae34 100644 --- a/src/ui/widget/preferences-widget.h +++ b/src/ui/widget/preferences-widget.h @@ -25,7 +25,7 @@ #include #include #include -//#include +#include #include "ui/widget/color-picker.h" #include "ui/widget/unit-menu.h"