From be008a93bf5839147934089aaf5e3fb1b2d090b9 Mon Sep 17 00:00:00 2001 From: Adrian Herrmann Date: Wed, 20 Mar 2024 11:36:15 +0100 Subject: doc: Add page for pyside6-linguist Change-Id: I7151c589a8d619f6ba822e7995eb342600ef8015 Reviewed-by: Friedemann Kleint Reviewed-by: Shyamnath Premnadh --- .../pyside6/doc/gettingstarted/package_details.rst | 6 +++--- sources/pyside6/doc/tools/pyside-linguist.rst | 20 ++++++++++++++++++++ .../doc/tools/pyside6-linguist_screenshot.webp | Bin 0 -> 90474 bytes 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 sources/pyside6/doc/tools/pyside-linguist.rst create mode 100644 sources/pyside6/doc/tools/pyside6-linguist_screenshot.webp diff --git a/sources/pyside6/doc/gettingstarted/package_details.rst b/sources/pyside6/doc/gettingstarted/package_details.rst index 95c3e0c36..f4a8c7d03 100644 --- a/sources/pyside6/doc/gettingstarted/package_details.rst +++ b/sources/pyside6/doc/gettingstarted/package_details.rst @@ -175,19 +175,19 @@ Translations :gutter: 3 3 4 5 .. grid-item-card:: ``pyside6-linguist`` - :link: translations + :link: pyside6-linguist :link-type: ref for translating text in applications. .. grid-item-card:: ``pyside6-lrelease`` - :link: translations + :link: pyside6-lrelease :link-type: ref to create run-time translation files for the application. .. grid-item-card:: ``pyside6-lupdate`` - :link: translations + :link: pyside6-lupdate :link-type: ref to synchronize source code and translations. diff --git a/sources/pyside6/doc/tools/pyside-linguist.rst b/sources/pyside6/doc/tools/pyside-linguist.rst new file mode 100644 index 000000000..e13124a8e --- /dev/null +++ b/sources/pyside6/doc/tools/pyside-linguist.rst @@ -0,0 +1,20 @@ +.. _pyside6-linguist: + +pyside6-linguist +================= + +``pyside6-linguist`` is a tool that wraps `Qt Linguist`_, Qt's tool to +translate user interfaces and manage application localizations. It +supports Qt's own TS file format as well as the XML Localization +Interchange File Format (XLIFF). There are no differences between the +version bundled with PySide and the one from Qt. + +For more information on how to use this tool, read Qt's documentation +here: `Qt Linguist`_. Read more about how to translate PySide +applications here: :ref:`translations`. + +.. image:: pyside6-linguist_screenshot.webp + :width: 500 + :alt: PySide6 Linguist Screenshot + +.. _`Qt Linguist`: https://doc.qt.io/qt-6/qtlinguist-index.html diff --git a/sources/pyside6/doc/tools/pyside6-linguist_screenshot.webp b/sources/pyside6/doc/tools/pyside6-linguist_screenshot.webp new file mode 100644 index 000000000..cd91007ba Binary files /dev/null and b/sources/pyside6/doc/tools/pyside6-linguist_screenshot.webp differ -- cgit v1.2.3