diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-08-28 15:40:59 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-08-28 15:40:59 +0000 |
commit | 1f49b0fead1d8c61668c6f5eedf81cb5748886ab (patch) | |
tree | caff9c22e5dcb07b7ff6956721970a4e4f430c45 /perl-install | |
parent | baf626f88ee276e1c6cc25a3be2c1aad4b9636af (diff) | |
download | drakx-backup-do-not-use-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.tar drakx-backup-do-not-use-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.tar.gz drakx-backup-do-not-use-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.tar.bz2 drakx-backup-do-not-use-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.tar.xz drakx-backup-do-not-use-1f49b0fead1d8c61668c6f5eedf81cb5748886ab.zip |
(translate_real) fix plural translating for C locale
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/common.pm | 2 |
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 { |