[Freeciv-Dev] Re: po errors (PR#252)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Stig Erik Sandoe <stig@xxxxxxxxx> wrote:
> On Thu, 3 Feb 2000, David Pfitzner wrote:
>
> > I wrote the attached perl script [1] to check for some errors in
> > po file translations
> It seems pretty small, can you add it to the po-directory so it is
> readily available for later use.
Good idea -- will do.
Philippe Fremy <fremy@xxxxxxxxx> wrote:
> By the way, if you like scripting, could you modify your script so that it
> checks:
>
> - that there is the same number of '\n' in english and in
> translation. I think that now, only strict necessary '\n' are included, so
> there should defenitely be the same number of them.
An earlier version did actually do this, but I got sick of
too many false positives so took it out. Maybe as an option.
> - when translation has many lines, check that there is a space somewhere
> betwen last word and new word. I mean, report this kind of problem:
> "this is a nice"
> "multiline translation"
> that will give
> "this is a nicemultiline translation"
> because one translator did a small mistake.
Yep.
> - check that the last punctuation character in a translation is the same is
> in the original. We often forget some final points in translations
Maybe, although this could validly differ I think.
Maybe optional again.
> - check that when the first letter is capitilized in english, it is also the
> case in translation.
As someone else pointed out, this could generate lots of
false hits.
-- David
|
|