diff --git a/.github/workflows/translation.yml b/.github/workflows/translation.yml index 22e7a170f..ec0080da0 100644 --- a/.github/workflows/translation.yml +++ b/.github/workflows/translation.yml @@ -7,7 +7,7 @@ on: - dev jobs: - build: + run_scripts: if: github.repository == 'wavelog/wavelog' runs-on: ubuntu-latest diff --git a/install/po_gen_installer.sh b/install/po_gen_installer.sh index a4f5f2b65..75e3a99fd 100644 --- a/install/po_gen_installer.sh +++ b/install/po_gen_installer.sh @@ -70,9 +70,11 @@ sed -i '8d' "$TEMP_POT_FILE" # Compare the new POT file with the existing one (excluding the POT Creation Date) if ! diff -I 'POT-Creation-Date' "$TEMP_POT_FILE" "$POT_FILE" >/dev/null; then echo "Updating POT file with new translations." + echo " " mv "$TEMP_POT_FILE" "$POT_FILE" else echo "No changes detected in translations. POT file remains unchanged." + echo " " rm "$TEMP_POT_FILE" fi