Log::Report::Template::Textdomain - template translation with one domain
Log::Report::Template::Textdomain is a Log::Report::Domain is a Log::Report::Minimal::Domain
my $templater = Log::Report::Template->new(...); my $domain = $templater->newTextdomain(%options);
Manage one translation domain for Log::Report::Template.
Extends "DESCRIPTION" in Log::Report::Domain.
Extends "METHODS" in Log::Report::Domain.
Extends "Constructors" in Log::Report::Domain.
-Option --Defined in --Default lexicon undef name Log::Report::Minimal::Domain <required> only_in_directory undef translation_function 'loc'
The textdomain can only be used in the indicated directories: if found anywhere else, it's an error. When not specified, the function is allowed everywhere.
The name of the function as used in the template to call for translation. See function(). It must be unique over all text-domains used.
Extends "Attributes" in Log::Report::Domain.
Inherited, see "Attributes" in Log::Report::Domain
Inherited, see "Attributes" in Log::Report::Minimal::Domain
Extends "Action" in Log::Report::Domain.
Inherited, see "Action" in Log::Report::Minimal::Domain
Inherited, see "Action" in Log::Report::Domain
Return true when the function name which relates to this domain is allowed to be used for the indicated file. The msgid extractor will warn when there is no match.
Returns the name of the function which is used for translations.
Directory where the translation tables are kept.
This method returns a CODE which is able to handle a call for translation by Template Toolkit.
Extends "DETAILS" in Log::Report::Domain.
This module is part of Log-Report-Template distribution version 0.10, built on June 27, 2017. Website: http://perl.overmeer.net/log-report/
Copyrights 2017 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the Artistic license. See http://dev.perl.org/licenses/artistic.html
To install Log::Report::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Log::Report::Template
CPAN shell
perl -MCPAN -e shell install Log::Report::Template
For more information on module installation, please visit the detailed CPAN module installation guide.