]> granicus.if.org Git - ejabberd/commitdiff
Provide source code filename in *.po, so editors can show the source code
authorBadlop <badlop@process-one.net>
Fri, 22 Feb 2019 10:57:47 +0000 (11:57 +0100)
committerBadlop <badlop@process-one.net>
Fri, 22 Feb 2019 11:31:02 +0000 (12:31 +0100)
tools/extract-tr.sh

index a37b364741f58504846205cb5e744df1066a281c..ef0ae60b426cf2227c1a0712f611c2e7645098c5 100755 (executable)
@@ -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().