comparison core/modules/locale/src/PoDatabaseWriter.php @ 18:af1871eacc83

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:33:08 +0100
parents c2387f117808
children
comparison
equal deleted inserted replaced
17:129ea1e6d783 18:af1871eacc83
186 /** 186 /**
187 * {@inheritdoc} 187 * {@inheritdoc}
188 */ 188 */
189 public function writeItem(PoItem $item) { 189 public function writeItem(PoItem $item) {
190 if ($item->isPlural()) { 190 if ($item->isPlural()) {
191 $item->setSource(implode(LOCALE_PLURAL_DELIMITER, $item->getSource())); 191 $item->setSource(implode(PoItem::DELIMITER, $item->getSource()));
192 $item->setTranslation(implode(LOCALE_PLURAL_DELIMITER, $item->getTranslation())); 192 $item->setTranslation(implode(PoItem::DELIMITER, $item->getTranslation()));
193 } 193 }
194 $this->importString($item); 194 $this->importString($item);
195 } 195 }
196 196
197 /** 197 /**