summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2024-02-19 11:49:32 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2024-02-21 18:21:41 +0100
commitb387a6cd8aedf03e4445bbdf757398e85c041635 (patch)
treea4df422ace1cbed5efbdcf8ea54b687433998e9e /src/corelib/doc
parentf926ccbf64791ded226da187674e7a5f6a40eca7 (diff)
CMake: Rename I18N_*LANGUAGES variables and parameters
...according to the Qt 6.7 CMake API review. Pick-to: 6.7 Task-number: QTBUG-122396 Change-Id: I42012e346325ff05d63fa4dac44276eef15320fe Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/doc')
-rw-r--r--src/corelib/doc/src/cmake/cmake-configure-variables.qdoc12
-rw-r--r--src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc
index 941d819595..f1b87b7dce 100644
--- a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc
+++ b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc
@@ -516,8 +516,8 @@ methods provided by CMake.
\page cmake-variable-qt-i18n-languages.html
\ingroup cmake-variables-qtcore
-\title QT_I18N_LANGUAGES
-\target cmake-variable-QT_I18N_LANGUAGES
+\title QT_I18N_TRANSLATED_LANGUAGES
+\target cmake-variable-QT_I18N_TRANSLATED_LANGUAGES
\summary {List of languages to be used for project internationalization.}
@@ -527,7 +527,7 @@ 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_TRANSLATED_LANGUAGES are used to:
\list
\li Set up executable targets for consuming \c{.qm} files.
\li Automatically construct \c{.ts} file names in
@@ -545,8 +545,8 @@ This variable can be conveniently set with the
\page cmake-variable-qt-i18n-native-language.html
\ingroup cmake-variables-qtcore
-\title QT_I18N_NATIVE_LANGUAGE
-\target cmake-variable-QT_I18N_NATIVE_LANGUAGE
+\title QT_I18N_SOURCE_LANGUAGE
+\target cmake-variable-QT_I18N_SOURCE_LANGUAGE
\summary {Specifies the language of translatable strings.}
@@ -555,7 +555,7 @@ This variable can be conveniently set with the
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
+Together with \c{QT_I18N_TRANSLATED_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
diff --git a/src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc b/src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc
index e478148d2e..f4366ac355 100644
--- a/src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc
+++ b/src/corelib/doc/src/cmake/qt_standard_project_setup.qdoc
@@ -20,8 +20,8 @@
qt_standard_project_setup(
[REQUIRES <version>]
[SUPPORTS_UP_TO <version>]
- [I18N_LANGUAGES <language...>]
- [I18N_NATIVE_LANGUAGE <language>]
+ [I18N_TRANSLATED_LANGUAGES <language...>]
+ [I18N_SOURCE_LANGUAGE <language>]
)
\endcode
@@ -86,11 +86,11 @@ setting the \l{QT_NO_STANDARD_PROJECT_SETUP} variable to true.
\section1 Internationalization
Since Qt 6.7, it is possible to specify the languages that are used for project
-internationalization with the \c I18N_LANGUAGES argument. See \l
-QT_I18N_LANGUAGES for details.
+internationalization with the \c I18N_TRANSLATED_LANGUAGES argument. See \l
+QT_I18N_TRANSLATED_LANGUAGES for details.
-Use I18N_NATIVE_LANGUAGE to specify the native language that translatable
-strings are written in. See \l QT_I18N_NATIVE_LANGUAGE for details.
+Use I18N_SOURCE_LANGUAGE to specify the language that translatable strings are
+written in. See \l QT_I18N_SOURCE_LANGUAGE for details.
\section1 Example