$Id: OO.pm 502 2014-05-12 20:19:51Z steffenw $
$HeadURL: svn+ssh://steffenw@svn.code.sf.net/p/perl-gettext-oo/code/module/trunk/lib/Locale/TextDomain/OO.pm $
3.004
This package also contais the utils as JavaScript.
Inside of this distribution is a directory named javascript. For more information see: Locale::TextDomain::OO::JavaScript
This script depends on http://jquery.com/.
var constants = new localeTextDomainOOUtilConstants(); var lexiconKeySeparator = constants.lexiconKeySeparator(); var pluralSeparator = constants.pluralSeparator(); var msgKeySeparator = constants.msgKeySeparator();
var keyUtil = new localeTextDomainOOUtilJoinSplitLexiconKeys(); var lexiconKey = keyUtil.joinLexiconKey({ 'language' : 'de', // default 'i-default' 'domain' : 'test', // default undefined 'category' : 'LC_MESSAGES', // default undefined 'project' : 'shop' // default undefined }); var msgKey = keyUtil.joinMessageKey({ 'msgctxt' : 'context', // default undefined 'msgid' : 'phrase or singular phrase', // default '' 'msgid_plural' : 'plural phrase', // default undefined });
none
none
not known
not known
Locale::TextDoamin::OO::JavaScript
Steffen Winkler
Copyright (c) 2014 - 2015,
Steffen Winkler
<steffenw at cpan.org>
.
All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.