diff options
author | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2023-09-22 11:09:37 +0200 |
---|---|---|
committer | Leena Miettinen <riitta-leena.miettinen@qt.io> | 2023-09-22 21:02:45 +0200 |
commit | 406f67684309f7d9f9e2c4fb3976262fc143b24e (patch) | |
tree | 3e057da711a2e2ef56d1c35fce400d92494a7c6d /src/corelib/doc | |
parent | c4a8c2b0d039f34b26ddd70c7e66022a037a10c4 (diff) |
Doc: Edit docs for QtCore QT_I18N_ CMake variables added in Qt 6.7
- Fix punctuation and link errors.
- Make wording more consistent.
Change-Id: I5954a5c3129fdaf524918b2f1c60cc510374c505
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/corelib/doc')
-rw-r--r-- | src/corelib/doc/src/cmake/cmake-configure-variables.qdoc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc index a105d7b790..12771bb10d 100644 --- a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc +++ b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc @@ -484,15 +484,15 @@ methods provided by CMake. \title QT_I18N_LANGUAGES \target cmake-variable-QT_I18N_LANGUAGES -\summary {List of languages to be used for project internationalization} +\summary {List of languages to be used for project internationalization.} \cmakevariablesince 6.7 -This variable specifies a list of languages that are used for project +Specifies a list of languages that are used for project internationalization. The single languages must be compatible with the string-based \l QLocale constructor. -The languages in \c QT_I18N_LANGUAGES are used to +The languages in \c QT_I18N_LANGUAGES are used to: \list \li Set up executable targets for consuming \c{.qm} files. \li Automatically construct \c{.ts} file names in @@ -500,7 +500,7 @@ The languages in \c QT_I18N_LANGUAGES are used to \endlist This variable can be conveniently set with the -{qt6_standard_project_setup}{qt_standard_project_setup()} command. +\l {qt6_standard_project_setup}{qt_standard_project_setup()} command. \sa {qt6_standard_project_setup}{qt_standard_project_setup()} \sa {qt6_add_translations}{qt_add_translations()} @@ -513,18 +513,18 @@ This variable can be conveniently set with the \title QT_I18N_NATIVE_LANGUAGE \target cmake-variable-QT_I18N_NATIVE_LANGUAGE -\summary {Specifies the language of translatable strings} +\summary {Specifies the language of translatable strings.} \cmakevariablesince 6.7 -This variable specifies the language of translatable strings in the source code. +Specifies the language of translatable strings in the source code. The language must be compatible with the string-based \l QLocale constructor. Together with \c{QT_I18N_LANGUAGES}, this variable is used to determine the names of \c{.ts} files for \l{qt6_add_translations}{qt_add_translations()}. This variable can be conveniently set with the -{qt6_standard_project_setup}{qt_standard_project_setup()} command. +\l {qt6_standard_project_setup}{qt_standard_project_setup()} command. \sa {qt6_standard_project_setup}{qt_standard_project_setup()} \sa {qt6_add_translations}{qt_add_translations()} |