From: Badlop Date: Fri, 22 Feb 2019 10:57:47 +0000 (+0100) Subject: Provide source code filename in *.po, so editors can show the source code X-Git-Tag: 19.02~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4947e97ccd12db487c2ae59d12769a9e416d95d6;p=ejabberd Provide source code filename in *.po, so editors can show the source code --- diff --git a/tools/extract-tr.sh b/tools/extract-tr.sh index a37b36474..ef0ae60b4 100755 --- a/tools/extract-tr.sh +++ b/tools/extract-tr.sh @@ -217,7 +217,7 @@ format_location_list(L) -> "#: " ++ string:join( lists:map( fun({File, Pos}) -> - io_lib:format("~s:~B", [File, Pos]) + io_lib:format("~s.erl:~B", [File, Pos]) end, L), " ") ++ io_lib:nl().