Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/translation/Dumper/PoFileDumper.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
16:c2387f117808 | 17:129ea1e6d783 |
---|---|
21 class PoFileDumper extends FileDumper | 21 class PoFileDumper extends FileDumper |
22 { | 22 { |
23 /** | 23 /** |
24 * {@inheritdoc} | 24 * {@inheritdoc} |
25 */ | 25 */ |
26 public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = array()) | 26 public function formatCatalogue(MessageCatalogue $messages, $domain, array $options = []) |
27 { | 27 { |
28 $output = 'msgid ""'."\n"; | 28 $output = 'msgid ""'."\n"; |
29 $output .= 'msgstr ""'."\n"; | 29 $output .= 'msgstr ""'."\n"; |
30 $output .= '"Content-Type: text/plain; charset=UTF-8\n"'."\n"; | 30 $output .= '"Content-Type: text/plain; charset=UTF-8\n"'."\n"; |
31 $output .= '"Content-Transfer-Encoding: 8bit\n"'."\n"; | 31 $output .= '"Content-Transfer-Encoding: 8bit\n"'."\n"; |