From 9a9bfc4cc9c15798128b00dd22811e5e50980ca8 Mon Sep 17 00:00:00 2001 From: Adar Porat Date: Thu, 20 Feb 2014 11:02:24 -0500 Subject: [PATCH] fixed function name at Gettext\Extractors\Po --- Gettext/Extractors/Po.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gettext/Extractors/Po.php b/Gettext/Extractors/Po.php index f35a7b21..2ce4a4c6 100644 --- a/Gettext/Extractors/Po.php +++ b/Gettext/Extractors/Po.php @@ -80,7 +80,7 @@ static public function parse ($file, Entries $entries) { default: if (strpos($key, 'msgstr[') === 0) { - $translation->addPluralTranslation(self::clean($data)); + $translation->setPluralTranslation(self::clean($data)); $append = 'PluralTranslation'; break; }