From 530f9490749505221d137343f1bd556821b820da Mon Sep 17 00:00:00 2001 From: Cyril Rossi Date: Wed, 7 Jul 2021 15:05:44 +0200 Subject: Update kconfig_compiler documentation with translation options --- src/kconfig_compiler/README.dox | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'src') diff --git a/src/kconfig_compiler/README.dox b/src/kconfig_compiler/README.dox index 89b29520..671e9c5b 100644 --- a/src/kconfig_compiler/README.dox +++ b/src/kconfig_compiler/README.dox @@ -272,6 +272,19 @@ The following options are read from the kcfgc file: settings discovery and handle the deallocation. Note this parameter is incompatible with Singleton set to true. + +
TranslationSystem=\
+
+ Default: qt \n + Set the translation system for label, tooltip and whatsthis text in generated KConfigSkeleton. + Set the value to kde to use the KDE Framework translation system, see KI18n. +
+ +
TranslationDomain=\
+
+ When TranslationSystem=kde is set, allow to specify the domain in which to look for translations. +
+ @@ -512,4 +525,20 @@ for a signal, the signal name will suffice. You can also use the generic configChanged() signal from KConfigSkeleton to notify your application about configuration changes. + +\subsection translation_context Translation context + +In the kcfg file you can specify the translation's context for \, \ and \ element for an entry. + +\code{.xml} + + + Enable automatic saving of calendars to have calendars saved automatically. + false + +\endcode + +For more information on translation context and how to write good translatable text, +please refer to https://api.kde.org/frameworks/ki18n/html/prg_guide.html + */ -- cgit v1.2.1