summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2009-09-18 06:33:52 +0000
committerJazzyNico <JazzyNico@users.sourceforge.net>2009-09-18 06:33:52 +0000
commite19781175af3e23bb1afe30c3152db7d4fbef777 (patch)
tree57bc200e87fd46ce0690006210fdc8ea9f718cbb /src/ui/dialog
parentBreton translation update by Alan. (diff)
downloadinkscape-e19781175af3e23bb1afe30c3152db7d4fbef777.tar.gz
inkscape-e19781175af3e23bb1afe30c3152db7d4fbef777.zip
i18n fixes for Bug #408093.
(bzr r8608)
Diffstat (limited to 'src/ui/dialog')
-rw-r--r--src/ui/dialog/filter-effects-dialog.cpp2
-rw-r--r--src/ui/dialog/layers.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/dialog/filter-effects-dialog.cpp b/src/ui/dialog/filter-effects-dialog.cpp
index 171c23ae4..c7f505046 100644
--- a/src/ui/dialog/filter-effects-dialog.cpp
+++ b/src/ui/dialog/filter-effects-dialog.cpp
@@ -1315,7 +1315,7 @@ void FilterEffectsDialog::FilterModifier::add_filter()
const int count = _model->children().size();
std::ostringstream os;
- os << "filter" << count;
+ os << _("filter") << count;
filter->setLabel(os.str().c_str());
update_filters();
diff --git a/src/ui/dialog/layers.cpp b/src/ui/dialog/layers.cpp
index f0c4cd0dd..a06b6c9b6 100644
--- a/src/ui/dialog/layers.cpp
+++ b/src/ui/dialog/layers.cpp
@@ -658,7 +658,9 @@ LayersPanel::LayersPanel() :
_buttonsRow.add( *btn );
btn = manage( new Gtk::Button() );
- _styleButton( *btn, targetDesktop, SP_VERB_LAYER_TO_TOP, GTK_STOCK_GOTO_TOP, _("Top") );
+ //TRANSLATORS: only translate "string" in "context|string".
+ // For more details, see http://developer.gnome.org/doc/API/2.0/glib/glib-I18N.html#Q-:CAPS
+ _styleButton( *btn, targetDesktop, SP_VERB_LAYER_TO_TOP, GTK_STOCK_GOTO_TOP, Q_("layers|Top") );
btn->signal_clicked().connect( sigc::bind( sigc::mem_fun(*this, &LayersPanel::_takeAction), (int)BUTTON_TOP) );
_watchingNonTop.push_back( btn );
_buttonsRow.add( *btn );