summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/testdata/good/tr_function_alias/lupdatecmd
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-11-26 15:06:17 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-09 17:39:12 +0200
commiteec0eaed067dc1b421e12530c70b3a4ee01affee (patch)
tree3e01e001b5a2d1ef5f0ace13de3977394d1d5592 /tests/auto/linguist/lupdate/testdata/good/tr_function_alias/lupdatecmd
parentd07d47cf85f4026c8cb508fe9977fff5ffdbd810 (diff)
lupdate: allow to configure names of tr()-like functions
This makes it possible to use lupdate in projects that would like to wrap the tr()-like functions with their own versions, e.g. to add error checking or other instrumentation code. While we're at it, also simplify the c++ parsing with partly table-driven code. Change-Id: I72af68afa851a46342e75dcdd3dd58f4c14276b8 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'tests/auto/linguist/lupdate/testdata/good/tr_function_alias/lupdatecmd')
-rw-r--r--tests/auto/linguist/lupdate/testdata/good/tr_function_alias/lupdatecmd1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/tr_function_alias/lupdatecmd b/tests/auto/linguist/lupdate/testdata/good/tr_function_alias/lupdatecmd
new file mode 100644
index 000000000..7996a444a
--- /dev/null
+++ b/tests/auto/linguist/lupdate/testdata/good/tr_function_alias/lupdatecmd
@@ -0,0 +1 @@
+lupdate main.cpp -tr-function-alias QT_TRANSLATE_NOOP+=QT_TRANSLATE_NOOP_ALIAS,QT_TRANSLATE_NOOP_UTF8+=QT_TRANSLATE_NOOP_UTF8_ALIAS,QT_TRANSLATE_NOOP3+=QT_TRANSLATE_NOOP3_ALIAS,QT_TRANSLATE_NOOP3_UTF8+=QT_TRANSLATE_NOOP3_UTF8_ALIAS,QT_TRID_NOOP+=QT_TRID_NOOP_ALIAS,Q_DECLARE_TR_FUNCTIONS+=Q_DECLARE_TR_FUNCTIONS_ALIAS,qtTrId+=qtTrId_alias,QT_TR_NOOP+=QT_TR_NOOP_ALIAS,QT_TR_NOOP_UTF8+=QT_TR_NOOP_UTF8_ALIAS,tr+=tr_alias,trUtf8+=trUtf8_alias,translate+=translate_alias -ts project.ts