mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-04-26 22:07:26 +08:00
* initial implementation suggestion * basic supported features snippets generation * Add API identifiers, read-only strings and common extensions to features table * generate doc features snippet files * autogenerated snippets cleanup * changelog update * delete one file to test auto-update * replace SUPPORTS_FUZZY with file format additional_states flag * docs: Documentation snippets update * fix include statetement typo * fix incorrect monolingual attributes * minor styling change * docs: Documentation snippets update * exclude snippets from being treated as standalone documents * Set YAMLFormat as both mono/bilingual * docs: Documentation snippets update * fix duplicate format IDs * only use backwards quotes for literals --------- Co-authored-by: gersona <6675010+gersona@users.noreply.github.com> Co-authored-by: Michal Čihař <michal@weblate.org>
52 lines
2.1 KiB
ReStructuredText
52 lines
2.1 KiB
ReStructuredText
.. _qtling:
|
|
|
|
Qt Linguist .ts
|
|
---------------
|
|
|
|
.. index::
|
|
pair: Qt; file format
|
|
pair: TS; file format
|
|
|
|
Translation format used in Qt based applications.
|
|
|
|
Qt Linguist files are used as both bilingual and monolingual translations.
|
|
|
|
.. seealso::
|
|
|
|
* `Qt Linguist manual <https://doc.qt.io/qt-6/qtlinguist-index.html>`_
|
|
* :doc:`tt:formats/ts`
|
|
* :ref:`bimono`
|
|
|
|
Example file:
|
|
|
|
.. literalinclude:: ../../weblate/trans/tests/data/cs.ts
|
|
:language: xml
|
|
|
|
.. include:: /snippets/format-features/ts-features.rst
|
|
|
|
Weblate configuration
|
|
+++++++++++++++++++++
|
|
|
|
+-------------------------------------------------------------------+
|
|
| Typical Weblate :ref:`component` when using as bilingual |
|
|
+================================+==================================+
|
|
| File mask | ``i18n/app.*.ts`` |
|
|
+--------------------------------+----------------------------------+
|
|
| Monolingual base language file | `Empty` |
|
|
+--------------------------------+----------------------------------+
|
|
| Template for new translations | ``i18n/app.de.ts`` |
|
|
+--------------------------------+----------------------------------+
|
|
| File format | `Qt Linguist Translation File` |
|
|
+--------------------------------+----------------------------------+
|
|
|
|
+-------------------------------------------------------------------+
|
|
| Typical Weblate :ref:`component` when using as monolingual |
|
|
+================================+==================================+
|
|
| File mask | ``i18n/app.*.ts`` |
|
|
+--------------------------------+----------------------------------+
|
|
| Monolingual base language file | ``i18n/app.en.ts`` |
|
|
+--------------------------------+----------------------------------+
|
|
| Template for new translations | ``i18n/app.en.ts`` |
|
|
+--------------------------------+----------------------------------+
|
|
| File format | `Qt Linguist Translation File` |
|
|
+--------------------------------+----------------------------------+
|