One more trivial patch: Translate the "Shelf <orientation>" message.
I did it the same way as in src/modules/conf_shelves/e_int_config_shelf.c:189
so there will be no new message in the pot.
-- Igor
>From fff1f1d92b15140f1805e3bb8f44da5e0ebf614e Mon Sep 17 00:00:00 2001
From: Igor Murzov <e-m...@date.by>
Date: Sun, 16 Dec 2012 19:51:56 +0400
Subject: [PATCH] Translate the "Shelf <orientation>" message.
I did it the same way as in
src/modules/conf_shelves/e_int_config_shelf.c:189
so there will be no new message in the pot.
---
src/bin/e_int_menus.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/bin/e_int_menus.c b/src/bin/e_int_menus.c
index 6c4ca6c..d01f1be 100644
--- a/src/bin/e_int_menus.c
+++ b/src/bin/e_int_menus.c
@@ -1621,15 +1621,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);
--
1.7.12.1
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel