diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-02-01 09:46:49 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2024-02-01 10:17:21 +0000 |
commit | aca1566cb4697f0715a9897ee5c3734d63d128e7 (patch) | |
tree | 05f80a59ba8dce9e641873729b5090732ce35b11 | |
parent | 594a41e3ea52e38b4c202325b2733f9484484c41 (diff) |
Documentation: Link the Qt Linguist and GNU gettext examples
Pick-to: 6.6
Task-number: PYSIDE-1112
Change-Id: Ica9c369f488afae6206b30e17d3743e0f3772642
Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
-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. |