summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDmitry Mordvinov <dvvsrd@gmail.com>2015-05-07 05:25:07 +0300
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2015-05-08 11:42:02 +0000
commitff19df37415ead8d26597d861b4d0311ac971c74 (patch)
tree677388c7d6e8e71fcf8467b1e2bc6e8af5337626 /doc
parentd74b5e575dfbc3d39f5a2970cc698cc389542116 (diff)
Implemented xml:lang attribute support for DisplayName tag.
Components in tree view are often need to be localized. Therefore packages.xml syntax is extended with possibility to specify xml:lang attribute for DisplayName tag (similarly to Description one). Test data extended with root component localization. Added new testcase that changes default locale and checks that loaded component names correspond to hard-coded ones. Docs updated with new feature description. Change-Id: Ic330c3c6684e763eb48a2e99e71784913544e686 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/installerfw.qdoc5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/installerfw.qdoc b/doc/installerfw.qdoc
index 79c4d7962..0ca6e5b5e 100644
--- a/doc/installerfw.qdoc
+++ b/doc/installerfw.qdoc
@@ -548,11 +548,12 @@
\row
\li DisplayName
\li Human-readable name of the component. Required.
+ Specify translations for the name of the component as values of additional
+ DisplayName tags, with the xml:lang attribute set to the correct locale.
\row
\li Description
\li Human-readable description of the component. Required.
- Specify translations for the description as values of additional
- Description tags, with the xml:lang attribute set to the correct locale.
+ Translations may be specified similarly to DisplayName tag.
If a localization that matches the locale is not found and an untranslated
version exists, that one will be used. Otherwise no Description will be
shown for that locale.