On Thu, 19 Jun 2014 22:25:49 +0200
Václav Valíček <[email protected]> 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.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to