Merge pull request #8619 from jepler/fix-msg-build

missed a spot to update filename to synthetic.pot
This commit is contained in:
Dan Halbert 2023-11-16 09:36:21 -05:00 committed by GitHub
commit f96c848881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import polib
template_filename = sys.argv[1] template_filename = sys.argv[1]
po_filenames = sys.argv[2:] po_filenames = sys.argv[2:]
synthetic = polib.pofile("locale/synthetic.po") synthetic = polib.pofile("locale/synthetic.pot")
synthetic_ids = set([x.msgid for x in synthetic]) synthetic_ids = set([x.msgid for x in synthetic])
template = polib.pofile(template_filename) template = polib.pofile(template_filename)
all_ids = set([x.msgid for x in template]) - synthetic_ids all_ids = set([x.msgid for x in template]) - synthetic_ids