summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate/testdata/good/from_subdir/project.ts.result
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-01-27 16:25:41 (GMT)
committerJesper Thomschutz <jesper.thomschutz@nokia.com>2010-01-28 15:17:06 (GMT)
commit92244e93ac650f7b0d0cad8d5f2cb44919273932 (patch)
treedab1c9d956b534044a77fe20cd4595e6b5d9f0f9 /tests/auto/linguist/lupdate/testdata/good/from_subdir/project.ts.result
parent203aa70bdef14950b91d91b2e11ec99f5f580cd4 (diff)
downloadQt-92244e93ac650f7b0d0cad8d5f2cb44919273932.zip
Qt-92244e93ac650f7b0d0cad8d5f2cb44919273932.tar.gz
Qt-92244e93ac650f7b0d0cad8d5f2cb44919273932.tar.bz2
add directories with sources to list of project roots
if the pro file for the translations lives in a sibling tree of the actual source tree, messages from included headers wouldn't have been collected, as they were not considered part of the project. Task-number: QTBUG-7495 (cherry picked from commit f300f5cfdf3b32e687191b071c30e14ac2721fc8)
Diffstat (limited to 'tests/auto/linguist/lupdate/testdata/good/from_subdir/project.ts.result')
-rw-r--r--tests/auto/linguist/lupdate/testdata/good/from_subdir/project.ts.result17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/auto/linguist/lupdate/testdata/good/from_subdir/project.ts.result b/tests/auto/linguist/lupdate/testdata/good/from_subdir/project.ts.result
new file mode 100644
index 0000000..7167cf3
--- /dev/null
+++ b/tests/auto/linguist/lupdate/testdata/good/from_subdir/project.ts.result
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0">
+<context>
+ <name>QApplication</name>
+ <message>
+ <location filename="src/main.cpp" line="49"/>
+ <source>string in main.cpp</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <location filename="src/main.h" line="45"/>
+ <source>string in main.h</source>
+ <translation type="unfinished"></translation>
+ </message>
+</context>
+</TS>