Commit fb5a3bbb authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

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
parent 5189a1be
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment