Comment 3 for bug 281946

Revision history for this message
Vadim Velikodniy (vadim-velikodniy) wrote :

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.