diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-02-01 09:46:49 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2024-02-01 13:29:24 +0000 |
commit | df372c292524a8d0813ac917bc8ce77c0a0803de (patch) | |
tree | 16a4dfdfaa867f2b445ab08612f4aa267b3d957e | |
parent | e0e83b61801a66b7b221e7b7b7eebd56e0eca7d3 (diff) |
Documentation: Link the Qt Linguist and GNU gettext examples
Task-number: PYSIDE-1112
Change-Id: Ica9c369f488afae6206b30e17d3743e0f3772642
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
(cherry picked from commit aca1566cb4697f0715a9897ee5c3734d63d128e7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | examples/widgets/gettext/doc/gettext.rst | 7 | ||||
-rw-r--r-- | examples/widgets/linguist/doc/linguist.rst | 7 | ||||
-rw-r--r-- | sources/pyside6/doc/tutorials/basictutorial/translations.rst | 4 |
3 files changed, 16 insertions, 2 deletions
diff --git a/examples/widgets/gettext/doc/gettext.rst b/examples/widgets/gettext/doc/gettext.rst new file mode 100644 index 000000000..ea1127fe7 --- /dev/null +++ b/examples/widgets/gettext/doc/gettext.rst @@ -0,0 +1,7 @@ +.. _gettext-example: + +GNU gettext Example +=================== + +This example demonstrates the use of GNU gettext for translating +applications as described in :ref:`translations`. diff --git a/examples/widgets/linguist/doc/linguist.rst b/examples/widgets/linguist/doc/linguist.rst new file mode 100644 index 000000000..24a49a617 --- /dev/null +++ b/examples/widgets/linguist/doc/linguist.rst @@ -0,0 +1,7 @@ +.. _qt-linguist-example: + +Qt Linguist Example +=================== + +This example demonstrates the use of Qt Linguist and related tools for translating +applications as described in :ref:`translations`. diff --git a/sources/pyside6/doc/tutorials/basictutorial/translations.rst b/sources/pyside6/doc/tutorials/basictutorial/translations.rst index ae44838e1..6ca403ba7 100644 --- a/sources/pyside6/doc/tutorials/basictutorial/translations.rst +++ b/sources/pyside6/doc/tutorials/basictutorial/translations.rst @@ -12,7 +12,7 @@ Qt Linguist `Qt Linguist`_ and its related tools can be used to provide translations for applications. -The ``examples/widgets/linguist`` example illustrates this. The example is +The :ref:`qt-linguist-example` example illustrates this. The example is very simple, it has a menu and shows a list of programming languages with multiselection. @@ -106,7 +106,7 @@ GNU gettext The `GNU gettext`_ module can be used to provide translations for applications. -The ``examples/widgets/gettext`` example illustrates this. The example is +The :ref:`gettext-example` example illustrates this. The example is very simple, it has a menu and shows a list of programming languages with multiselection. |