id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1137	Translation of programming languages may break preferences in the same language	claudio		"The highlighter mime value (programming language name) is retrieved from a *translated* Wx-widget. Because you normally don't translate names of Programming languages, or rather: you ""translate"" the strings by copy-pasting (and get 100% coverage), this causes no problems most of the time.

In this particular case ""Perl 5"" was translated as ""Perl 5 "" (with an extra space). Because this strings is used to look up the mime type and later select the string, an unused values slips in Padre breaking the Lexer selection in preferences for the specific language.

Could not find the MIME type of the display name 'Perl 5 '
Use of uninitialized value $name in string eq at /home/claudio/Code/Padre/trunk/Padre/lib/Padre/MimeTypes.pm line 487.
Use of uninitialized value $name in string eq at /home/claudio/Code/Padre/trunk/Padre/lib/Padre/MimeTypes.pm line 487.
Use of uninitialized value $name in string eq at /home/claudio/Code/Padre/trunk/Padre/lib/Padre/MimeTypes.pm line 487.
Use of uninitialized value $name in concatenation (.) or string at /home/claudio/Code/Padre/trunk/Padre/lib/Padre/MimeTypes.pm line 489.
Could not find highlighter for ''"	defect	closed	major		editor	trunk	fixed	"""translation bug"""	
