diff options
-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 { |