@@ -97,15 +97,15 @@ def initGui( self ):
97
97
if rasterMenu == None :
98
98
# no Raster menu, create and insert it before the Help menu
99
99
self .menu = QMenu ()
100
- self .menu .setTitle ( QCoreApplication . translate ( "GdalTools" , "&Raster" ) )
100
+ self .menu .setTitle ( rasterText )
101
101
lastAction = actions [ len ( actions ) - 1 ]
102
102
menu_bar .insertMenu ( lastAction , self .menu )
103
103
else :
104
104
self .menu = rasterMenu
105
105
self .menu .addSeparator ()
106
106
107
107
if self .GdalVersion >= "1.6" :
108
- self .buildVRT = QAction ( QIcon (":/icons/vrt.png" ), QCoreApplication .translate ( "GdalTools" , "Build Virtual Raster (catalog )" ), self .iface .mainWindow () )
108
+ self .buildVRT = QAction ( QIcon (":/icons/vrt.png" ), QCoreApplication .translate ( "GdalTools" , "Build Virtual Raster (Catalog )" ), self .iface .mainWindow () )
109
109
self .buildVRT .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Builds a VRT from a list of datasets" ) )
110
110
QObject .connect ( self .buildVRT , SIGNAL ( "triggered()" ), self .doBuildVRT )
111
111
self .menu .addAction (self .buildVRT )
@@ -117,13 +117,13 @@ def initGui( self ):
117
117
self .menu .addAction (self .contour )
118
118
119
119
if self .GdalVersion >= "1.3" :
120
- self .rasterize = QAction ( QIcon (":/icons/rasterize.png" ), QCoreApplication .translate ( "GdalTools" , "Rasterize" ), self .iface .mainWindow () )
120
+ self .rasterize = QAction ( QIcon (":/icons/rasterize.png" ), QCoreApplication .translate ( "GdalTools" , "Rasterize (Vector to raster) " ), self .iface .mainWindow () )
121
121
self .rasterize .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Burns vector geometries into a raster" ) )
122
122
QObject .connect ( self .rasterize , SIGNAL ( "triggered()" ), self .doRasterize )
123
123
self .menu .addAction (self .rasterize )
124
124
125
125
if self .GdalVersion >= "1.6" :
126
- self .polygonize = QAction ( QIcon (":/icons/polygonize.png" ), QCoreApplication .translate ( "GdalTools" , "Polygonize" ), self .iface .mainWindow () )
126
+ self .polygonize = QAction ( QIcon (":/icons/polygonize.png" ), QCoreApplication .translate ( "GdalTools" , "Polygonize (Raster to vector) " ), self .iface .mainWindow () )
127
127
self .polygonize .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Produces a polygon feature layer from a raster" ) )
128
128
QObject .connect ( self .polygonize , SIGNAL ( "triggered()" ), self .doPolygonize )
129
129
self .menu .addAction (self .polygonize )
@@ -140,7 +140,7 @@ def initGui( self ):
140
140
self .menu .addAction (self .sieve )
141
141
142
142
if self .GdalVersion >= "1.6" :
143
- self .proximity = QAction ( QIcon (":/icons/proximity.png" ), QCoreApplication .translate ( "GdalTools" , "Proximity" ), self .iface .mainWindow () )
143
+ self .proximity = QAction ( QIcon (":/icons/proximity.png" ), QCoreApplication .translate ( "GdalTools" , "Proximity (Raster distance) " ), self .iface .mainWindow () )
144
144
self .proximity .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Produces a raster proximity map" ) )
145
145
QObject .connect ( self .proximity , SIGNAL ( "triggered()" ), self .doProximity )
146
146
self .menu .addAction (self .proximity )
@@ -151,18 +151,18 @@ def initGui( self ):
151
151
QObject .connect ( self .nearBlack , SIGNAL ( "triggered()" ), self .doNearBlack )
152
152
self .menu .addAction (self .nearBlack )
153
153
154
- self .warp = QAction ( QIcon (":/icons/warp.png" ), QCoreApplication .translate ( "GdalTools" , "Warp" ), self .iface .mainWindow () )
154
+ self .warp = QAction ( QIcon (":/icons/warp.png" ), QCoreApplication .translate ( "GdalTools" , "Warp (Reproject) " ), self .iface .mainWindow () )
155
155
self .warp .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Warp an image into a new coordinate system" ) )
156
156
QObject .connect ( self .warp , SIGNAL ( "triggered()" ), self .doWarp )
157
157
self .menu .addAction (self .warp )
158
158
159
159
if self .GdalVersion >= "1.5" :
160
- self .grid = QAction ( QIcon (":/icons/grid.png" ), QCoreApplication .translate ( "GdalTools" , "Grid" ), self .iface .mainWindow () )
160
+ self .grid = QAction ( QIcon (":/icons/grid.png" ), QCoreApplication .translate ( "GdalTools" , "Grid (Interpolation) " ), self .iface .mainWindow () )
161
161
self .grid .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Create raster from the scattered data" ) )
162
162
QObject .connect ( self .grid , SIGNAL ( "triggered()" ), self .doGrid )
163
163
self .menu .addAction (self .grid )
164
164
165
- self .translate = QAction ( QIcon (":/icons/translate.png" ), QCoreApplication .translate ( "GdalTools" , "Translate" ), self .iface .mainWindow () )
165
+ self .translate = QAction ( QIcon (":/icons/translate.png" ), QCoreApplication .translate ( "GdalTools" , "Translate (Convert format) " ), self .iface .mainWindow () )
166
166
self .translate .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Converts raster data between different formats" ) )
167
167
QObject .connect ( self .translate , SIGNAL ( "triggered()" ), self .doTranslate )
168
168
self .menu .addAction (self .translate )
@@ -177,7 +177,7 @@ def initGui( self ):
177
177
QObject .connect ( self .projection , SIGNAL ( "triggered()" ), self .doProjection )
178
178
self .menu .addAction ( self .projection )
179
179
180
- self .overview = QAction ( QIcon ( ":icons/raster-overview.png" ), QCoreApplication .translate ( "GdalTools" , "Build overviews" ), self .iface .mainWindow () )
180
+ self .overview = QAction ( QIcon ( ":icons/raster-overview.png" ), QCoreApplication .translate ( "GdalTools" , "Build overviews (Pyramids) " ), self .iface .mainWindow () )
181
181
self .overview .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Builds or rebuilds overview images" ) )
182
182
QObject .connect ( self .overview , SIGNAL ( "triggered()" ), self .doOverview )
183
183
self .menu .addAction ( self .overview )
@@ -203,7 +203,7 @@ def initGui( self ):
203
203
self .menu .addAction (self .tileindex )
204
204
205
205
if self .GdalVersion >= "1.7" :
206
- self .dem = QAction ( QIcon ( ":icons/dem.png" ), QCoreApplication .translate ( "GdalTools" , "DEM" ), self .iface .mainWindow () )
206
+ self .dem = QAction ( QIcon ( ":icons/dem.png" ), QCoreApplication .translate ( "GdalTools" , "DEM (Terrain models) " ), self .iface .mainWindow () )
207
207
self .dem .setStatusTip ( QCoreApplication .translate ( "GdalTools" , "Tool to analyze and visualize DEMs" ) )
208
208
QObject .connect ( self .dem , SIGNAL ( "triggered()" ), self .doDEM )
209
209
self .menu .addAction (self .dem )
0 commit comments