<commit_before>#! /bin/sh -x

# Pull translations from transifex
# Forcibly pull all translations becase git clone in a fresh repo causes the local files to
# be more recent then translations on transifex, therefore the translastion is skipped
### tx pull --force --all

# Commit any changes
# git diff

git config user.email "<EMAIL>"
git config user.name "<NAME>"

# git add scripts/transifex-fetch-translations.sh
# git commit -m "Updated message translation fetching script" scripts/transifex-fetch-translations.sh

# Loop over all translations
for translation in $(find $(dirname $0)/../www/locale/eo -name \*.po)
do
    $(dirname $0)/../ci-scripts/transifex-commit-translations.pl ${translation}
done

# Keep Jenkins happy so it won't mark the build as failed for no reason :-(
true

# Done, git push to be done manually or from jenkins<commit_msg>Reset my own git config after perl script run<commit_after>#! /bin/sh -x

# Pull translations from transifex
# Forcibly pull all translations becase git clone in a fresh repo causes the local files to
# be more recent then translations on transifex, therefore the translastion is skipped
### tx pull --force --all

# Commit any changes
# git diff

git config user.email "<EMAIL>"
git config user.name "<NAME>"

# git add scripts/transifex-fetch-translations.sh
# git commit -m "Updated message translation fetching script" scripts/transifex-fetch-translations.sh

# Loop over all translations
for translation in $(find $(dirname $0)/../www/locale/eo -name \*.po)
do
    $(dirname $0)/../ci-scripts/transifex-commit-translations.pl ${translation}
done

# Reset my own git config after shell run
git config user.email "<EMAIL>"
git config user.name "<NAME>"

# Keep Jenkins happy so it won't mark the build as failed for no reason :-(
true

# Done, git push to be done manually or from jenkins
{'fraction_non_alphanumeric': 0.0981029810298103, 'fraction_numerical': 0.002168021680216802, 'mean_word_length': 4.142061281337047, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5203035', 'n_tokens_mistral': 546, 'n_tokens_neox': 525, 'n_words': 235}