mirror of https://github.com/nymea/nymea.git
Fix generting translation stubs
parent
c920ba43b2
commit
978123c580
|
|
@ -64,7 +64,7 @@ QMAKE_EXTRA_TARGETS += clean plugininfo_clean
|
|||
TRANSLATIONS *= $$files($${_PRO_FILE_PWD_}/translations/*ts, true)
|
||||
lupdate.depends = FORCE
|
||||
lupdate.depends += qmake_all
|
||||
lupdate.commands = nymea-plugininfocompiler $${JSONFILE} --translation $${_PRO_FILE_PWD_}/translations/; \
|
||||
lupdate.commands = nymea-plugininfocompiler $${JSONFILE} --translations $${_PRO_FILE_PWD_}/translations/; \
|
||||
lupdate -recursive -no-obsolete $${_PRO_FILE_PWD_}/"$$TARGET".pro;
|
||||
QMAKE_EXTRA_TARGETS += lupdate
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ int main(int argc, char *argv[])
|
|||
parser.addHelpOption();
|
||||
parser.addOption({{"o", "output"}, "Write generated output header to <file>.", "file"});
|
||||
parser.addOption({{"e", "extern"}, "Write generated output header (extern definitions) to <file>.", "file"});
|
||||
parser.addOption({{"t", "translations"}, "Write generated output header (extern definitions) to <directory>.", "directory"});
|
||||
parser.addOption({{"t", "translations"}, "Write generated translations file stub to <directory>.", "directory"});
|
||||
parser.addPositionalArgument("input", "The input json file");
|
||||
|
||||
parser.process(a);
|
||||
|
|
|
|||
Loading…
Reference in New Issue