# /etc/menu-methods/menu-translate file for update-menus.
#
#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):

substitute section->section
 Apps/Games/ Games/   #any entry whose $section="Apps/Games"
			  #will now have a section of Games.
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
# 
# Obtenido con
# grep title /usr/lib/menu/* |grep -v longtitle | perl -ne 'print " \"$1\" \"$1\"\n" if /title="(.*?)"/' >>titulos

translate title->title

 "Communicator(static 4.75) Browser" "Communicator(static 4.75) Navegador"
 "Communicator(static 4.75) Mail" "Communicator(static 4.75) Correo"
 "Communicator(static 4.75) News" "Communicator(static 4.75) Noticias"
 "blt - tk extensions" "blt - extensiones tk"
 "blt8.0 - tk8.0 extensions" "blt8.0 - extensiones tk8.0"
 "bzip2 and libbzip2: a program and library for data compression" "bzip2 y libbzip2: un programa y librera para compresin de datos"
 "The GNU DC arbitrary precision calculator" "La calculadora de precisin arbitraria GNU DC"
 "Debian FAQ" "Preguntas Frecuentes de Debian"
 "Debian Policy Manual" "Manual de Poltica de Debian"
 "Debian Developer's Reference" "Referencia del Desarrollador de Debian Developer"
 "Debian doc-base Manual" "Manual doc-base de Debian"
 "DocBook DSSSL Stylesheet Documentation" "Documentacin de las hojas de estilo DocBook DSSSL"
 "EsounD documentation" "Documentacin de EsounD"
 "The GNU C Library Reference Manual" "El Manual de Referencia de la Librera C de GNU"
 "GLib C library documentation" "Documentacin de la librera GLib C"
 "GNOME FAQ" "Preguntas Frecuentes de GNOME"
 "Gnome Help" "Ayuda GNOME"
 "GNOME User's Guide" "Gua del Usuario de GNOME"
 "Gnuplot Documentation" "Documentacin de Gnuplot"
 "GTK+ Frequently Asked Questions" "Preguntas Frecuentes de GTK+"
 "GTK+ Tutorial" "Tutorial de GTK+"
 "GTK+ Tutorial in French" "Tutorial de GTK+ en Francs"
 "GTK+ Tutorial in Italian" "Tutorial de GTK+ en Italiano"
 "GTK+ Tutorial in Spanish" "Tutorial de GTK+ en Espaol"
 "GV Manual - A PostScript and PDF viewer" "Manual de GV - Un visor de PostScript y PDF"
 "The Imlib Programmer's Guide" "La Gua del Programador de Imlib"
 "install-docs Manual" "Manual de install-docs"
 "Jade Users Manual" "Manual de Usuarios de Jade"
 "Debian New Maintainers' Guide" "Gua del Nuevo Desarrollador de Debian"
 "Man-db manual" "Manual de Man-db"
 "The Mutt E-Mail Client Manual" "Manual del cliente de correo Mutt"
 "The GNU Octave FAQ" "Preguntas Frecuentes de GNU Octave"
 "The GNU Octave Library" "La Librera GNU Octave"
 "The GNU Octave Manual" "El Manual de GNU Octave"
 "Debian Packaging Manual" "El Manual de Empaquetamiento de Debian"
 "Debian Perl Policy" "Poltica de Perl de Debian"
 "PSGML: A Emacs major mode for SGML." "PSGML: Un modo de Emacs para SGML."
 "Python XML Package" "Paquete de XML para dPython"
 "SGML-Tools (v1) User's Guide" "Gua de Usuario de SGML-Tools (versin 1)"
 "SP Users Manual" "Manual de Usuario de SP"
 "The GNU time Command" "El programa GNU time"
 "XFree86 Frequently Asked Questions (FAQ)" "Preguntas Frecuentes de XFree86"
 "XTerm Frequently Asked Questions (FAQ)" "Preguntas Frecuentes de XTerm"
 "Gnome Solitaire Games" "Juegos Solitario de Gnome"
 "Mouse Properties" "Propiedades del Ratn"
 "Keyboard Properties" "Propiedas del Teclado"
 "Background Properties" "Propiedas del Fondo"
 "Bell Properties" "Propiedades del Altavoz"
 "UI Properties" "Propiedades del Interfaz"
 "Gnome Control Center" "Centro de Control Gnome"
 "gmix (Gnome Mixer)" "gmix (Mezclador Gnome)"
 "gtcd (Gnome CD Player)" "gtcd (Lector de CD de Gnome)"
 "vumeter (Volume Meter)" "vumeter (Control de Volume)"
 "GNOME Calendar" "GNOME Calendario"
 "GNOME Address Book" "GNOME Libro de Direcciones"
 "Same Gnome" "Iguales Gnome"
 "Gnome Stones" "Gnome Piedras"
 "gcalc (calculator)" "gcalc (calculadora)"
 "Lynx Manual" "Manual de Lynx"
 "Task selector" "Seleccionador de tareas"
 "Exit" "Salir"
 "Exit session" "Terminar sesin"
 "Restart" "Reiniciar"
 "Info Panel ..." "Panel de informacin ..."
 "Legal Panel ..." "Panel Legal ..."
 "Workspaces" "Entornos"
 "Hide Others" "Esconder Otros"
 "Show All" "Mostrar Todos"
 "Arrange Icons" "Alinear Iconos"
 "Save Session" "Salvar Sesin"
 "Clear Session" "Limpiar Sesin"
 "Refresh" "Refrescar"
 "Appearance" "Apariencia"
 "Background" "Fondo"
 "Styles" "Estilos"
 "Themes" "Temas"
 "Icon Sets" "Conjuntos de Iconos"
 "Save IconSet" "Salvar Conjunto Iconos"
 "Save Theme" "Salvar Tema"
 "Xclock (analog)" "Xclock (analgico)"
 "Xclock (digital)" "Xclock (digital)"
 "X Window Snapshot" "Captura de pantalla X"
 "Enable XScreenSaver" "Activar SalvaPantallasX"
 "Disable XScreenSaver" "Desactivar SalvaPantallasX"
 "Demo Screen Hacks" "Demo de Hacks de Pantalla"
 "ScreenSaver Preferences" "Preferencias SalvaPantallas"
 "Reinitialize XScreenSaver" "Reinicializar SalvaPantallas"
 "Activate ScreenSaver (Random)" "Activar SalvaPantallas (Aleatorio)"
 "Activate ScreenSaver (Next)" "Activar SalvaPantallas (Siguiente)"
 "Activate ScreenSaver (Previous)" "Activar SalvaPantallas (Anterior)"
 "Lock Screen (XScreenSaver)" "Bloquear Pantalla (SalvaPantallasX)"

