summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@digia.com>2010-11-09 16:39:20 +0200
committerMiikka Heikkinen <miikka.heikkinen@digia.com>2010-11-12 10:38:36 +0200
commit16575f7aef840b6aae0dc767468ab713fbcfd7a6 (patch)
treeb217b8e866bad40d2140180adc8c635aca4e68b2 /examples
parent924be25253471ababfcf560a6ca098543838c0aa (diff)
downloadqt4-tools-16575f7aef840b6aae0dc767468ab713fbcfd7a6.tar.gz
Localize .loc and .pkg content based on TRANSLATIONS
If developer specifies "CONFIG += localize_deployment" in .pro file, the generated .loc and .pkg will now use translatable strings from .ts files defined in TRANSLATIONS. The .ts files must have an underscore and Qt language code at the end of the filename body to be compatible with deployment localization. E.g. myapp_en.ts. Running lupdate will generate these entries into .ts files: - Application short caption - Application long caption - Package name - Smart installer package name Task-number: QTBUG-13917 Reviewed-by: Oswald Buddenhagen Reviewed-by: Janne Anttila Reviewed-by: axis
Diffstat (limited to 'examples')
-rw-r--r--examples/symbianpkgrules.pri5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/symbianpkgrules.pri b/examples/symbianpkgrules.pri
index 0f615c70eb..fe9b487d55 100644
--- a/examples/symbianpkgrules.pri
+++ b/examples/symbianpkgrules.pri
@@ -2,12 +2,13 @@
RSS_RULES ="group_name=\"QtExamples\";"
+nokiaVendor = "Nokia, Qt"
vendorinfo = \
"; Localised Vendor name" \
- "%{\"Nokia, Qt\"}" \
+ "%{$$addLanguageDependentPkgItem(nokiaVendor)}" \
" " \
"; Unique Vendor name" \
- ":\"Nokia, Qt\"" \
+ ":\"$$nokiaVendor\"" \
" "
examples_deployment.pkg_prerules += vendorinfo