summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-13 19:21:09 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-13 19:21:09 +0000
commitb8e9ad1890359272045040424ebe5c9c4619e91a (patch)
tree9736f0da4d7954e1d671c458db120f2cabf66358 /perl-install/common.pm
parent6ae1e7db71b1f658d7fefc35ddb8e7a83cfbd53d (diff)
downloaddrakx-b8e9ad1890359272045040424ebe5c9c4619e91a.tar
drakx-b8e9ad1890359272045040424ebe5c9c4619e91a.tar.gz
drakx-b8e9ad1890359272045040424ebe5c9c4619e91a.tar.bz2
drakx-b8e9ad1890359272045040424ebe5c9c4619e91a.tar.xz
drakx-b8e9ad1890359272045040424ebe5c9c4619e91a.zip
(translate_real) always use dngettext() if we have a plural string
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index af15998b0..0b75b996c 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -47,7 +47,7 @@ sub translate_real {
$s or return '';
foreach (@::textdomains, 'libDrakX') {
my $s2;
- if ($o_nb) {
+ if ($o_plural) {
$s2 = Locale::gettext::dngettext($_, $s, $o_plural, $o_nb);
} else {
$s2 = Locale::gettext::dgettext($_, $s);