endtranslate
translate title->longtitle
 Dia "Dibuje diagramas"
 Glade "El constructor de interfaces GTK+."
 Gnotepad+ "Block de Notas basado en GTK"
 GnuCash "Programa de seguimiento de finanzas personales GnuCash"
 Gnuplot "Gnuplot - programa para representaciones interactivas"
 HyperLaTeX "Sistema de documentacin de HyperLaTeX (basado en LaTeX)"
 Info "Navegador de Info de GNU"
 LaTeX2HTML "Traductor de LaTeX a HTML."
 menu "Guas del sistema Menu de Debian"
 PSGML "Modo SGML para Emacs."
 Twm "Twm: Gestor de Ventanas Tab"
 Vim "VIM, Vi Mejorado"
 xmh "Xmh: Interfaz X al sistema de correo MH"
 xterm "Xterm: emulacin de terminal para X"
 Amd-config "Configure el automontaje de 4.4BSD"
 Doc++ "Sistema de Documentacin para C/C++ y Java"
 "Debian pakcaging" "Manual de empaquetamiento de Debian"
 "Dpkg internals" "Descripcin de programador del funcionamiento interno de dpkg"
 Dwww-config "Configure dwww (=Lea la documentacin en lnea via WWW)"
 "Common Lisp" "Especificacin de ANSI Common Lisp en formato HTML"
 gpm-config "Configurar el Interfaz de Ratn de Proposito General"
 Hello "Hola, la bienvenida clsica, un buen ejemplo"
 Lilo-config "Configure el cargador de Linux"
 Magicfilter-config "Configurar el filtro de impresora automtico (magicfilter)"
 Telnet "telnet - interfaz de usuario al protocolo TELNET"
 paper-config "Configure el tipo de papel que tiene"
 Beforelight "Beforelight: salva pantallas simple"
 Bitmap "Bitmap: editor para ficheros X bitmap"
 Editres "Editres: editor de recursos para aplicaciones X Toolkit"
 Oclock "Oclock: reloj analgico para X"
 Xclipboard "Xclipboard: pizarra para operaciones de copiar y pegar en X"
 Xconsole "Xconsole: sistema de monitorizacin de mensajes con X"
 Xcutsel "Xcutsel: intercambios entre el buffer de corte y seleccin en x"
 Xmag "Xmag: magnifica partes de la pantalla X"
 Xkill "Xkill: mata clientes X"
 Xlogo "Xlogo: mostrar el logo X"
 Xrefresh "Xrefresh: redibujar la pantalla X"
 XF86Setup "XF86Setup: utilidad de configuracin grfica para XFree86"
 Xmseconfig "xmseconfig: utilidad de configuracin del ratn para XFree86"
 Xmh "Xmh: interfaz X al sistema de correo MH"
 XDitView "Mostrar salidad ditroff"
 Xedit "Sencillo editor de textos"
 Xev "Mostrar eventos X"
 Xeyes "Ojos que siguen el cursor"
 XFontSel "Visor de fuentes X"
 Xgc "Demo grfica de X"
 "X Window Snapshot" "X Window Snapshot: obten una copia de cualquier ventana (xwd|xwud)" 
 wmXMMS "Sistema Multimedia X en una caja 64x64"
 XMMS "Sistema Multimedia X"
 Xbiff "Avisador del buzn de correo X"
 Xcalc "Calculadora"
 Xman "Navegador de Ayuda de X"
