From 4947e97ccd12db487c2ae59d12769a9e416d95d6 Mon Sep 17 00:00:00 2001 From: Badlop <badlop@process-one.net> Date: Fri, 22 Feb 2019 11:57:47 +0100 Subject: [PATCH] Provide source code filename in *.po, so editors can show the source code --- tools/extract-tr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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().