summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-10-27 13:43:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-29 23:16:34 +0000
commit139f32a9027e7a9796545733410bc1f532f2c7d6 (patch)
tree6330dcff4c9d25bfb1577adcdc7066351be503f6 /documentation
parent25b67dad1e5abf50f68dfa1ec453fac6bcb1a1ec (diff)
downloadpoky-139f32a9027e7a9796545733410bc1f532f2c7d6.tar.gz
ref-manual/classes.rst: gettext: extend the documentation of the class
Mention the use of USE_NLS, INHIBIT_DEFAULT_DEPS and the cross-canadian class. Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> (From yocto-docs rev: d877e54f1c85cefc00dd674d60f2db81446bd95a) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/classes.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
index 4e5083a79c..5903a4b9a5 100644
--- a/documentation/ref-manual/classes.rst
+++ b/documentation/ref-manual/classes.rst
@@ -966,6 +966,14 @@ software that uses the GNU ``gettext`` internationalization and localization
966system. All recipes building software that use ``gettext`` should inherit this 966system. All recipes building software that use ``gettext`` should inherit this
967class. 967class.
968 968
969This class will configure recipes to build translations *unless*:
970
971- the :term:`USE_NLS` variable is set to ``no``, or
972
973- the :term:`INHIBIT_DEFAULT_DEPS` variable is set and the recipe inheriting
974 the :ref:`ref-classes-gettext` class does not also inherit the
975 :ref:`ref-classes-cross-canadian` class.
976
969.. _ref-classes-github-releases: 977.. _ref-classes-github-releases:
970 978
971``github-releases`` 979``github-releases``