Skip to content

Commit

Permalink
Merge pull request #691 from carmenbianca/fix-msgfmt.py
Browse files Browse the repository at this point in the history
Make _build.py compatible with msgfmt.py
  • Loading branch information
linozen committed Apr 5, 2023
2 parents 06b6bda + fcd487c commit 3171e0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ The versions follow [semantic versioning](https://semver.org).

- Fixed automatic generation of Sphinx documentation via readthedocs.io by
adding a `.readthedocs.yaml` configuration file (#648)
- Fixed a compatibility issue where reuse could not be installed (built) if
gettext is not installed. (#691)
- Translations are available in Docker images. (#701)

### Security
Expand Down
2 changes: 1 addition & 1 deletion _build.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def run(self):
)
destination = str(Path(lang_dir) / "reuse.mo")
compile_func = lambda msgfmt, in_file, out: subprocess.run(
[msgfmt, in_file, "-o", out],
[msgfmt, "-o", out, in_file],
check=True,
)

Expand Down

0 comments on commit 3171e0e

Please sign in to comment.