diff options
author | Massimo Maiurana <maiurana@gmail.com> | 2012-12-16 17:10:08 +0000 |
---|---|---|
committer | Massimo Maiurana <maiurana@gmail.com> | 2012-12-16 17:10:08 +0000 |
commit | 6b330d09328c5dd33da926a6ba816d028d4cd00a (patch) | |
tree | a009837ead0b14eeaf354f721248a49a71e5558a /src/bin/e_int_menus.c | |
parent | 72bff9027940ba976f5ac71730a086e27cd9d0f7 (diff) | |
download | enlightenment-6b330d09328c5dd33da926a6ba816d028d4cd00a.tar.gz |
Translate the "Shelf <orientation>" message (patch from Igor Murzov)
SVN revision: 81052
Diffstat (limited to 'src/bin/e_int_menus.c')
-rw-r--r-- | src/bin/e_int_menus.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c index 1d8953fad5..bde7157ed3 100644 --- a/src/bin/e_int_menus.c +++ b/src/bin/e_int_menus.c @@ -1624,15 +1624,14 @@ _e_int_menus_shelves_pre_cb(void *data __UNUSED__, E_Menu *m) shelves = e_shelf_list(); EINA_LIST_FOREACH(shelves, l, es) { - const char *name; - char buf[4096]; + char buf[256]; if (!es) continue; if (es->zone->num != zone->num) continue; if (es->cfg->container != (int)con->num) continue; - name = e_shelf_orient_string_get(es); - snprintf(buf, sizeof(buf), "Shelf %s", name); + snprintf(buf, sizeof(buf), "%s %s", _("Shelf"), + e_shelf_orient_string_get(es)); mi = e_menu_item_new(m); e_menu_item_label_set(mi, buf); |