Fix extraction of multi-line UI strings from welcome page

Authored by nalvarez on Dec 6 2016, 3:39 AM.

Description

Fix extraction of multi-line UI strings from welcome page

xgettext was only extracting the first line of multi-line strings in QML.
The way to solve this is to use one string literal per line and concatenate
them with +, and also pass --language JavaScript to xgettext so it
understands the concatenation with +.

Unfortunately, xgettext can only handle one language at once. Fortunately,
this plugin doesn't have any i18n strings in the C++ code, so we can just
run xgettext in .qml files alone and skip the .cpp files.

Details

Committed
nalvarezDec 6 2016, 3:41 AM
Parents
R33:e84645d1694b: Hotfix for restoring build with newer KConfig
Branches
Unknown
Tags
Unknown