Dominique Pelle wrote:

> >> I noticed that several gettext *.po files of Vim contain mismatches
> >> between the error codes in the original English string and the
> >> translated string.
> >>
> >> For example, in the Italian vim7/src/po/it.po file, I see:
> >>
> >> msgid "E690: Missing \"in\" after :for"
> >> msgstr "E69: Manca \"in\" dopo :for"
> >>
> >> (notice the mismatch E690 vs E69)
> >>
> >> msgid "E207: Can't delete backup file"
> >> msgstr "E193: Non riesco a cancellare il file di backup"
> >
> > These two were fixed recently.  The it.po file is actively maintained.
> >
> >> I see such mismatches in many other po files, at least
> >> in the following: ca.po, de.po, es.po, fr.po, it.po, ja.po,ja.sjis.po,
> >> no.po, pl.po, ru.po, sk.po, uk.po, vi.po, zh_TW.po
> >>
> >> I can find such mismatches by searching with the following
> >> command:
> >>
> >> $ cd vim7/src/po
> >> $ vim -c ':argdo /msgid "\("\n"\)\?[EW]\([0-9]\+\):.*\nmsgstr
> >> "\("\n"\)[EMAIL PROTECTED]' *.po
> >
> > Can you make a patch to add this to src/po/check.vim ?
> >
> > Please also report the found mistakes to each po file maintainer.
> 
> 
> I attach a patch to src/po/check.vim that checks
> consistency between error codes in msgid and msgstr
> in po files.  I don't often write vim scripts, so perhaps
> there is a more elegant way of checking this.
> 
> I will report the errors it finds to each po file maintainer
> this coming weekend.
> 
> po files are in CVS but there are no patches for them as
> far as I know.  So CVS does not contain the latest po files.
> Is there a place where one can download all the latest po
> files submitted by po file maintainers?  I'd like to run the
> checks on the latest po files, since some of them (it.po for
> example) have already fixed that kind of issues.

Great.  I have included it and found several mistakes.

-- 
Corn oil comes from corn and olive oil comes from olives, so where
does baby oil come from?

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui