aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-12-01 18:30:46 -0500
committerEli Schwartz <eschwartz@archlinux.org>2021-12-01 18:33:06 -0500
commit69e1f5bb9abee8bfeedcb94b743938ebd9cfe225 (patch)
tree1b648a29bb3fe0b36a18412036cf5807f33c8cd5
parent3f1519f2e739cb8bab4aba4c5b2e0674ff2a6790 (diff)
downloadmeson-69e1f5bb9abee8bfeedcb94b743938ebd9cfe225.zip
meson-69e1f5bb9abee8bfeedcb94b743938ebd9cfe225.tar.gz
meson-69e1f5bb9abee8bfeedcb94b743938ebd9cfe225.tar.bz2
gnome module: document that yelp(languages: ...) is deprecated
If you use it, we emit a warning telling you to use LINGUAS instead. So we should warn people in the documentation as well. Fixes #9495
-rw-r--r--docs/markdown/Gnome-module.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md
index 41a8bbd..9c941d9 100644
--- a/docs/markdown/Gnome-module.md
+++ b/docs/markdown/Gnome-module.md
@@ -324,6 +324,10 @@ was, however, undocumented and never officially supported. Due to a longstanding
bug, passing sources as a keyword argument will result in the positional
argument sources to be ignored. *since 0.60.0* A warning is raised in this case.
+*Since 0.43.0* if "languages" is not specified, a
+[LINGUAS](https://www.gnu.org/software/gettext/manual/html_node/po_002fLINGUAS.html)
+file will be read instead.
+
*Since 0.60.0* the use of the positional argument sources has been deprecated,
and the "sources" keyword argument should be used instead. The passing of
sources as positional arguments will be removed in the future.
@@ -331,7 +335,7 @@ sources as positional arguments will be removed in the future.
This also creates two targets for translations
`help-$project-update-po` and `help-$project-pot`.
-* `languages`: list of languages for translations
+* `languages`: *(deprecated since 0.43.0)* list of languages for translation, overrides the LINGUAS file
* `media`: list of media such as images
* `sources`: list of pages
* `symlink_media`: if media should be symlinked not copied (defaults to `true` since 0.42.0)