forked from enlightenment/enlightenment
Translate the "Shelf <orientation>" message (patch from Igor Murzov)
SVN revision: 81052
This commit is contained in:
parent
72bff90279
commit
6b330d0932
|
@ -1624,15 +1624,14 @@ _e_int_menus_shelves_pre_cb(void *data __UNUSED__, E_Menu *m)
|
||||||
shelves = e_shelf_list();
|
shelves = e_shelf_list();
|
||||||
EINA_LIST_FOREACH(shelves, l, es)
|
EINA_LIST_FOREACH(shelves, l, es)
|
||||||
{
|
{
|
||||||
const char *name;
|
char buf[256];
|
||||||
char buf[4096];
|
|
||||||
|
|
||||||
if (!es) continue;
|
if (!es) continue;
|
||||||
if (es->zone->num != zone->num) continue;
|
if (es->zone->num != zone->num) continue;
|
||||||
if (es->cfg->container != (int)con->num) continue;
|
if (es->cfg->container != (int)con->num) continue;
|
||||||
|
|
||||||
name = e_shelf_orient_string_get(es);
|
snprintf(buf, sizeof(buf), "%s %s", _("Shelf"),
|
||||||
snprintf(buf, sizeof(buf), "Shelf %s", name);
|
e_shelf_orient_string_get(es));
|
||||||
|
|
||||||
mi = e_menu_item_new(m);
|
mi = e_menu_item_new(m);
|
||||||
e_menu_item_label_set(mi, buf);
|
e_menu_item_label_set(mi, buf);
|
||||||
|
|
Loading…
Reference in New Issue