diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2016-06-05 17:35:39 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2016-06-05 17:35:39 +0000 |
| commit | 6f15692726681034391d42c58aa870e9dbba642f (patch) | |
| tree | 683150639022dc4273f9726694a57a8a64c5b4dd /src/extension/param/enum.cpp | |
| parent | [Bug #1545333] Convenience option (default: ON) for cmake builds to enable SV... (diff) | |
| download | inkscape-6f15692726681034391d42c58aa870e9dbba642f.tar.gz inkscape-6f15692726681034391d42c58aa870e9dbba642f.zip | |
Extensions: Fixes and improvements for "gui-text" parameter attribute
- "gui-text" was always translated (as opposed to only "_gui-text")
- This made it impossible to have parameters without label (since the empty string returns the whole .po file header when translated), which caused an issue in restack extension
- Added possibility to specify "msgctxt" for "gui-text"
(bzr r14955)
Diffstat (limited to 'src/extension/param/enum.cpp')
| -rw-r--r-- | src/extension/param/enum.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/param/enum.cpp b/src/extension/param/enum.cpp index 8bc0fbda7..4e7420807 100644 --- a/src/extension/param/enum.cpp +++ b/src/extension/param/enum.cpp @@ -251,7 +251,7 @@ Gtk::Widget *ParamComboBox::get_widget(SPDocument * doc, Inkscape::XML::Node * n } Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4)); - Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_START)); + Gtk::Label * label = Gtk::manage(new Gtk::Label(_text, Gtk::ALIGN_START)); label->show(); hbox->pack_start(*label, false, false, _indent); |
