Code

i18n fixes for Bug #408093.
[inkscape.git] / src / ui / dialog / layers.cpp
index f0c4cd0dd4fa2d59043aeb5011da7173a4f2569a..a06b6c9b68c0c9d562f35b9dbbae22b4eebe969f 100644 (file)
@@ -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 );