Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.
Swift apple-silicond3dmetaldxmtdxvkfexgame-porting-toolkitgamingmac-gamingmacosmetalmoltenvksteamswiftuivkd3d-protonwhisky-alternativewindows-gameswinewine-wrapper
build: a missing French line warns instead of refusing the build
Gauthier Piarretteb131112d2cf5
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex e023a3f..f86adbd 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -8,8 +8,9 @@ engine and renderer are captured automatically.Every recipe carries `lastVerified` so stale data is visible rather than silently wrong.**Code**: `swift build && swift test` is the whole loop; `Scripts/make-app.sh debug` builds the app-bundle. Match the style around you. By contributing you license your work under GPL-3.0 (code) or-CC0 (data).+bundle. Match the style around you. Interface text is English; a French line in `L10n.swift` is+welcome but optional, English shows until someone adds it. By contributing you license your work+under GPL-3.0 (code) or CC0 (data).Everyone here follows the [code of conduct](CODE_OF_CONDUCT.md).diff --git a/Scripts/make-app.sh b/Scripts/make-app.shindex 7165206..4cd90d9 100755--- a/Scripts/make-app.sh+++ b/Scripts/make-app.sh@@ -16,15 +16,17 @@ import re, collectionskeys = re.findall(r'^\s*"((?:[^"\\]|\\.)*)"\s*:\s*"', open("Sources/HighballApp/L10n.swift").read(), re.M)dups = [k for k, c in collections.Counter(keys).items() if c > 1]if dups: print("error: duplicate L10n keys:", dups); raise SystemExit(1)-# Every string the interface passes through L() must have a French line: a French Mac must-# never see English (2026-09-15). Kit-side error texts are out of this net for now.+# English is the source language and French is the one translation kept complete; a string+# without a French line shows English on a French Mac (L() falls back), which is fine for a+# contributor's change, so this warns rather than refusing (2026-09-17). Translations are+# optional for contributors; the maintainer fills the French in before a release.import globused = set()for f in glob.glob("Sources/HighballApp/*.swift"):if f.endswith("L10n.swift"): continueused |= set(re.findall(r'\bL\("((?:[^"\\]|\\.)*)"\)', open(f).read()))missing = sorted(used - set(keys))-if missing: print("error: L() keys without a French translation:", missing); raise SystemExit(1)+if missing: print(f"warning: {len(missing)} L() strings without a French line (English shows instead):", missing)PYswift build -c "$CONFIG" --product HighballAppAPP=dist/Highball.app