Commit graph

6 commits

Author SHA1 Message Date
Paul Donald
b98d8c526e 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>
2024-01-03 13:14:06 +00:00
Paul Spooren
c4a4e43e2e treewide: replace which with command -v
Fix shellcheck SC2230
> which is non-standard. Use builtin 'command -v' instead.

Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-20 15:54:54 -10:00
Daniel Golle
8da6c1a49f properly support git in build/i18n-init.sh 2012-11-20 11:42:35 +00:00
Jo-Philipp Wich
0231c25655 build/i18n-init.sh: add git support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-04-06 09:44:46 +00:00
Jo-Philipp Wich
ec79d9318d build/i18n-init.sh: allow to use custom pattern for template files
This allows to initialize language files for individual modules.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-04-06 09:44:43 +00:00
Jo-Philipp Wich
7d73e79c49 build: add i18n-init.sh, a helper script to initalize missing *.po files 2011-05-21 21:22:47 +00:00