diff options
author | Norbert Preining <norbert@preining.info> | 2021-04-02 03:20:54 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-04-02 03:20:54 +0000 |
commit | 3f173002d4a4a84e7d1fa5a74755fdd00d08a9c2 (patch) | |
tree | 5ed380344702de1f9ab53b68b6c3bcd6b8458087 /systems/texlive/tlnet/tlpkg/tlperl/lib/I18N | |
parent | f78ba658b3ecd56053fe0837a4404d0c6c16a707 (diff) |
CTAN sync 202104020320
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/tlperl/lib/I18N')
3 files changed, 16 insertions, 12 deletions
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/LangTags.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/LangTags.pm index 3358d60274..35751bce03 100644 --- a/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/LangTags.pm +++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/LangTags.pm @@ -18,7 +18,7 @@ our @EXPORT_OK = qw(is_language_tag same_language_tag ); our %EXPORT_TAGS = ('ALL' => \@EXPORT_OK); -our $VERSION = "0.43"; +our $VERSION = "0.44"; our %Panic; sub uniq { my %seen; return grep(!($seen{$_}++), @_); } # a util function @@ -844,28 +844,28 @@ language tags with their ASCII characters shifted into Plane 14. * L<I18N::LangTags::List|I18N::LangTags::List> -* RFC 3066, C<http://www.ietf.org/rfc/rfc3066.txt>, "Tags for the +* RFC 3066, C<L<http://www.ietf.org/rfc/rfc3066.txt>>, "Tags for the Identification of Languages". (Obsoletes RFC 1766) -* RFC 2277, C<http://www.ietf.org/rfc/rfc2277.txt>, "IETF Policy on +* RFC 2277, C<L<http://www.ietf.org/rfc/rfc2277.txt>>, "IETF Policy on Character Sets and Languages". -* RFC 2231, C<http://www.ietf.org/rfc/rfc2231.txt>, "MIME Parameter +* RFC 2231, C<L<http://www.ietf.org/rfc/rfc2231.txt>>, "MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations". -* RFC 2482, C<http://www.ietf.org/rfc/rfc2482.txt>, +* RFC 2482, C<L<http://www.ietf.org/rfc/rfc2482.txt>>, "Language Tagging in Unicode Plain Text". * Locale::Codes, in -C<http://www.perl.com/CPAN/modules/by-module/Locale/> +C<L<http://www.perl.com/CPAN/modules/by-module/Locale/>> * ISO 639-2, "Codes for the representation of names of languages", including two-letter and three-letter codes, -C<http://www.loc.gov/standards/iso639-2/php/code_list.php> +C<L<http://www.loc.gov/standards/iso639-2/php/code_list.php>> * The IANA list of registered languages (hopefully up-to-date), -C<http://www.iana.org/assignments/language-tags> +C<L<http://www.iana.org/assignments/language-tags>> =head1 COPYRIGHT diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/LangTags/Detect.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/LangTags/Detect.pm index 16b91db336..d7a0d46b83 100644 --- a/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/LangTags/Detect.pm +++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/LangTags/Detect.pm @@ -11,7 +11,7 @@ our ( $MATCH_SUPERS, $USING_LANGUAGE_TAGS, BEGIN { unless(defined &DEBUG) { *DEBUG = sub () {0} } } # define the constant 'DEBUG' at compile-time -our $VERSION = "1.07"; +our $VERSION = "1.08"; our @ISA = (); use I18N::LangTags qw(alternate_language_tags locale2language_tag); @@ -203,11 +203,13 @@ C<I18N::LangTags::implicate_supers(...)>, like so: =head1 ENVIRONMENT -This module looks for several environment variables, including +This module looks at several environment variables: REQUEST_METHOD, HTTP_ACCEPT_LANGUAGE, LANGUAGE, LC_ALL, LC_MESSAGES, and LANG. -It will also use the L<Win32::Locale> module, if it's installed. +It will also use the L<Win32::Locale> module, if it's installed +and IGNORE_WIN32_LOCALE is not set to a true value in the +environment. =head1 SEE ALSO diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/Langinfo.pm b/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/Langinfo.pm index a0fc52a9f3..7206e1ce85 100644 --- a/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/Langinfo.pm +++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/I18N/Langinfo.pm @@ -72,7 +72,7 @@ our @EXPORT_OK = qw( YESSTR ); -our $VERSION = '0.18'; +our $VERSION = '0.19'; XSLoader::load(); @@ -180,6 +180,8 @@ For the eras based on typically some ruler, such as the Japanese Emperor =back +=head2 For systems without C<nl_langinfo> + Starting in Perl 5.28, this module is available even on systems that lack a native C<nl_langinfo>. On such systems, it uses various methods to construct what that function, if present, would return. But there are potential |