mirror of
https://github.com/friendica/friendica
synced 2025-04-26 05:50:11 +00:00
Fix Transifex
- More verbose output - add "stable" parameter to sort - add LC_ALL=C parameter
This commit is contained in:
parent
e41283faff
commit
943f965f59
2 changed files with 3 additions and 2 deletions
3
.github/workflows/transifex.yml
vendored
3
.github/workflows/transifex.yml
vendored
|
@ -20,8 +20,9 @@ jobs:
|
|||
echo "::group::Check messages.po"
|
||||
# Skip first 4 lines in possible diff, because they're header
|
||||
# Skip all lines of the git diff starting with "@@" or comments or starting "POT-Creation-Date"
|
||||
if [[ $(git diff -U0 ./view/lang/C/messages.po | awk '!/@@|-"POT-Creation-Date|+"POT-Creation-Date|-#|+#/{print }' | wc -l) > 4 ]]; then
|
||||
if [[ $(git diff -U0 ./view/lang/C/messages.po | awk '!/@@|-"POT-Creation-Date|+"POT-Creation-Date|-#|+#/{print }' | wc -l) -gt 4 ]]; then
|
||||
echo "::error file=messages.po::messages.po is out of date"
|
||||
echo "$(git diff ./view/lang/C/messages.po)"
|
||||
exit 1
|
||||
else
|
||||
echo "Nothing to update"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue