diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-11-09 14:39:20 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2010-11-12 08:38:36 (GMT) |
commit | 16575f7aef840b6aae0dc767468ab713fbcfd7a6 (patch) | |
tree | b217b8e866bad40d2140180adc8c635aca4e68b2 /examples/symbianpkgrules.pri | |
parent | 924be25253471ababfcf560a6ca098543838c0aa (diff) | |
download | Qt-16575f7aef840b6aae0dc767468ab713fbcfd7a6.zip Qt-16575f7aef840b6aae0dc767468ab713fbcfd7a6.tar.gz Qt-16575f7aef840b6aae0dc767468ab713fbcfd7a6.tar.bz2 |
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/symbianpkgrules.pri')
-rw-r--r-- | examples/symbianpkgrules.pri | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/symbianpkgrules.pri b/examples/symbianpkgrules.pri index 0f615c7..fe9b487 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 |