diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2021-08-26 17:47:57 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-08-31 23:37:33 -0400 |
| commit | 2fc7592e13a4680aa481dfd0859a6591d0f92e74 (patch) | |
| tree | efdfd00dc0ed82efb16766e7cbaa4786db510d4b /docs/markdown/i18n-module.md | |
| parent | bd691b847c2cb6cbea3450a8749bcc1a67c295e7 (diff) | |
| download | meson-2fc7592e13a4680aa481dfd0859a6591d0f92e74.tar.gz | |
i18n module: provide targets as return value for gettext()
Users may wish to make use of these files for their own purposes.
For example, the -pot and -update-po pseudo targets could be reused in
an alias_target(), and at least one person wanted to reuse the built .mo
files as custom_target input.
Fixes #6227
Diffstat (limited to 'docs/markdown/i18n-module.md')
| -rw-r--r-- | docs/markdown/i18n-module.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/i18n-module.md b/docs/markdown/i18n-module.md index 4948fab42..47ef88b0a 100644 --- a/docs/markdown/i18n-module.md +++ b/docs/markdown/i18n-module.md @@ -38,6 +38,11 @@ This function also defines targets for maintainers to use: * `<project_id>-update-po`: regenerates the `.po` files from current `.pot` file * `<project_id>-gmo`: builds the translations without installing +(*since 0.60.0*) Returns a list containing: +* a list of built `.mo` files +* the maintainer `-pot` target +* the maintainer `-update-po` target + ### i18n.merge_file() This merges translations into a text file using `msgfmt`. See |
