1Locale::Maketext::ExtraUcste:r:PCloungtirni:b:uMtLaeosdcoanPl(ee3r:)l:MDaokceutmeexntt:a:tEixotnract::Plugin::Mason(3)
2
3
4
6 Locale::Maketext::Extract::Plugin::Mason - HTML::Mason (aka Mason 1)
7 and Mason (aka Mason 2) format parser
8
10 version 1.00
11
13 $plugin = Locale::Maketext::Extract::Plugin::Mason->new(
14 $lexicon # A Locale::Maketext::Extract object
15 @file_types # Optionally specify a list of recognised file types
16 )
17
18 $plugin->extract($filename,$filecontents);
19
21 Extracts strings to localise from Mason files.
22
24 mason
25
27 HTML::Mason (aka Mason 1)
28 Strings inside <&|/l>...</&> and <&|/loc>...</&> are extracted.
29
30 Mason (aka Mason 2) Strings inside <% $.floc { %>...</%> or <% $.fl {
31 %>...</%> or <% $self->floc { %>...</%> or <% $self->fl { %>...</%> are
32 extracted.
33
35 All file types
36
38 xgettext.pl
39 for extracting translatable strings from common template systems
40 and perl source files.
41
42 Locale::Maketext::Lexicon
43 Locale::Maketext::Extract::Plugin::Base
44 Locale::Maketext::Extract::Plugin::FormFu
45 Locale::Maketext::Extract::Plugin::Perl
46 Locale::Maketext::Extract::Plugin::TT2
47 Locale::Maketext::Extract::Plugin::YAML
48 Locale::Maketext::Extract::Plugin::TextTemplate
49 Locale::Maketext::Extract::Plugin::Generic
50
52 Audrey Tang <cpan@audreyt.org>
53
55 Copyright 2002-2013 by Audrey Tang <cpan@audreyt.org>.
56
57 This software is released under the MIT license cited below.
58
59 The "MIT" License
60 Permission is hereby granted, free of charge, to any person obtaining a
61 copy of this software and associated documentation files (the
62 "Software"), to deal in the Software without restriction, including
63 without limitation the rights to use, copy, modify, merge, publish,
64 distribute, sublicense, and/or sell copies of the Software, and to
65 permit persons to whom the Software is furnished to do so, subject to
66 the following conditions:
67
68 The above copyright notice and this permission notice shall be included
69 in all copies or substantial portions of the Software.
70
71 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
72 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
73 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
74 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
75 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
76 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
77 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
78
80 · Clinton Gormley <drtech@cpan.org>
81
82 · Audrey Tang <cpan@audreyt.org>
83
85 This software is Copyright (c) 2014 by Audrey Tang.
86
87 This is free software, licensed under:
88
89 The MIT (X11) License
90
91
92
93perl v5.28.1 20L1o4c-a0l3e-:0:6Maketext::Extract::Plugin::Mason(3)