diff options
author | Gediminas Paulauskas <menesis@delfi.lt> | 2001-05-03 04:38:29 +0800 |
---|---|---|
committer | Gediminas Paulauskas <menesis@src.gnome.org> | 2001-05-03 04:38:29 +0800 |
commit | c5efeb1bb252beda6a74817e6c00283b56ab9e11 (patch) | |
tree | 019d23d46c9f87479440c277698c05b727866af0 /widgets/menus/gal-view-menus.c | |
parent | d0edb931396f444394f70c61c6dd1031630b9970 (diff) | |
download | gsoc2013-evolution-c5efeb1bb252beda6a74817e6c00283b56ab9e11.tar.gz gsoc2013-evolution-c5efeb1bb252beda6a74817e6c00283b56ab9e11.tar.zst gsoc2013-evolution-c5efeb1bb252beda6a74817e6c00283b56ab9e11.zip |
Found out that I forgot to commit this.
2001-04-21 Gediminas Paulauskas <menesis@delfi.lt>
* menus/gal-view-menus.c: bonobo_ui_node_set_attr expects unstranslated
strings, so change _() to N_().
svn path=/trunk/; revision=9650
Diffstat (limited to 'widgets/menus/gal-view-menus.c')
-rw-r--r-- | widgets/menus/gal-view-menus.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c index 7f97b71531..4be6d73e19 100644 --- a/widgets/menus/gal-view-menus.c +++ b/widgets/menus/gal-view-menus.c @@ -174,7 +174,7 @@ build_menus(GalViewMenus *menus) submenu = bonobo_ui_node_new_child(place, "submenu"); bonobo_ui_node_set_attr(submenu, "name", "CurrentView"); - bonobo_ui_node_set_attr(submenu, "_label", _("_Current View")); + bonobo_ui_node_set_attr(submenu, "_label", N_("_Current View")); length = gal_view_collection_get_count(collection); for (i = 0; i < length; i++) { @@ -193,9 +193,7 @@ build_menus(GalViewMenus *menus) menuitem = bonobo_ui_node_new_child(submenu, "menuitem"); bonobo_ui_node_set_attr(menuitem, "name", "DefineViews"); - label = e_utf8_from_locale_string(_("Define Views")); - bonobo_ui_node_set_attr(menuitem, "_label", label); - g_free (label); + bonobo_ui_node_set_attr(menuitem, "_label", N_("Define Views")); bonobo_ui_node_set_attr(menuitem, "verb", "DefineViews"); string = bonobo_ui_node_to_string(root, TRUE); |