[Lazarus] PoChecker possible cosmetical patch

Sven Barth pascaldragon at googlemail.com
Fri Jun 20 06:52:53 CEST 2014


Am 19.06.2014 22:59 schrieb "Mattias Gaertner" <nc-gaertnma at netcologne.de>:
>
> On Thu, 19 Jun 2014 22:25:49 +0200
> Václav Valíček <vaclav at valicek.name> wrote:
>
> > +++ b/components/pochecker/pofamilies.pp
> > @@ -23,13 +23,13 @@ const
> >      optRunAllTestsOnAllChildren: TPoTestOptions = [];
> >
> >      PoTestOptionNames: array[TPoTestOption] of String = (
> > -      'Check number of items',
> > -      'Check for incompatible format arguments',
> > -      'Check missing identifiers',
> > -      'Check for mismatches in untranslated strings',
> > -      'Check for duplicate untranslated values',
> > -      'Check percentage of (un)translated and fuzzy strings',
> > -      'Find all translated po-files'
> > +      sCheckNumberOfItems,
> > +      sCheckForIncompatibleFormatArguments,
> > +      sCheckMissingIdentifiers,
> > +      sCheckForMismatchesInUntranslatedStrings,
> > +      sCheckForDuplicateUntranslatedValues,
> > +      sCheckStatistics,
> > +      sFindAllTranslatedPoFiles
> >      );
>
> ok. That's reduces some redudancy. They are not translated though. You
> must replace the array with a function for that.

There was a bug report some time ago that Delphi *does* indeed translate
such strings. AFAIK that was fixed, but I'll need to check that and in
which version.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20140620/a00f4092/attachment-0003.html>


More information about the Lazarus mailing list