From 7b689bdf9d1b784052cce498e288b9312dbab245 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Sat, 28 Jan 2006 14:58:54 +0000 Subject: [PATCH] Add some missing localizable strings. SVN revision: 20086 --- config/strings.c | 23 +++++++++++++++++++++++ config/strings.pl | 18 +++++++++++++++++- scripts/e_gen_menu | 2 +- 3 files changed, 41 insertions(+), 2 deletions(-) diff --git a/config/strings.c b/config/strings.c index 9378f516..fb6f3240 100644 --- a/config/strings.c +++ b/config/strings.c @@ -76,6 +76,7 @@ _("Go Forward a Desktop"), /* menus.cfg */ _("Backgrounds"), _("Desktop Operations"), +_("Backgrounds"), _("Cleanup Desktop"), _("Goto Next Desktop"), _("Goto Previous Desktop"), @@ -111,6 +112,11 @@ _("Composite Settings ..."), _("Session Settings ..."), _("Miscellaneous Settings ..."), _("Enlightenment"), +_("User Menus"), +_("Desktop"), +_("Settings"), +_("Themes"), +_("Maintenance"), _("Help"), _("About Enlightenment"), _("About this theme"), @@ -125,6 +131,9 @@ _("Absolute Max Width Toggle"), _("Max Size Toggle"), _("Available Max Size Toggle"), _("Absolute Max Size Toggle"), +_("Height"), +_("Width"), +_("Size"), _("Fullscreen/Normal"), _("Zoom/Unzoom"), _("Below"), @@ -159,4 +168,18 @@ _("Lower"), _("Shade/Unshade"), _("Stick/Unstick"), _("Remember..."), +_("Window Size"), +_("Set Stacking"), +_("Set Border Style"), +_("Window Groups"), +_("Opacity"), +_("Miscellaneous"), +_("Remember State"), + +_("User Menus"), +_("User Application List"), +_("Other"), +_("Enlightenment Epplets"), +_("Restart Enlightenment"), +_("Log Out"), }; diff --git a/config/strings.pl b/config/strings.pl index f6deab4f..1cad5a63 100644 --- a/config/strings.pl +++ b/config/strings.pl @@ -56,12 +56,22 @@ sub x() { $t = "$1"; print "_($t),\n"; } - elsif (/ADD_MENU_TEXT_ITEM\s*\(\s*(\".*\"),/) { + elsif (/ADD_.*MENU_TEXT_ITEM\s*\(\s*(\".*\"),/) { $t = "$1"; print "_($t),\n"; } } +# From e_gen_menu +@sl = ( + "User Menus", + "User Application List", + "Other", + "Enlightenment Epplets", + "Restart Enlightenment", + "Log Out" +); + # # Start # @@ -78,4 +88,10 @@ for ($i=0; $i <= $#ARGV; $i++) { close $f; } +# Other strings. +print "\n"; +foreach $s (@sl) { + print "_(\"$s\"),\n"; +} + print "};\n"; diff --git a/scripts/e_gen_menu b/scripts/e_gen_menu index 33b7bff0..11aa77b9 100644 --- a/scripts/e_gen_menu +++ b/scripts/e_gen_menu @@ -82,7 +82,7 @@ $DoIconv = `which iconv`; @MainMenu = ( "t:User Menus", - "m:User Application list:menus/user_apps.menu", + "m:User Application List:menus/user_apps.menu", "m:GNOME:menus/menus_GNOME/index.menu", "m:KDE:menus/menus_KDE/index.menu", "m:Other:menus/menus_Other/index.menu",