summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-19 00:39:00 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-10-19 00:39:00 (GMT)
commitfb5a3bbba59d64037768b66509912204235ccc9e (patch)
tree7b22418912182e6778ce1c67c5504c29fad8ba8b
parent5189a1be168d2fa686ba61953e176b2d0df751e3 (diff)
For strings extracted from DGML note location with "file:line"
Notation file:line is e.g. understood by IDE parsers like KDevelop and allows for direct jump to line
-rwxr-xr-xMessages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Messages.sh b/Messages.sh
index 3172406..90a6cbf 100755
--- a/Messages.sh
+++ b/Messages.sh
@@ -10,7 +10,7 @@ for fname in `find data/maps -iname \*.dgml`; do
| sed 's/\"/\\\"/g' \
| sed 's/<!\[CDATA\[\(.*\)\]\]>/\1/' \
| sed "s/\\([^:]*\\):\\([^:]*\\):.*<$field>\(.*\)<\/$field>.*/\
- \/\/: file \1 line \2\n\
+ \/\/: file \1:\2\n\
QCoreApplication::translate(\"DGML\", \"\3\");\
/i" \
>> rc.cpp