Add some missing localizable strings.

SVN revision: 20086
This commit is contained in:
Kim Woelders 2006-01-28 14:58:54 +00:00
parent 07e152d955
commit 7b689bdf9d
3 changed files with 41 additions and 2 deletions

View File

@ -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"),
};

View File

@ -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";

View File

@ -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",