Skip to content

Commit

Permalink
For strings extracted from DGML note location with "file:line"
Browse files Browse the repository at this point in the history
Notation file:line is e.g. understood by IDE parsers like KDevelop
and allows for direct jump to line
  • Loading branch information
kossebau committed Oct 19, 2016
1 parent 5189a1b commit fb5a3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Messages.sh
Expand Up @@ -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
Expand Down

0 comments on commit fb5a3bb

Please sign in to comment.