Mercurial > hg > octave-nkf
diff libgui/graphics/Figure.cc @ 20217:8d0860d5fd5a
Mark GUI strings from Qt figure toolbar for translation.
* Figure.cc (createFigureToolBarAndMenuBar): Mark "Axes", "Grid", and
"Autoscale" strings for translation.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 01 Apr 2015 11:08:38 -0700 |
parents | c3a40003aa42 |
children | 08fae2e963fb |
line wrap: on
line diff
--- a/libgui/graphics/Figure.cc +++ b/libgui/graphics/Figure.cc @@ -287,15 +287,15 @@ SLOT (setMouseMode (MouseMode))); m_figureToolBar->addActions (m_mouseModeGroup->actions ()); - QAction *toggle_axes = m_figureToolBar->addAction ("Axes"); + QAction *toggle_axes = m_figureToolBar->addAction (tr ("Axes")); connect (toggle_axes, SIGNAL (triggered (void)), this, SLOT (toggleAxes (void))); - QAction *toggle_grid = m_figureToolBar->addAction ("Grid"); + QAction *toggle_grid = m_figureToolBar->addAction (tr ("Grid")); connect (toggle_grid, SIGNAL (triggered (void)), this, SLOT (toggleGrid (void))); - QAction *auto_axes = m_figureToolBar->addAction ("Autoscale"); + QAction *auto_axes = m_figureToolBar->addAction (tr ("Autoscale")); connect (auto_axes, SIGNAL (triggered (void)), this, SLOT (autoAxes (void)));