Linux + iPhone Continuity / iMessage / SMS
fix(i18n): more CI
Zack Bartelc99555a74d98
diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.ymlindex 81f92e2..cc45082 100644--- a/.github/workflows/i18n.yml+++ b/.github/workflows/i18n.yml@@ -5,22 +5,26 @@ on:branches: [main, develop]pull_request:+# The per-catalog `msgfmt --check-format` run rides along with ctest in build.yml.+# This job covers what that cannot see: a source string added without re-extracting+# the template, and a catalog left incomplete.jobs:catalogs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4- with:- fetch-depth: 0 # update-pot.sh reads the version from git describe- name: dependenciesrun: sudo apt-get update && sudo apt-get install -y --no-install-recommends gettext+ # Compare through this runner's own msgcat. Wrapping and ordering differ+ # between gettext versions, and the header carries a timestamp and the+ # release version; none of that is what this gate asserts.- name: pot is up to daterun: |cp po/tether.pot /tmp/pot.committedmake pot- norm() { msgcat --sort-output --no-location "$1" | grep -v '^"POT-Creation-Date:'; }+ norm() { msgcat --sort-output --no-location "$1" | grep -vE '^"(POT-Creation-Date|Project-Id-Version):'; }if ! diff -u <(norm /tmp/pot.committed) <(norm po/tether.pot); thenecho "::error::po/tether.pot is stale. Run 'make pot' and commit the result."exit 1diff --git a/po/cs.po b/po/cs.poindex 84cb2a1..8e3f545 100644--- a/po/cs.po+++ b/po/cs.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Czech\n"diff --git a/po/de.po b/po/de.poindex 3c372c6..66fbfac 100644--- a/po/de.po+++ b/po/de.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-22\n""Last-Translator: Tether project\n""Language-Team: German\n"diff --git a/po/es.po b/po/es.poindex f93247c..c7c9fcf 100644--- a/po/es.po+++ b/po/es.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-22\n""Last-Translator: Tether project\n""Language-Team: Spanish\n"diff --git a/po/fr.po b/po/fr.poindex cd0a0b6..6b79a21 100644--- a/po/fr.po+++ b/po/fr.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-22\n""Last-Translator: Tether project\n""Language-Team: French\n"diff --git a/po/it.po b/po/it.poindex 0549f89..b4bb8b8 100644--- a/po/it.po+++ b/po/it.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Italian\n"diff --git a/po/ja.po b/po/ja.poindex df28e25..4ce2ac6 100644--- a/po/ja.po+++ b/po/ja.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Japanese\n"diff --git a/po/ko.po b/po/ko.poindex 11f9b27..5ad0fbe 100644--- a/po/ko.po+++ b/po/ko.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Korean\n"diff --git a/po/nl.po b/po/nl.poindex 4868190..af56380 100644--- a/po/nl.po+++ b/po/nl.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Dutch\n"diff --git a/po/pl.po b/po/pl.poindex a1d78e0..cb17b6a 100644--- a/po/pl.po+++ b/po/pl.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Polish\n"diff --git a/po/pt_BR.po b/po/pt_BR.poindex d185233..b5ffee9 100644--- a/po/pt_BR.po+++ b/po/pt_BR.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Brazilian Portuguese\n"diff --git a/po/ru.po b/po/ru.poindex 907e7fd..9b9c7e3 100644--- a/po/ru.po+++ b/po/ru.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Russian\n"diff --git a/po/sv.po b/po/sv.poindex ee92794..e17845a 100644--- a/po/sv.po+++ b/po/sv.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Swedish\n"diff --git a/po/tether.pot b/po/tether.potindex 4938bef..04c4ac2 100644--- a/po/tether.pot+++ b/po/tether.pot@@ -6,9 +6,9 @@#, fuzzymsgid ""msgstr ""-"Project-Id-Version: tether 0.2.10-10-g17ea4ae\n"+"Project-Id-Version: tether 0.2.10\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n""Last-Translator: FULL NAME <EMAIL@ADDRESS>\n""Language-Team: LANGUAGE <[email protected]>\n"diff --git a/po/tr.po b/po/tr.poindex ab10f42..08e3dbe 100644--- a/po/tr.po+++ b/po/tr.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Turkish\n"diff --git a/po/uk.po b/po/uk.poindex 51c2cd0..eea52cc 100644--- a/po/uk.po+++ b/po/uk.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Ukrainian\n"diff --git a/po/update-pot.sh b/po/update-pot.shindex 9aa0494..748551d 100755--- a/po/update-pot.sh+++ b/po/update-pot.sh@@ -5,7 +5,10 @@ set -ecd "$(dirname "$0")/.."-VERSION=$(git describe --tags --always 2>/dev/null | sed 's/^v//' || true)+# The release version, not `git describe`: a commit count and hash would make the+# pot stale on every commit, and committing the regenerated pot would change the+# hash again.+VERSION=$(sed -n 's/^project(tether VERSION \([0-9][0-9.]*\).*/\1/p' CMakeLists.txt)[ -n "$VERSION" ] || VERSION=unknown# The metadata has to be repeated on the --join-existing call: it rewrites thediff --git a/po/zh_CN.po b/po/zh_CN.poindex cbc9a92..75d740b 100644--- a/po/zh_CN.po+++ b/po/zh_CN.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-08-23 16:06-0700\n"+"POT-Creation-Date: 2026-08-23 16:13-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Simplified Chinese\n"