[vdr] Moving charMap from menuitems.c to Make.config

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sat Jan 28 14:02:08 CET 2006


Rene Hertell wrote:
> Hi Klaus,
> 
> Could you add a new option in Make.config for specifying the
> charMap-variable in menuitems.c?
> 
> This would be handy, because the map that's specified in menuitems.c
> lacks support for eg. Scandinavian characters like å, ä and ö and some
> other special characters. Also the character é is missing :-)
> 
> For now i patched menuitems.c like this:
> 
> --- menuitems.c.orig    2006-01-27 04:11:38.000000000 +0200
> +++ menuitems.c 2006-01-27 04:15:54.000000000 +0200
> @@ -245,7 +245,7 @@
>    pos = -1;
>    insert = uppercase = false;
>    newchar = true;
> -  charMap = tr("
> 0\t-.#~,/_ at 1\tabc2\tdef3\tghi4\tjkl5\tmno6\tpqrs7\ttuv8\twxyz9");
> +  charMap = tr("
> 0\t-.#~?!':;,/_ at 1\tabcåä2\tdefé3\tghi4\tjkl5\tmnoö6\tpqrs7\ttuvü8\twxyz9");
>    currentChar = NULL;
>    lastKey = kNone;
>    Set();

How about adjusting this in i18n.c instead? ;-)

Klaus



More information about the vdr mailing list