diff options
author | Matt Wilson <msw@redhat.com> | 2001-02-19 23:46:21 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-02-19 23:46:21 +0000 |
commit | 8f1adcf2359eb9427b5ce09b66a31ff3a1dfd6bd (patch) | |
tree | 26fc11533fd5a9277ed2f5155bc16b630178ba19 /gnome-map/timezonemapmodule.c | |
parent | ceafe87f4157992f8b951d6e485962406fdbca63 (diff) | |
download | anaconda-8f1adcf2359eb9427b5ce09b66a31ff3a1dfd6bd.tar.gz anaconda-8f1adcf2359eb9427b5ce09b66a31ff3a1dfd6bd.tar.xz anaconda-8f1adcf2359eb9427b5ce09b66a31ff3a1dfd6bd.zip |
translate map area names
Diffstat (limited to 'gnome-map/timezonemapmodule.c')
-rw-r--r-- | gnome-map/timezonemapmodule.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gnome-map/timezonemapmodule.c b/gnome-map/timezonemapmodule.c index 48a4743de..0eb7a3d23 100644 --- a/gnome-map/timezonemapmodule.c +++ b/gnome-map/timezonemapmodule.c @@ -67,13 +67,13 @@ struct _VIEW_DEF { typedef struct _VIEW_DEF ViewDefinition; ViewDefinition Views[] = { - { "World", LONGITUDE_CONSTRAINT, -180.0, 180.0, 0.0 }, - { "North America", LONGITUDE_CONSTRAINT, -171.0, -21.0, 40.0 }, - { "South America", LATITUDE_CONSTRAINT, 15.0, -70.0, -70.0 }, - { "Indian Rim", LATITUDE_CONSTRAINT, -47.0, 47.0, 155.0}, - { "Europe", LONGITUDE_CONSTRAINT, -25.0, 70.0, 45.0 }, - { "Africa", LATITUDE_CONSTRAINT, 40.0, -40.0, 15.0}, - { "Asia", LONGITUDE_CONSTRAINT, 20.0, 165.0, 40.0} + { N_("World"), LONGITUDE_CONSTRAINT, -180.0, 180.0, 0.0 }, + { N_("North America"), LONGITUDE_CONSTRAINT, -171.0, -21.0, 40.0 }, + { N_("South America"), LATITUDE_CONSTRAINT, 15.0, -70.0, -70.0 }, + { N_("Indian Rim"), LATITUDE_CONSTRAINT, -47.0, 47.0, 155.0}, + { N_("Europe"), LONGITUDE_CONSTRAINT, -25.0, 70.0, 45.0 }, + { N_("Africa"), LATITUDE_CONSTRAINT, 40.0, -40.0, 15.0}, + { N_("Asia"), LONGITUDE_CONSTRAINT, 20.0, 165.0, 40.0} }; static gint numviews = sizeof(Views)/sizeof(ViewDefinition); @@ -595,7 +595,7 @@ create_view_menu (MapData *mapdata) menu = gtk_menu_new (); for (i=0; i < numviews; i++) { - menu_item = gtk_menu_item_new_with_label (Views[i].name); + menu_item = gtk_menu_item_new_with_label (_(Views[i].name)); gtk_menu_append (GTK_MENU (menu), menu_item); gtk_signal_connect (GTK_OBJECT (menu_item), "activate", |