From 488a5a1bda0b069218fe449c4d7fe01051321874 Mon Sep 17 00:00:00 2001 From: ywang Date: Thu, 22 Apr 2021 19:23:53 +0200 Subject: Reference MT l10n in translation notes; (update-l10n) do not edit in-place --- advtrains/locale/update-l10n.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'advtrains/locale/update-l10n.lua') diff --git a/advtrains/locale/update-l10n.lua b/advtrains/locale/update-l10n.lua index 011f9c6..ae7d13b 100644 --- a/advtrains/locale/update-l10n.lua +++ b/advtrains/locale/update-l10n.lua @@ -41,6 +41,6 @@ for l in f:lines() do end f:close() -local f = io.open(tfn, "wb") or error("Cannot write to translation file") +local f = io.open(tfn..".new", "wb") or error("Cannot write to translation file") f:write(table.concat(ot,"\n")) f:close() \ No newline at end of file -- cgit v1.2.3