po_file for LANGUAGE en now use .pot file

This commit is contained in:
2024-09-18 03:44:12 +05:00
parent 34b8e0d59c
commit 61d0c4d88f
2 changed files with 28 additions and 21 deletions

View File

@ -172,10 +172,9 @@ unset translations
# shellcheck source=/dev/null
source "${PORT_SCRIPTS_PATH}/translations/$LANGUAGE"
if [[ "$TRANSLATIONS_VER" != "$scripts_install_ver" ]] ; then
if [[ $TRANSLATIONS_VER != "$scripts_install_ver" ]] ; then
try_remove_dir "${PORT_SCRIPTS_PATH}/translations"
create_translations
unset translations
# shellcheck source=/dev/null
source "${PORT_SCRIPTS_PATH}/translations/$LANGUAGE"
fi