mirror of
git://git.proxmox.com/git/extjs.git
synced 2025-12-06 11:07:00 -05:00
d/rules: check if all translations are present
to hedge against the (rather unlikely) case where we get another ExtJS update, as then it might happen that the dev updating the repo to that overlooks (or doesn't remembers) that the Georgian (ka) language got contributed manually, not shipped by ExtJS, and delete it by mistake. Check for all available languages, not just the one exposed in widget-toolkit, to be future-proof (e.g., we could start using more) Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6ee3ee8555
commit
65a2888b37
9
debian/rules
vendored
9
debian/rules
vendored
@ -7,3 +7,12 @@
|
|||||||
%:
|
%:
|
||||||
dh $@
|
dh $@
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
dh_auto_test
|
||||||
|
# check if all languages are still shipped, as e.g. Georgian (ka) is manually added by us
|
||||||
|
set -e; for l in \
|
||||||
|
af bg ca cs da de el_GR en en_AU en_GB es et fa fi fr fr_CA gr he hr hu id it ja ka ko lt \
|
||||||
|
lv mk nl no_NB no_NN pl pt pt_BR pt_PT ro ru sk sl sr sr_RS sv_SE th tr ukr vn zh_CN zh_TW; do \
|
||||||
|
echo "checking for '$$l' locale"; \
|
||||||
|
test -e "extjs/build/classic/locale/locale-$$l.js"; \
|
||||||
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user