summaryrefslogtreecommitdiffhomepage
path: root/build/i18n-init.sh
diff options
context:
space:
mode:
authorPaul Donald <newtwen@gmail.com>2024-01-03 13:14:06 +0000
committerPaul Donald <newtwen@gmail.com>2024-01-03 13:14:06 +0000
commitb98d8c526e05d658856a83c469f79957223fbfd6 (patch)
tree70e429df22bdd3488042ef5e0a0bf5dae1fceb17 /build/i18n-init.sh
parentc487c4f184b358bc1b0568bae03f53f75219e6cc (diff)
build: update build/i18n-* tools
modify i18n-add-language.sh so it can: - be run from any path - bootstrap any (or all) po folder(s) with existing language(s) - (partially) update luci.mk with new languages deprecate build/i18n-init.sh Signed-off-by: Paul Donald <newtwen@gmail.com>
Diffstat (limited to 'build/i18n-init.sh')
-rwxr-xr-xbuild/i18n-init.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/i18n-init.sh b/build/i18n-init.sh
index 94abdfcd56..de8626163d 100755
--- a/build/i18n-init.sh
+++ b/build/i18n-init.sh
@@ -3,6 +3,10 @@
PATTERN=$1
SCM=
+echo $0 "initialises po/ i18n catalogues in empty language sub-folders."
+echo $0 "is deprecated and may be removed in the future."
+echo "Hint: run i18n-add-language.sh instead."
+
[ -d .svn ] && SCM="svn"
git=$( command -v git 2>/dev/null )
[ "$git" ] && "$git" status >/dev/null && SCM="git"