Skip to content

Commit 1827dd2

Browse files
committed
Don't hardcode the translation domain
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
1 parent 99c48ba commit 1827dd2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mmdzanata/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def get_modulemd_translations(zanata_rest_url, zanata_project,
327327
# Read the po file into a catalog, indexed by the locale
328328
catalogs[loc] = pofile.read_po(
329329
BytesIO(r.content),
330-
domain="fedora-modularity-translations")
330+
domain=zanata_translation_file)
331331

332332
translations = get_modulemd_translations_from_catalog_dict(catalogs)
333333
if debug:

0 commit comments

Comments
 (0)