From ca87afc26f35bcbc74d81da9118b8b67c5192371 Mon Sep 17 00:00:00 2001 From: "Y. Wang" Date: Fri, 29 Dec 2023 21:12:53 +0100 Subject: poconvert: minor refactor; add unittest poconvert.lua now recognizes fuzzy entries in PO files; these entries are also added to the target file, but they are prefixed with "#" (i.e. marked as comments). --- .build.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index 6c4d697..72dbc89 100644 --- a/.build.yml +++ b/.build.yml @@ -14,3 +14,9 @@ tasks: busted cd ../serialize_lib busted + +- test_po_files : | + cd advtrains/advtrains + for f in po/*.po; do + luajit -e 'require("poconvert").from_string("advtrains", io.input():read("*a"))' < $f + done -- cgit v1.2.3