-
-
15 Mar 2019 21:49:36 UTC
- Distribution: Locale-TextDomain-OO-Util
- Module version: 4.001
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (0)
- Testers (1205 / 0 / 17)
- Kwalitee
Bus factor: 1- 96.50% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (13.8KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Steffen Winkler <steffenw at cpan.org>
- Dependencies
- Carp
- English
- charnames
- namespace::autoclean
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME
- VERSION
- SYNOPSIS
- DESCRIPTION
- SUBROUTINES/METHODS
- DIAGNOSTICS
- CONFIGURATION AND ENVIRONMENT
- DEPENDENCIES
- INCOMPATIBILITIES
- BUGS AND LIMITATIONS
- SEE ALSO
- AUTHOR
- LICENSE AND COPYRIGHT
NAME
Locale::TextDomain::OO::Util::JavaScript - How to use the JavaScript part
VERSION
4.001
$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 $
SYNOPSIS
Inside of this distribution is a directory named javascript. For more information see: Locale::TextDomain::OO::JavaScript
This script depends on http://jquery.com/.
DESCRIPTION
This package also contais the utils as JavaScript.
SUBROUTINES/METHODS
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 });
DIAGNOSTICS
none
CONFIGURATION AND ENVIRONMENT
none
DEPENDENCIES
INCOMPATIBILITIES
not known
BUGS AND LIMITATIONS
not known
SEE ALSO
Locale::TextDoamin::OO::JavaScript
AUTHOR
Steffen Winkler
LICENSE AND COPYRIGHT
Copyright (c) 2014 - 2018, 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.
Module Install Instructions
To install Locale::TextDomain::OO::Util, copy and paste the appropriate command in to your terminal.
cpanm Locale::TextDomain::OO::Util
perl -MCPAN -e shell install Locale::TextDomain::OO::Util
For more information on module installation, please visit the detailed CPAN module installation guide.