Use domain property

This commit is contained in:
Kim Biesbjerg 2016-12-10 01:56:45 +01:00
parent 423b62a6bc
commit c9bae68a84

View File

@ -19,7 +19,7 @@ export class PoCompiler implements CompilerInterface {
'content-transfer-encoding': '8bit'
},
translations: {
'default': Object.keys(collection.values).reduce((translations, key) => {
[this.domain]: Object.keys(collection.values).reduce((translations, key) => {
translations[key] = {
msgid: key,
msgstr: collection.get(key)