54 Commits (38dc9894add23691a948a8a733d3175e0b94b183)

Author SHA1 Message Date
Jussi Pakkanen 0d7bb776e2 Move OptionKey in the option source file. 5 months ago
Dylan Baker bc46ea22f7 modules/i18n: CustomTargets must have `install_dir` if installing 10 months ago
Dylan Baker e991c4d454 Use SPDX-License-Identifier consistently 12 months ago
Chun-wei Fan ada6236f76 i18n module: Invoke itstool with the full command line 1 year ago
Charles Brunet 7cbe37ebd9 Add more descriptive description to CustomTarget 1 year ago
Eli Schwartz 1f71911ae4
i18n module: check for a good enough msgfmt before permitting merge_file 2 years ago
Eli Schwartz af49e8010b
i18n module: be broadly supportive of portable gettext tools 2 years ago
Corentin Noël e0792f4819 modules/i18n: fix typo in gettext decorator 2 years ago
Dylan Baker 4c3d9ab22d modules/i18n: fix type annotations 2 years ago
Eli Schwartz 100456de07
fix broken fs.copyfile function that crashed if you tried to use it 2 years ago
David Ward 68add86f7b i18n: Fix source root in Gettext targets for subprojects 2 years ago
Dylan Baker 6843f56f6b modules: use module level information about new and deprecation 2 years ago
Eli Schwartz 1eaf49c880 flake8: remove no longer used imports 3 years ago
Dylan Baker 618b187f70 interpreter: use a shared KwargInfo for install_dir 3 years ago
Eli Schwartz c88a1dc55c
fix bug in i18n merge_file/itstool_join revealed by previous commit 3 years ago
Eli Schwartz 52d01dbf38
rename a badly named KwargInfo 3 years ago
Eli Schwartz 915a468ed3
i18n: be build-compatible (but not developer-compatible) with gettext-tiny 3 years ago
Eli Schwartz de2c091ba6
i18n: fix bug where disabling gettext() broke merge_file() 3 years ago
Eli Schwartz 34da721ec2
gettext: explicitly pass source root / subdir as cli args 3 years ago
Eli Schwartz fdcc566590
i18n: don't let our maintainer targets run via wrapped env 3 years ago
Xavier Claessens e33ec88ac7 Pass environment down to base Target class 3 years ago
Eli Schwartz 8b573d7dc6
i18n.merge_file: do not disable in the absence of gettext tools 3 years ago
Eli Schwartz 1f3640c7db
i18n module: report initial call site when disabling translation support 3 years ago
Eli Schwartz 08928821ec
i18n module: detect gettext tools at configure time 3 years ago
Eli Schwartz e67fd1f551
i18n module: fix bug that made msgfmthelper die on combinations of args 3 years ago
Dylan Baker 11f9638035 build: replace kwargs in CustomTarget initializer 3 years ago
Eli Schwartz 3990dc6d64 flake8: fix indentation style 3 years ago
Eli Schwartz 603244b059
fix broken version annotations for the new itstool_join feature 3 years ago
Matthias Klumpp 02fb0c3f8b i18n: Add support for joining XML localization via itstool 3 years ago
Matthias Klumpp efd7c7f228 i18n: Fix typo for typed_pos_args 3 years ago
Eli Schwartz 172fa4d3b2
i18n module: correctly annotate the availability of data_dirs 3 years ago
Xavier Claessens 018d928cf5 i18n: Fix backtrace when missing input kwarg 3 years ago
Eli Schwartz d06cc042eb
f-strings 3 years ago
Dan Streetman 3c2cca5699 modules/i18n: fix gettext use of --datadirs param 3 years ago
Dylan Baker bd2fcb268b modules/i18n: Fix remaining mypy spotted issues 3 years ago
Dylan Baker 6399544e4c modules/i18n: use typed_kwargs for gettext 3 years ago
Dylan Baker 6b1a80024c modules/i18n: Use typed_kwargs for merge_file 3 years ago
Dylan Baker 61f2866a9f modules/i18n: use typed_pos_args 3 years ago
Dylan Baker b923163109 modules/i18n: add easy type annotations 3 years ago
Dylan Baker 57d0d4e95a modules/i18n: sort and clean up imports 3 years ago
Eli Schwartz 1dbb6d6b8c
make the display name of a gettext translation build, look prettier 3 years ago
Eli Schwartz 22c38a0006
i18n module: restore the <packagename>-gmo target 3 years ago
Eli Schwartz 2fc7592e13
i18n module: provide targets as return value for gettext() 3 years ago
Xavier Claessens 8c5aa031b5 Add install tags 3 years ago
Xavier Claessens 223991c09e Fix i18n target name when using @BASENAME@ and configure_file() input 3 years ago
Eli Schwartz 487d45c1e5
i18n: use real build/install targets for gmo files 3 years ago
Daniel Mensinger 34c28dc92c holders: remove unholder 4 years ago
Xavier Claessens 2e02ef6592 modules: Add methods dict everywhere 4 years ago
Xavier Claessens a734bcfc83 modules: Stop using ModuleReturnValue where it's not needed 4 years ago
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere 4 years ago