1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/osticket_ynh.git synced 2024-09-03 19:56:17 +02:00

adding additional languages

This commit is contained in:
yalh76 2020-02-28 21:18:33 +01:00
parent a90647403e
commit e65bb10a62
49 changed files with 18 additions and 3 deletions

View file

@ -8,7 +8,7 @@
domain="domain.tld" (DOMAIN)
path="/path" (PATH)
admin="john" (USER)
language="en_US"
language="fr"
is_public=1 (PUBLIC|public=1|private=0)
password="pass"
; Checks

BIN
conf/i18n/ar_EG.phar Normal file

Binary file not shown.

BIN
conf/i18n/ar_SA.phar Normal file

Binary file not shown.

BIN
conf/i18n/az.phar Normal file

Binary file not shown.

BIN
conf/i18n/bg.phar Normal file

Binary file not shown.

BIN
conf/i18n/ca.phar Normal file

Binary file not shown.

BIN
conf/i18n/cs.phar Normal file

Binary file not shown.

BIN
conf/i18n/da.phar Normal file

Binary file not shown.

BIN
conf/i18n/de.phar Normal file

Binary file not shown.

BIN
conf/i18n/el.phar Normal file

Binary file not shown.

BIN
conf/i18n/en_GB.phar Normal file

Binary file not shown.

BIN
conf/i18n/es_AR.phar Normal file

Binary file not shown.

BIN
conf/i18n/es_ES.phar Normal file

Binary file not shown.

BIN
conf/i18n/es_MX.phar Normal file

Binary file not shown.

BIN
conf/i18n/et.phar Normal file

Binary file not shown.

BIN
conf/i18n/fa.phar Normal file

Binary file not shown.

BIN
conf/i18n/fi.phar Normal file

Binary file not shown.

BIN
conf/i18n/fr.phar Normal file

Binary file not shown.

BIN
conf/i18n/he.phar Normal file

Binary file not shown.

BIN
conf/i18n/hr.phar Normal file

Binary file not shown.

BIN
conf/i18n/hu.phar Normal file

Binary file not shown.

BIN
conf/i18n/id.phar Normal file

Binary file not shown.

BIN
conf/i18n/it.phar Normal file

Binary file not shown.

BIN
conf/i18n/ja.phar Normal file

Binary file not shown.

BIN
conf/i18n/ko.phar Normal file

Binary file not shown.

BIN
conf/i18n/lt.phar Normal file

Binary file not shown.

BIN
conf/i18n/mk.phar Normal file

Binary file not shown.

BIN
conf/i18n/mn.phar Normal file

Binary file not shown.

BIN
conf/i18n/ms.phar Normal file

Binary file not shown.

BIN
conf/i18n/nl.phar Normal file

Binary file not shown.

BIN
conf/i18n/no.phar Normal file

Binary file not shown.

BIN
conf/i18n/pl.phar Normal file

Binary file not shown.

BIN
conf/i18n/pt_BR.phar Normal file

Binary file not shown.

BIN
conf/i18n/pt_PT.phar Normal file

Binary file not shown.

BIN
conf/i18n/ro.phar Normal file

Binary file not shown.

BIN
conf/i18n/ru.phar Normal file

Binary file not shown.

BIN
conf/i18n/sk.phar Normal file

Binary file not shown.

BIN
conf/i18n/sl.phar Normal file

Binary file not shown.

BIN
conf/i18n/sr_CS.phar Normal file

Binary file not shown.

BIN
conf/i18n/sv_SE.phar Normal file

Binary file not shown.

BIN
conf/i18n/th.phar Normal file

Binary file not shown.

BIN
conf/i18n/tr.phar Normal file

Binary file not shown.

BIN
conf/i18n/uk.phar Normal file

Binary file not shown.

BIN
conf/i18n/vi.phar Normal file

Binary file not shown.

BIN
conf/i18n/zh_CN.phar Normal file

Binary file not shown.

BIN
conf/i18n/zh_TW.phar Normal file

Binary file not shown.

View file

@ -67,8 +67,8 @@
"en": "Choose the application language",
"fr": "Choisissez la langue de l'application"
},
"choices": ["en_US"],
"default": "en_US"
"choices": ["en_US","fr","ar_EG","ar_SA","az","bg","ca","cs","da","de","el","en_GB","es_AR","es_ES","es_MX","et","fa","fi","he","hr","hu","id","it","ja","ko","lt","mk","mn","ms","nl","no","pl","pt_BR","pt_PT","ro","sk","sl","sr_CS","sv_SE","th","tr","uk","vi","zh_CN","zh_TW"],
"default": "fr"
},
{
"name": "password",

View file

@ -162,6 +162,13 @@ pushd "$final_path/include/plugins/build"
popd
ynh_secure_remove --file="$final_path/include/plugins/build"
#=================================================
# INSTALL LANGUAGE
#=================================================
ynh_print_info --message="Installing language..."
rsync -a "../conf/i18n" "$final_path/include/."
#=================================================
# SETUP APPLICATION WITH CURL
#=================================================

View file

@ -171,6 +171,14 @@ then
popd
ynh_secure_remove --file="$final_path/include/plugins/build"
fi
#=================================================
# UPGRADE LANGUAGE
#=================================================
ynh_print_info --message="UPGRADING language..."
rsync -a "../conf/i18n" "$final_path/include/."
#=================================================
# FINALIZE UPGRADE
#=================================================