Skip to content

Commit

Permalink
added some tr() in the grass plugin
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@5483 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed May 23, 2006
1 parent 3f90413 commit 37897ca
Show file tree
Hide file tree
Showing 16 changed files with 77,652 additions and 39,008 deletions.
521 changes: 462 additions & 59 deletions i18n/qgis_cs_CZ.ts

Large diffs are not rendered by default.

11,363 changes: 7,394 additions & 3,969 deletions i18n/qgis_de.ts

Large diffs are not rendered by default.

548 changes: 481 additions & 67 deletions i18n/qgis_fr.ts

Large diffs are not rendered by default.

9,765 changes: 6,257 additions & 3,508 deletions i18n/qgis_id.ts

Large diffs are not rendered by default.

10,220 changes: 6,717 additions & 3,503 deletions i18n/qgis_it.ts

Large diffs are not rendered by default.

11,118 changes: 7,309 additions & 3,809 deletions i18n/qgis_ja.ts

Large diffs are not rendered by default.

10,710 changes: 7,038 additions & 3,672 deletions i18n/qgis_lv.ts

Large diffs are not rendered by default.

3,864 changes: 2,593 additions & 1,271 deletions i18n/qgis_nl.ts

Large diffs are not rendered by default.

9,481 changes: 6,125 additions & 3,356 deletions i18n/qgis_pl_PL.ts

Large diffs are not rendered by default.

11,265 changes: 7,468 additions & 3,797 deletions i18n/qgis_pt_BR.ts

Large diffs are not rendered by default.

4,202 changes: 2,850 additions & 1,352 deletions i18n/qgis_ru.ts

Large diffs are not rendered by default.

11,060 changes: 8,352 additions & 2,708 deletions i18n/qgis_se.ts

Large diffs are not rendered by default.

11,209 changes: 7,282 additions & 3,927 deletions i18n/qgis_sk.ts

Large diffs are not rendered by default.

10,777 changes: 6,851 additions & 3,926 deletions i18n/qgis_sv.ts

Large diffs are not rendered by default.

527 changes: 458 additions & 69 deletions i18n/qgis_zh_CN.ts

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions src/plugins/grass/qgsgrassplugin.cpp
Expand Up @@ -154,33 +154,33 @@ void QgsGrassPlugin::initGui()
mRegionBand->hide();

// Create the action for tool
mOpenMapsetAction = new QAction( "Open mapset", this );
mNewMapsetAction = new QAction( "New mapset", this );
mCloseMapsetAction = new QAction( "Close mapset", this );
mOpenMapsetAction = new QAction( tr("Open mapset"), this );
mNewMapsetAction = new QAction( tr("New mapset"), this );
mCloseMapsetAction = new QAction( tr("Close mapset"), this );

mAddVectorAction = new QAction(QIcon(icon_add_vector),
"Add GRASS vector layer", this);
tr("Add GRASS vector layer"), this);
mAddRasterAction = new QAction(QIcon(icon_add_raster),
"Add GRASS raster layer", this);
tr("Add GRASS raster layer"), this);
mOpenToolsAction = new QAction(QIcon(icon_grass_tools),
"Open GRASS tools", this);
tr("Open GRASS tools"), this);

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

mEditRegionAction = new QAction(QIcon(icon_grass_region_edit),
"Edit Current Grass Region", this);
tr("Edit Current Grass Region"), this);
mEditAction = new QAction(QIcon(icon_grass_edit),
"Edit Grass Vector layer", this);
tr("Edit Grass Vector layer"), this);
mNewVectorAction = new QAction("Create new Grass Vector", this);

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

// Connect the action
connect(mAddVectorAction, SIGNAL(activated()), this, SLOT(addVector()));
Expand Down

0 comments on commit 37897ca

Please sign in to comment.