From be9e5f2c115e34d52f7837a970048207f8976c65 Mon Sep 17 00:00:00 2001 From: luca_bruno Date: Mon, 11 Feb 2008 08:30:24 +0000 Subject: [PATCH] * Missing localization for Reset preferences button --- src/ui/widget/preferences-widget.cpp | 2 +- src/ui/widget/preferences-widget.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- 2.30.2