Create mo file update, basic edit css/javascript updates

This commit is contained in:
Clemens Schwaighofer
2022-10-25 16:48:34 +09:00
parent bc8303fe5f
commit 2a3798c8c2
4 changed files with 39 additions and 35 deletions

View File

@@ -7,9 +7,9 @@ base_folder="${BASE_FOLDER}../../www/";
# locale gettext po to mo translator master
for file in $(ls -1 ${base_folder}../4dev/locale/*.po); do
file=$(basename $file .po);
echo "Translate language ${file}";
locale=$(echo "${file}" | cut -d "-" -f 1);
domain=$(echo "${file}" | cut -d "-" -f 2);
echo "- Translate language file '${file}' for locale '${locale}' and domain '${domain}':";
if [ ! -d "${base_folder}/includes/locale/${locale}/LC_MESSAGES/" ]; then
mkdir -p "${base_folder}/includes/locale/${locale}/LC_MESSAGES/";
fi;