aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/extract_strings
diff options
context:
space:
mode:
Diffstat (limited to 'bin/extract_strings')
-rwxr-xr-xbin/extract_strings3
1 files changed, 3 insertions, 0 deletions
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