203
203
if [string compare $type all] {
204
Label $w.element.menu -text "Map type:" -fg black -font $nviztxtfont
204
Label $w.element.menu -text [G_msg "Map type:"] -fg black -font $nviztxtfont
207
menubutton $w.element.menu -text {Map Type} -menu $w.element.menu.m -relief raised -bd 1
207
menubutton $w.element.menu -text [G_msg "Map Type"] -menu $w.element.menu.m -relief raised -bd 1
208
208
menu $w.element.menu.m
209
209
$w.element.menu.m add command \
210
-label {Raster} -command "set_map_browser_element $w Raster"
211
$w.element.menu.m add command \
212
-label {Vector} -command "set_map_browser_element $w Vector"
213
$w.element.menu.m add command \
214
-label {Site} -command "set_map_browser_element $w Site"
215
$w.element.menu.m add command \
216
-label {Surf} -command "set_map_browser_element $w Surf"
217
$w.element.menu.m add command \
218
-label {3d.view} -command "set_map_browser_element $w 3d.view"
219
$w.element.menu.m add command \
220
-label {Regions} -command "set_map_browser_element $w windows"
221
$w.element.menu.m add command \
222
-label {Labels} -command "set_map_browser_element $w\
210
-label [G_msg "Raster"] -command "set_map_browser_element $w Raster"
211
$w.element.menu.m add command \
212
-label [G_msg "Vector"] -command "set_map_browser_element $w Vector"
213
$w.element.menu.m add command \
214
-label [G_msg "Site"] -command "set_map_browser_element $w Site"
215
$w.element.menu.m add command \
216
-label [G_msg "Surf"] -command "set_map_browser_element $w Surf"
217
$w.element.menu.m add command \
218
-label [G_msg "3d.view"] -command "set_map_browser_element $w 3d.view"
219
$w.element.menu.m add command \
220
-label [G_msg "Regions"] -command "set_map_browser_element $w windows"
221
$w.element.menu.m add command \
222
-label [G_msg "Labels"] -command "set_map_browser_element $w\
224
224
$w.element.menu.m add command \
225
-label {Icons} -command "set_map_browser_element $w icons"
225
-label [G_msg "Icons"] -command "set_map_browser_element $w icons"
227
button $w.accept -text "Accept" -command "mapBrowser_accept_cmd $w" -bd 1 \
227
button $w.accept -text [G_msg "Accept"] -command "mapBrowser_accept_cmd $w" -bd 1 \
229
button $w.cancel -text "Cancel" -command "mapBrowser_cancel_cmd $w" -bd 1
229
button $w.cancel -text [G_msg "Cancel"] -command "mapBrowser_cancel_cmd $w" -bd 1
231
231
bind $w <Return> "mapBrowser_accept_cmd $w"