[Bug 281946] Re: gtypist wont start: i18n problem

Vadim Velikodniy vadim.velikodniy at gmail.com
Tue Jun 16 22:59:57 UTC 2009


This error is caused by the following lines (gtypist.c:1902).

  if (strlen(YN) != 3 || YN[1] != '/' || !isupper(YN[0]) || !isupper(YN[2]))
    {
      fprintf( stderr,
	       "%s: i18n problem: invalid value for msgid \"Y/N\": %s\n",
	       argv0, YN );
      exit( 1 );
    }

This check is wrong for multi-byte encodings (UTF-8, for example).

There is at least one similar fragment (gtypist.c:1911).

I guess strings «Y/N» and «R/N/E» must remain untranslated.

P.S. I use source from Ubuntu 9.04.

-- 
gtypist wont start:  i18n problem
https://bugs.launchpad.net/bugs/281946
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list