Commit 8ab7cba7 authored by sikeda's avatar sikeda
Browse files

[-dev] (r12831) Copyedit.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@12832 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent aa4d886b
......@@ -37,13 +37,12 @@ BEGIN {
## Using the Pure Perl implementation of gettext
## This is required on Solaris : native implementation of gettext does not
## map ll_RR with ll.
## libintl-perl 1.23 or later is required to use 'gettext_dumb' package
## which is independent from POSIX locale.
if ( $Locale::Messages::VERSION >= 1.22 ) {
Locale::Messages->select_package('gettext_dumb');
} else {
Locale::Messages->select_package('gettext_pp');
}
# libintl-perl 1.22 (virtually 1.23) or later is recommended to use
# 'gettext_dumb' package which is independent from POSIX locale. If older
# version is used. falls back to 'gettext_pp'.
my $package = Locale::Messages->select_package('gettext_dumb');
Locale::Messages->select_package('gettext_pp')
unless $package and $package eq 'gettext_dumb';
## Workaround: Prevent from searching catalogs in /usr/share/locale.
undef $Locale::gettext_pp::__gettext_pp_default_dir;
......
......@@ -243,10 +243,10 @@ our %cpan_modules = (
'gettext_id' => 'set of various subroutines to handle scalar',
},
'Locale::Messages' => {
required_version => '1.20',
required_version => '1.20', # 1.22 or later recommended.
package_name => 'libintl-perl',
mandatory => 1,
'gettext_id' => 'internationalization functions',
'gettext_id' => 'internationalization functions',
},
'LWP::UserAgent' => {
package_name => 'libwww-perl',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment