Skip to content

Commit

Permalink
Merge pull request #53 from igo95862/set-locale-of-new-po-files
Browse files Browse the repository at this point in the history
Set locale of created po files
  • Loading branch information
tk0miya committed Jun 4, 2021
2 parents 9c730c3 + fc2dff0 commit 491cf59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sphinx_intl/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def update(locale_dir, pot_dir, languages, line_width=76):
else: # new po file
status['create'] += 1
click.echo('Create: {0}'.format(po_file))
cat_pot.locale = lang
c.dump_po(po_file, cat_pot, line_width)

return status
Expand Down

0 comments on commit 491cf59

Please sign in to comment.