# HG changeset patch # User Rik # Date 1427911718 25200 # Node ID 8d0860d5fd5a6f8a3de4f479b5618dc4e8a46ef3 # Parent c3a40003aa42590ab538c0a1d2c6e449a0f4eefe Mark GUI strings from Qt figure toolbar for translation. * Figure.cc (createFigureToolBarAndMenuBar): Mark "Axes", "Grid", and "Autoscale" strings for translation. diff -r c3a40003aa42 -r 8d0860d5fd5a libgui/graphics/Figure.cc --- a/libgui/graphics/Figure.cc Wed Apr 01 12:45:04 2015 -0400 +++ b/libgui/graphics/Figure.cc Wed Apr 01 11:08:38 2015 -0700 @@ -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)));