From 721674973ca0a4d98cd081e9ff130c3356ddac03 Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 24 Dec 2024 17:46:51 +0000 Subject: implement ui translations using gettext this was horrible i don't like gettext anymore --- bin/extract_strings | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 bin/extract_strings (limited to 'bin') diff --git a/bin/extract_strings b/bin/extract_strings new file mode 100755 index 0000000..8893b0e --- /dev/null +++ b/bin/extract_strings @@ -0,0 +1,3 @@ +#!/bin/sh +cd "$(dirname "$0")"/.. || exit 1 +xgettext -L PHP **/*.php -d digitigrade --from-code=UTF-8 -o locale/digitigrade.pot --omit-header -- cgit v1.3