summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-13 19:22:49 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-13 19:22:49 +0000
commit2f8258805f5cdacea83eb42feccb15e706b659ba (patch)
tree32d98d6dc0b235dc6f3ec8c4ccd97c985230b032 /perl-install/common.pm
parentb8e9ad1890359272045040424ebe5c9c4619e91a (diff)
downloaddrakx-2f8258805f5cdacea83eb42feccb15e706b659ba.tar
drakx-2f8258805f5cdacea83eb42feccb15e706b659ba.tar.gz
drakx-2f8258805f5cdacea83eb42feccb15e706b659ba.tar.bz2
drakx-2f8258805f5cdacea83eb42feccb15e706b659ba.tar.xz
drakx-2f8258805f5cdacea83eb42feccb15e706b659ba.zip
(translate_real) fix translating plural forms by comparing the gettext
string to both the singular & the plural templates (#32505) (bug spoted by pixel)
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 0b75b996c..3be4dfb39 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -54,7 +54,7 @@ sub translate_real {
}
# when utf8 pragma is in use, Locale::gettext() returns an utf8 string not tagged as such:
c::set_tagged_utf8($s2) if !utf8::is_utf8($s2) && utf8::is_utf8($s);
- return $s2 if $s ne $s2;
+ return $s2 if $s ne $s2 && $s2 ne $o_plural;
}
$s;
}