Skip to content

Commit 37897ca

Browse files
author
mhugent
committed
added some tr() in the grass plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk@5483 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 3f90413 commit 37897ca

16 files changed

+77652
-39008
lines changed

i18n/qgis_cs_CZ.ts

Lines changed: 462 additions & 59 deletions
Large diffs are not rendered by default.

i18n/qgis_de.ts

Lines changed: 7394 additions & 3969 deletions
Large diffs are not rendered by default.

i18n/qgis_fr.ts

Lines changed: 481 additions & 67 deletions
Large diffs are not rendered by default.

i18n/qgis_id.ts

Lines changed: 6257 additions & 3508 deletions
Large diffs are not rendered by default.

i18n/qgis_it.ts

Lines changed: 6717 additions & 3503 deletions
Large diffs are not rendered by default.

i18n/qgis_ja.ts

Lines changed: 7309 additions & 3809 deletions
Large diffs are not rendered by default.

i18n/qgis_lv.ts

Lines changed: 7038 additions & 3672 deletions
Large diffs are not rendered by default.

i18n/qgis_nl.ts

Lines changed: 2593 additions & 1271 deletions
Large diffs are not rendered by default.

i18n/qgis_pl_PL.ts

Lines changed: 6125 additions & 3356 deletions
Large diffs are not rendered by default.

i18n/qgis_pt_BR.ts

Lines changed: 7468 additions & 3797 deletions
Large diffs are not rendered by default.

i18n/qgis_ru.ts

Lines changed: 2850 additions & 1352 deletions
Large diffs are not rendered by default.

i18n/qgis_se.ts

Lines changed: 8352 additions & 2708 deletions
Large diffs are not rendered by default.

i18n/qgis_sk.ts

Lines changed: 7282 additions & 3927 deletions
Large diffs are not rendered by default.

i18n/qgis_sv.ts

Lines changed: 6851 additions & 3926 deletions
Large diffs are not rendered by default.

i18n/qgis_zh_CN.ts

Lines changed: 458 additions & 69 deletions
Large diffs are not rendered by default.

src/plugins/grass/qgsgrassplugin.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -154,33 +154,33 @@ void QgsGrassPlugin::initGui()
154154
mRegionBand->hide();
155155

156156
// Create the action for tool
157-
mOpenMapsetAction = new QAction( "Open mapset", this );
158-
mNewMapsetAction = new QAction( "New mapset", this );
159-
mCloseMapsetAction = new QAction( "Close mapset", this );
157+
mOpenMapsetAction = new QAction( tr("Open mapset"), this );
158+
mNewMapsetAction = new QAction( tr("New mapset"), this );
159+
mCloseMapsetAction = new QAction( tr("Close mapset"), this );
160160

161161
mAddVectorAction = new QAction(QIcon(icon_add_vector),
162-
"Add GRASS vector layer", this);
162+
tr("Add GRASS vector layer"), this);
163163
mAddRasterAction = new QAction(QIcon(icon_add_raster),
164-
"Add GRASS raster layer", this);
164+
tr("Add GRASS raster layer"), this);
165165
mOpenToolsAction = new QAction(QIcon(icon_grass_tools),
166-
"Open GRASS tools", this);
166+
tr("Open GRASS tools"), this);
167167

168168
mRegionAction = new QAction(QIcon(icon_grass_region),
169-
"Display Current Grass Region", this);
169+
tr("Display Current Grass Region"), this);
170170
mRegionAction->setCheckable(true);
171171

172172
mEditRegionAction = new QAction(QIcon(icon_grass_region_edit),
173-
"Edit Current Grass Region", this);
173+
tr("Edit Current Grass Region"), this);
174174
mEditAction = new QAction(QIcon(icon_grass_edit),
175-
"Edit Grass Vector layer", this);
175+
tr("Edit Grass Vector layer"), this);
176176
mNewVectorAction = new QAction("Create new Grass Vector", this);
177177

178-
mAddVectorAction->setWhatsThis("Adds a GRASS vector layer to the map canvas");
179-
mAddRasterAction->setWhatsThis("Adds a GRASS raster layer to the map canvas");
180-
mOpenToolsAction->setWhatsThis("Open GRASS tools");
181-
mRegionAction->setWhatsThis("Displays the current GRASS region as a rectangle on the map canvas");
182-
mEditRegionAction->setWhatsThis("Edit the current GRASS region");
183-
mEditAction->setWhatsThis("Edit the currently selected GRASS vector layer.");
178+
mAddVectorAction->setWhatsThis(tr("Adds a GRASS vector layer to the map canvas"));
179+
mAddRasterAction->setWhatsThis(tr("Adds a GRASS raster layer to the map canvas"));
180+
mOpenToolsAction->setWhatsThis(tr("Open GRASS tools"));
181+
mRegionAction->setWhatsThis(tr("Displays the current GRASS region as a rectangle on the map canvas"));
182+
mEditRegionAction->setWhatsThis(tr("Edit the current GRASS region"));
183+
mEditAction->setWhatsThis(tr("Edit the currently selected GRASS vector layer."));
184184

185185
// Connect the action
186186
connect(mAddVectorAction, SIGNAL(activated()), this, SLOT(addVector()));

0 commit comments

Comments
 (0)