From: Laurent Mazet Date: Fri, 7 Mar 2025 10:07:52 +0000 (+0100) Subject: New option to check if first word cover central star (#13) X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=01adf6ac0e6fefb1c93ae68592036a379ca68b1b;p=trivabble.git New option to check if first word cover central star (#13) Reviewed-on: https://git.jakse.fr/trivabble/trivabble/pulls/13 Co-authored-by: Laurent Mazet Co-committed-by: Laurent Mazet --- diff --git a/bin/check-l10n-file.sh b/bin/check-l10n-file.sh new file mode 100755 index 0000000..8b91565 --- /dev/null +++ b/bin/check-l10n-file.sh @@ -0,0 +1,40 @@ +#!/bin/bash + +PODIR="l10n/po/fr" + +PUBDIR="public" + +[ "$1" ] && PODIR=$1 +[ "$2" ] && PUBDIRF=$2 + +IFS=$'\n' + +function extract_from_html() { + awk -F '>' \ + '/l10n/ { + for (i=1; i

+
+

+