Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
A changed permission message sends its translations back for review
Țugui Dragoș6103401b9b73
diff --git a/Scripts/sync_localizations.py b/Scripts/sync_localizations.pyindex 80d4d790..435fe68d 100644--- a/Scripts/sync_localizations.py+++ b/Scripts/sync_localizations.py@@ -92,13 +92,22 @@ def synced(target, catalog_path):def info_plist(current):- """Returns the InfoPlist catalog: the English from `INFO_PLIST`, with every existing translation kept."""+ """Returns the InfoPlist catalog: the English from `INFO_PLIST`, with every existing translation kept. When the+ English changed, each translation still says the old text, so it is marked for review, which the catalog tests+ refuse until it is translated again."""plist = plistlib.loads(INFO_PLIST.read_bytes())strings = {}old = keys(current)for key in INFO_KEYS:entry = dict(old.get(key, {}))localizations = dict(entry.get("localizations", {}))+ english = localizations.get("en", {}).get("stringUnit", {}).get("value")+ if english is not None and english != plist[key]:+ print(f" changed in English, translations to review: {key}")+ localizations = {+ language: {"stringUnit": {**value["stringUnit"], "state": "needs_review"}} if "stringUnit" in value else value+ for language, value in localizations.items()+ }localizations["en"] = {"stringUnit": {"state": "new", "value": plist[key]}}entry["localizations"] = localizationsentry["extractionState"] = "extracted_with_value"