Skip to content

Commit d10e2b1

Browse files
committed
fixes
1 parent 50f28b5 commit d10e2b1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/build-ota-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
VERSION=$(sed -n -e 's/.*POEDIT_VERSION_SHORT.* "\(.*\)".*/\1/p' src/version.h)
3838
echo "OTA version: $VERSION"
39-
curlx --fail-with-body -F "version=$VERSION" -F "data=@ota-update.tar" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" ${{vars.OTA_UPLOAD_ENDPOINT}} >response
39+
curl --fail-with-body -F "version=$VERSION" -F "data=@ota-update.tar" -H "X-Api-Key: ${{secrets.OTA_API_KEY}}" ${{vars.OTA_UPLOAD_ENDPOINT}} >response
4040
cat response
4141
modified=$(echo `jq -r '.modified[]' < response`)
4242
if [ -n "$modified" ] ; then

scripts/build-ota-translations.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ trap finish EXIT
1212
# fixup Crowdin downloads:
1313
recode-sr-latin <locales/sr.po >locales/sr@latin.po
1414

15-
# check PO files for errors and remove the ones that won't compile:
15+
# check PO files for errors and fix the ones that won't compile:
1616
uv run scripts/check-translations.py --github --remove-errors
17+
# double-check that fixes were correct:
18+
for po in locales/*.po ; do
19+
msgfmt -c -o /dev/null $po
20+
done
1721

1822
# compile PO files, taking care to make them reproducible, i.e. not change if the actual
1923
# translations didn't change:

0 commit comments

Comments
 (0)