Tony Mechelynck wrote:
> On 24/01/09 12:25, Bram Moolenaar wrote:
> >
> > Dominique Pelle wrote:
> [...]
> >> Notice also the FIXME comment in the attached patch: shouldn't
> >> E118 and E740 error message be the same error message?
> >> See how similar they are:
> >>
> >> "E740: Too many arguments for function %s"
> >> "E118: Too many arguments for function: %s"
> >>
> >> I then entered the following command to see whether they
> >> are other dupes in the translated messages and found
> >> the following:
> [...]
> > Even though these messages have the same text, they are still different
> > errors. In a try/catch you can use the error number to distinguish
> > them.
>
> Also, their different error numbers refer to different places in the
> help, with more or less different explanations.
>
> Bram: If the Vim code tries to translate "E123: Some error", will it try
> "Some error" if nothing starting "E123" is found? If it does, we could
> use a single translate string for two or more error merssages, and the
> error number would still be there.
No, the tools used for extracting strings to translate don't work that
way. I could split up the string in two parts, but that's a lot of work
and would require all translations to be redone.
--
Far out in the uncharted backwaters of the unfashionable end of the
Western Spiral arm of the Galaxy lies a small unregarded yellow sun.
Orbiting this at a distance of roughly ninety-eight million miles is an
utterly insignificant little blue-green planet whose ape-descended life
forms are so amazingly primitive that they still think digital watches
are a pretty neat idea ...
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
/// 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
-~----------~----~----~----~------~----~------~--~---