comparison core/modules/locale/src/PoDatabaseWriter.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
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 /**