Marco wrote: > On 2011-01-09 Dominique Pellé <[email protected]> wrote: > > I now tried the source from the mercurial repository. > >> What OS are you using? > linux 2.6.35-23-generic x86_64 > >> What locale? > LANG=de_DE.utf8 > >> What is the diff between src/testdir/test51.ok and >> src/testdir/test51.failed? > 20c20 > < E475: term='asdf > --- >> Ungültiges Argument: term='asdf > > Sorry, the error message is in German. When I set LANG=C it compiles without > error and all test run successfull. So switching to English is the solution. > > One question arises: Do I always have to compile (all programs, not only vim) > with LANG=C and it was my mistake or is it a bug and this shouldn't happen? > > Thanks for the hint to the locale! > > Regards > Marco
It should work regardless of the locale. You shouldn't have to set LANG=C. I use the eo.UTF-8 locale myself and it works. I tried with "export LANG=de_DE.UTF-8" and "make test" worked here. Test51 expects to get E475 and filters out translated message to avoid failing as follows: $ cat src/testdir/test51.in: ... :" filter out possibly translated error message :%s/E475: [^:]*:/E475:/ So everything looks fine at first sight. I checked the content of src/po/de.po and the translation looks fine too: $ cat src/po/de.po ... #, c-format msgid "E475: Invalid argument: %s" msgstr "E475: Ungültiges Argument: %s" I still don't see how you ended up having "Ungültiges Argument" in test51.failed (causing the test to fail). -- Dominique -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