endtranslate
# List obtained by
# grep section /usr/lib/menu/* |perl -ne 'print $1."\n" if /section="(.*?)"/' |sort  |uniq >/tmp/sections
subtranslate section->section
 Appearance Apariencia
 Apps Aplicaciones
 Apps/Editors Aplicaciones/Editores
 Apps/Graphics Aplicaciones/Grficos
 Apps/Math Aplicaciones/Matemticas
 Apps/Misc Aplicaciones/Miscelnea
 Apps/Net Aplicaciones/Red
 Apps/Programming Aplicaciones/Programacin
 Apps/Shells Aplicaciones/Shells
 Apps/Sound Aplicaciones/Sonido
 Apps/System Aplicaciones/Sistema
 Apps/Text Aplicaciones/Texto
 Apps/Tools Aplicaciones/Herramientas
 Apps/Viewers Aplicaciones/Visores
 devel 	desarollo
 Games Juegos
 Games/Adventure Juegos/Aventuras
 Games/Toys Juegos/Juguetes
 Games/Arcade Juegos/Arcade
 Games/Board Juegos/Tablero
 Games/Card Juegos/Cartas
 Games/Puzzles Juegos/Puzzles
 Games/Tetris-like Juegos/Tipo-Tetris
 Graphics Grficos
 Help 	Ayuda
 Screen 	Pantalla
 Screen/Lock Pantalla/Bloqueo
 Screen/Save Pantalla/Salva
 Text 	Texto
 WindowManagers GestoresVentanas
 WorkSpace Entorno
endtranslate
