fix_lokalize_translations.sh 290 B

123456789101112
  1. #! /bin/bash
  2. default_i18n_dir="../resources/i18n"
  3. i18n_dir=${1:-$default_i18n_dir}
  4. for language_dir in "$i18n_dir"/*; do
  5. if [[ -d "$language_dir" ]]; then
  6. for language_file in "$language_dir"/*.po; do
  7. sed -i "/#, fuzzy/d" "$language_file"
  8. done
  9. fi
  10. done