summaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/msgfmthelper.py
AgeCommit message (Collapse)Author
2023-12-13Use SPDX-License-Identifier consistentlyDylan Baker
This replaces all of the Apache blurbs at the start of each file with an `# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing uses to be consistent in capitalization, and to be placed above any copyright notices. This removes nearly 3000 lines of boilerplate from the project (only python files), which no developer cares to look at. SPDX is in common use, particularly in the Linux kernel, and is the recommended format for Meson's own `project(license: )` field
2023-02-01treewide: add future annotations importEli Schwartz
2022-03-06scripts: accept the path of the gettext commands to run as an argumentEli Schwartz
Don't assume itstool, msgfmt et al. are just magically on the path. Normally for commands being processed in build.ninja we'd look up the program in order to run it. Offer the same guarantee for programs being passed through an awkward script wrapper.
2020-09-08typing: fully annotate scriptsDaniel Mensinger
2019-04-22i18n: add args keyword to merge_fileKonstantin
* i18n: add args keyword to merge_file * i18n: add testcase to msgfmt args
2017-04-29i18n: Add data_dirs kwarg to merge_file()Patrick Griffis
For parity with gettext() Fixes #1565