From 2f8258805f5cdacea83eb42feccb15e706b659ba Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 13 Aug 2007 19:22:49 +0000 Subject: (translate_real) fix translating plural forms by comparing the gettext string to both the singular & the plural templates (#32505) (bug spoted by pixel) --- perl-install/common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/common.pm') 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; } -- cgit v1.2.1