projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72bff90
)
Translate the "Shelf <orientation>" message (patch from Igor Murzov)
author
Massimo Maiurana
<maiurana@gmail.com>
Sun, 16 Dec 2012 17:10:08 +0000
(17:10 +0000)
committer
Massimo Maiurana
<maiurana@gmail.com>
Sun, 16 Dec 2012 17:10:08 +0000
(17:10 +0000)
SVN revision: 81052
src/bin/e_int_menus.c
patch
|
blob
|
history
diff --git
a/src/bin/e_int_menus.c
b/src/bin/e_int_menus.c
index
1d8953f
..
bde7157
100644
(file)
--- 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);