1
0
mirror of git://git.proxmox.com/git/extjs.git synced 2026-06-27 22:24:55 -04:00
extjs/debian/rules
Maximiliano Sandoval dea745fcf9 add Greek translations
ExtJs comes with Greek translations using the code el_GR, but the only
Greek code as per [ISO 639] is "el". Additionally, gettext [1] also uses
"el" as the only language code for Greek, but calls it "Greek,
Modern (1453-)".

We make a copy of the original files for el_GR and replace s/el_GR/el/.

[ISO 639] https://en.wikipedia.org/wiki/ISO_639
[1] https://www.gnu.org/software/gettext/manual/html_node/Usual-Language-Codes.html

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Link: https://lore.proxmox.com/20260601120525.285737-2-m.sandoval@proxmox.com
2026-06-21 16:52:37 +02:00

19 lines
621 B
Makefile
Executable File

#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
%:
dh $@
override_dh_auto_test:
dh_auto_test
# check if all languages are still shipped, as e.g. Georgian (ka) and Greek (el) are manually added by us
set -e; for l in \
af bg ca cs da de el 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