mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 02:14:13 +00:00
small adjustment
This commit is contained in:
2
.github/workflows/translation.yml
vendored
2
.github/workflows/translation.yml
vendored
@@ -7,7 +7,7 @@ on:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
build:
|
||||
run_scripts:
|
||||
if: github.repository == 'wavelog/wavelog'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user