1Locale::TextDomain::OO:U:sUetrilC:o:nJtarviabSuctLreoidcpatPl(ee3r:)l:TDeoxctuDmoemnatiant:i:oOnO::Util::JavaScript(3)
2
3
4
6 Locale::TextDomain::OO::Util::JavaScript - How to use the JavaScript
7 part
8
10 4.001
11
12 $Id: OO.pm 502 2014-05-12 20:19:51Z steffenw $
13
14 $HeadURL:
15 svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/module/trunk/lib/Locale/TextDomain/OO.pm
16 $
17
19 Inside of this distribution is a directory named javascript. For more
20 information see: Locale::TextDomain::OO::JavaScript
21
22 This script depends on <http://jquery.com/>.
23
25 This package also contais the utils as JavaScript.
26
28 var constants = new localeTextDomainOOUtilConstants();
29 var lexiconKeySeparator = constants.lexiconKeySeparator();
30 var pluralSeparator = constants.pluralSeparator();
31 var msgKeySeparator = constants.msgKeySeparator();
32
33 var keyUtil = new localeTextDomainOOUtilJoinSplitLexiconKeys();
34 var lexiconKey = keyUtil.joinLexiconKey({
35 'language' : 'de', // default 'i-default'
36 'domain' : 'test', // default undefined
37 'category' : 'LC_MESSAGES', // default undefined
38 'project' : 'shop' // default undefined
39 });
40 var msgKey = keyUtil.joinMessageKey({
41 'msgctxt' : 'context', // default undefined
42 'msgid' : 'phrase or singular phrase', // default ''
43 'msgid_plural' : 'plural phrase', // default undefined
44 });
45
47 none
48
50 none
51
53 <http://jquery.com/>
54
56 not known
57
59 not known
60
62 Locale::TextDoamin::OO::JavaScript
63
65 Steffen Winkler
66
68 Copyright (c) 2014 - 2018, Steffen Winkler "<steffenw at cpan.org>".
69 All rights reserved.
70
71 This module is free software; you can redistribute it and/or modify it
72 under the same terms as Perl itself.
73
74
75
76perl v5.34.0 20L2o1c-a0l7e-:2:2TextDomain::OO::Util::JavaScript(3)