NAME

Jenkins::i18n::Stats - class to provide translations processing statistics

SYNOPSIS

use Jenkins::i18n::Stats;

DESCRIPTION

Jenkins::i18n::Stats

EXPORT

None by default.

ATTRIBUTES

All attributes are counters.

  • files: all the found translation files.

  • keys: all the keys loaded from the properties files.

  • missing: all keys that are missing after comparing a language to the original in English,

  • unused: all keys that are available in the a language but not in the original English.

  • empty: all keys in the language that are available but doesn't actually have a translated value.

  • same: all keys that have the same values as the original in English. Not necessarilly an error.

  • no_jenkins: all keys that are not related to Jenkins, but coming from Hudson.

METHODS

new

Creates a new instance.

inc

Increments a counter.

summary

Prints to STDOUT a summary of all statistics in text format.

SEE ALSO

AUTHOR

Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>

This file is part of Jenkins Translation Tool project.

Jenkins Translation Tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Jenkins Translation Tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Jenkins Translation Tool. If not, see (http://www.gnu.org/licenses/).

The original `translation-tool.pl` script was licensed through the MIT License, copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors. Translations files generated by the Jenkins Translation Tool CLI are distributed with the same MIT License.