We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8cd513 commit 1bdf755Copy full SHA for 1bdf755
Gettext/Extractors/Mo.php
@@ -61,7 +61,8 @@ public static function parse($file, Entries $entries)
61
$plural = isset($original[1]) ? $original[1] : '';
62
$pluralTranslation = isset($translated[1]) ? $translated[1] : '';
63
64
- $translation = $entries->insert(null, $original[0], $plural)->setTranslation($translated[0]);
+ $translation = $entries->insert(null, $original[0], $plural);
65
+ $translation->setTranslation($translated[0]);
66
67
if ($plural && $pluralTranslation) {
68
$translation->setPluralTranslation($pluralTranslation);
0 commit comments