diff --git a/docroot/core/lib/Drupal/Component/Gettext/PoItem.php b/docroot/core/lib/Drupal/Component/Gettext/PoItem.php index cefeee7..f43ca8d 100644 --- a/docroot/core/lib/Drupal/Component/Gettext/PoItem.php +++ b/docroot/core/lib/Drupal/Component/Gettext/PoItem.php @@ -193,7 +193,7 @@ public function setFromArray(array $values = array()) { strpos($this->_source, LOCALE_PLURAL_DELIMITER) !== FALSE) { $this->setSource(explode(LOCALE_PLURAL_DELIMITER, $this->_source)); $this->setTranslation(explode(LOCALE_PLURAL_DELIMITER, $this->_translation)); - $this->setPlural(count($this->_translation) > 1); + $this->setPlural(count($this->_source) > 1); } }