summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-28 15:40:59 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-28 15:40:59 +0000
commit1f49b0fead1d8c61668c6f5eedf81cb5748886ab (patch)
treecaff9c22e5dcb07b7ff6956721970a4e4f430c45
parentbaf626f88ee276e1c6cc25a3be2c1aad4b9636af (diff)
downloaddrakx-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.tar
drakx-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.tar.gz
drakx-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.tar.bz2
drakx-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.tar.xz
drakx-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.zip
(translate_real) fix plural translating for C locale
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/common.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index d502de4b7..20dcc1f47 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,4 @@
+- fix plural translating for C locale
- diskdrake:
o fix displaying umount error message (#32273)
o write mdadm.conf when it is modified (#32360)
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 3be4dfb39..ecc85c2ff 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -56,7 +56,7 @@ sub translate_real {
c::set_tagged_utf8($s2) if !utf8::is_utf8($s2) && utf8::is_utf8($s);
return $s2 if $s ne $s2 && $s2 ne $o_plural;
}
- $s;
+ $o_nb ? $o_plural : $s;
}
sub remove_translate_context {