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>
This commit is contained in:
Leena Miettinen 2023-09-22 11:09:37 +02:00
parent c4a8c2b0d0
commit 406f676843

View File

@ -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()}