diff options
Diffstat (limited to 'menu/translate_menus')
-rw-r--r-- | menu/translate_menus | 109 |
1 files changed, 109 insertions, 0 deletions
diff --git a/menu/translate_menus b/menu/translate_menus new file mode 100644 index 0000000..915898b --- /dev/null +++ b/menu/translate_menus @@ -0,0 +1,109 @@ +# /etc/menu-methods/menu-translate file for update-menus. +# +# +# +# NOTE: if you want to translate the menu entries in a different language, +# DO NOT USE THIS FILE!!! +# use the gnu internationalisation tools, see the menu source +# code (menu/messages/README), and send the .po file you created +# to me, I'll include it in a next release of menu. +# +# +#synopsis: +# +#translate x -> y #where x and y are one of section, id, title, icon, ... +# x-name y-name +# ... +#endtranslate +# +#The translations are done by update-menus: the menu-methods will not +#have to be aware of this. +# + +#there's: +# translate: only translate for exact matches (RE "^$match\$" +# subtranslate: translate for matches of RE "^$match" +# substitute: substitute substrings: sed -s "/^$match/$repl/". +# this only works for "substitute x->x", and +# will give interesting results for " substitute x->y". +# +#the following will map all Apps/Games sections into Games +# (the /etc/menu-methods will never even know Apps/Games exists, +# no matter how many packages still use that): +# +# +# Language translators: DO NOT USE THIS FILE! (see note on top of this file) + + +substitute section->section + Configuration System/Configuration + + "Applications/Publishing" Office/Publishing + Applications/Archiving System/Archiving + "Applications/File tools" "System/File Tools" + Applications/Monitoring System/Monitoring + "Applications/Text tools" "System/Text Tools" + Applications "More Applications" + + Terminals System/Terminals + + Documentation "More Applications/Documentation" + + Office/PDA Office/Communications/PDA + + Networking/IRC Internet/Chat + Networking/WWW "Internet/Web Browsers" + Networking Internet + + Amusement "More Applications/Games" + + Session/WindowManagers System/Session/Windowmanagers + + "Office/Address books" "Office/Address Books" + "Office/Tasks management" "Office/Tasks Management" + "Office/Time management" "Office/Time Management" + "Networking/File transfer" "Internet/File Transfer" + "Internet/File transfer" "Internet/File Transfer" + "Networking/Instant messaging" "Internet/Instant Messaging" + "Internet/Instant messaging" "Internet/Instant Messaging" + "Networking/Remote access" "Internet/Remote Access" + "Internet/Remote access" "Internet/Remote Access" + "Internet/Video conference" "Internet/Video Conference" + "Networking/Video conference" "Internet/Video Conference" + "Internet/Web browser" "Internet/Web Browsers" + "Networking/Web browser" "Internet/Web Browsers" + "Internet/Web editors" "Internet/Web Editors" + "Networking/Web editors" "Internet/Web Editors" + "System/Archiving/Cd burning" "System/Archiving/CD Burning" + "Applications/Archiving/Cd burning" "System/Archiving/CD Burning" + "System/File tools" "System/File Tools" + "System/Text tools" "System/Text Tools" + "More applications" "More Applications" + "More applications/Development/Code generators" "More Applications/Development/Code Generators" + "Applications/Development/Code generators" "More Applications/Development/Code Generators" + "More applications/Development/Development environments" "More Applications/Development/Development Environments" + "Applications/Development/Development environments" "More Applications/Development/Development Environments" + "More applications/Sciences/Artificial intelligence" "More Applications/Sciences/Artificial Intelligence" + "Applications/Sciences/Artificial intelligence" "More Applications/Sciences/Artificial Intelligence" + "More applications/Sciences/Data visualization" "More Applications/Sciences/Data Visualization" + "Applications/Sciences/Data visualization" "More Applications/Sciences/Data Visualization" + "More applications/Sciences/Image processing" "More Applications/Sciences/Image Processing" + "Applications/Sciences/Image processing" "More Applications/Sciences/Image Processing" + "More applications/Sciences/Numeric analysis" "More Applications/Sciences/Numeric Analysis" + "Applications/Sciences/Numeric analysis" "More Applications/Sciences/Numeric Analysis" + "More applications/Sciences/Parallel computing" "More Applications/Sciences/Parallel Computing" + "Applications/Sciences/Parallel computing" "More Applications/Sciences/Parallel Computing" +endtranslate + +# +# #this could be for those who want different names +# translate title->title +# Gnuplot "GnuTeken" +# Dosemu "A better DOS than DOS (sometimes)" +# endtranslate +# +#translate id->title +# include /usr/lib/menus/LANGUAGE/finnish +# menu/apps/editors TekstVeranderaars +#endtranslate +# |