From 406f67684309f7d9f9e2c4fb3976262fc143b24e Mon Sep 17 00:00:00 2001 From: Leena Miettinen Date: Fri, 22 Sep 2023 11:09:37 +0200 Subject: [PATCH] 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 --- .../doc/src/cmake/cmake-configure-variables.qdoc | 14 +++++++------- 1 file 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 a105d7b7904..12771bb10db 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()}