Commit e6057ba8 authored by sikeda's avatar sikeda
Browse files

[-dev] typo.


git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-6.2-branch@8963 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent 9c2d6474
......@@ -794,7 +794,7 @@ sub sympa_dgettext {
## encoding, ...).
## Note: currently, charset is always 'utf-8'; encoding won't be used.
my $var = $1;
foreach (split /\n/, &Locale::Messages::gettext('')) {
foreach (split /\n/, Locale::Messages::gettext('')) {
if ($var eq 'language') {
if (/^Language-Team:\s*(.+)$/i) {
my $language = $1;
......@@ -815,7 +815,7 @@ sub sympa_dgettext {
return '';
}
return &Locale::Messages::dgettext($textdomain, @param);
return Locale::Messages::dgettext($textdomain, $param[0]);
}
......@@ -849,7 +849,7 @@ sub gettext {
## encoding,...)
## Note: currently charset is always 'utf-8'; encoding won't be used.
my $var = $1;
foreach (split /\n/, &Locale::Messages::gettext('')) {
foreach (split /\n/, Locale::Messages::gettext('')) {
if ($var eq 'language') {
if (/^Language-Team:\s*(.+)$/i) {
my $language = $1;
......@@ -870,7 +870,7 @@ sub gettext {
return '';
}
return Locale::Messages::gettext(@param);
return Locale::Messages::gettext($param[0]);
}
......
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