v0.249.0: i18n slice 1 release B — backup pages in English, Hungarian byte-identical (R-556)
gates / gates (push) Successful in 20s
gates / gates (push) Successful in 20s
Seven backup pages + the restore-progress JS converted against fixtures captured unconverted
(f8ebc47); recovery renders through executeTemplateLang; English retrieval claims registered;
the Fut comparison left unconverted (R-563).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -43,7 +43,9 @@ ASCII_HU = re.compile(r"\b(Fut|Nincs|Igen|Nem|Hiba|Mentve|Rendben|Adatok|Napi|He
|
||||
r"Ismeretlen|Szabad|Foglalt|Kijelentkezes|Napok|nap|perc|ora|"
|
||||
r"Megszakadt|Elavult|Csak|kompatibilis|Rendszermonitor|Most nem|"
|
||||
# slice 1 release A review: left behind on dashboard..settings_notifications
|
||||
r"Folyamat|Titkos|Processzor|Hamarosan|aldomain|adatai|Figyelem|pelda)\b", re.I)
|
||||
r"Folyamat|Titkos|Processzor|Hamarosan|aldomain|adatai|Figyelem|pelda|"
|
||||
# slice 1 release B review
|
||||
r"Konfig|Megtartva|helyi|pl|Befejezve|automatikus|jelenleg|kedd|szerda|szombat|szint)\b", re.I)
|
||||
|
||||
INLINE = {"strong", "em", "b", "i", "br", "code", "small", "a", "kbd", "u"} # NOT span: it is layout here
|
||||
VOID = {"br"}
|
||||
|
||||
@@ -38,7 +38,7 @@ TEMPLATE_ROOTS = [os.path.join(CTRL, "internal", "web", "templates")]
|
||||
MARKER = re.compile(r'\{\{\s*T\s+"([A-Za-z0-9_.\-]+)"\s*\}\}')
|
||||
|
||||
EN_MISSING_CEILING = 0
|
||||
HU_FORMAL_CEILING = 10 # raised 6 -> 10 in slice 1 release A: the converted pages carry 4 more (R-516), not changed (parity)
|
||||
HU_FORMAL_CEILING = 12 # 6 -> 10 (release A) -> 12 (release B): converted copy carries more „ön" forms (R-516), unchanged by rule
|
||||
|
||||
EN_FORBIDDEN = re.compile(r"\b(please|kindly)\b", re.I)
|
||||
|
||||
|
||||
@@ -118,6 +118,39 @@ ALLOWLIST_EN = {
|
||||
"= layout.html 'Addig még visszaszerezheted őket...': R-302's TRUE branch.",
|
||||
("layout.html", "whether your recovery code can still get them back"):
|
||||
"= layout.html 'Hogy ezek még visszaszerezhetők-e': the cautious QUESTION branch.",
|
||||
# slice 1 release B — mirrors of registered Hungarian claims
|
||||
("backups_apps.html", "it can be restored per app"):
|
||||
"= backups_apps.html 'alkalmazásonként visszaállítható': per-app LOCAL restore, no recovery code.",
|
||||
("backups_apps.html", "Removed — restorable"):
|
||||
"= backups_apps.html 'Eltávolítva — visszaállítható' (R-487): the kept unit on a connected drive.",
|
||||
("backups_remote.html", "Your earlier off-site backups can be retrieved.</strong>"):
|
||||
"= backups_remote.html 'mentéseid visszaszerezhetők.</strong>': the RecoveryOffer entry point, gated on the hub.",
|
||||
("backups_remote.html", "your backups can be retrieved, and the deletion is cancelled."):
|
||||
"= backups_remote.html 'a mentéseid visszaszerezhetők, és a törlés elmarad.': R-302 TRUE branch.",
|
||||
("backups_remote.html", "whether your recovery code can still get them back"):
|
||||
"= backups_remote.html 'Hogy ezek még visszaszerezhetők-e': the QUESTION branch.",
|
||||
("recovery.html", "your backups can be retrieved, and the deletion is cancelled;"):
|
||||
"= recovery.html 'a mentéseid visszaszerezhetők, és a törlés elmarad;': the confirmation screen.",
|
||||
# slice 1 release B — English claims whose HUNGARIAN escapes the Hungarian stems (split verbs:
|
||||
# „állíthatók vissza", „hozod vissza"). The English gate saw them first; the Hungarian blind spot
|
||||
# is a register row (R-564). Each is registered on its own merits:
|
||||
("backups_remote.html", "Remote backups can be restored after a complete failure only if you create the recovery code."):
|
||||
"a PRECONDITION, not a promise: restorable only IF the code exists — true by the escrow design (hu: "
|
||||
"'csak akkor állíthatók vissza … ha létrehozza').",
|
||||
("backups_escrow.html", "the remote backups can be restored ONLY"):
|
||||
"the same precondition stated on the ceremony page, restrictive by construction (hu: 'CSAK ezzel a "
|
||||
"kóddal állíthatók vissza').",
|
||||
("backups_restore.html", "bringing back only the missing files"):
|
||||
"describes the three actions offered on the NEXT page for an app with a backup in the store; each is "
|
||||
"gated on the store's own listing, no recovery code involved.",
|
||||
("backups_restore_wizard.html", "whether to bring back only the missing files"):
|
||||
"the wizard's own choice, rendered after preparation; the action beside it is what it names.",
|
||||
("backups_restore_wizard.html", "does <strong>not</strong> bring back your own files"):
|
||||
"a NEGATIVE statement — says what the check does not restore.",
|
||||
("backups_restore_wizard.html", "2. Bring back missing files"):
|
||||
"a heading for the action directly below it.",
|
||||
("backups_restore_wizard.html", "Bring back missing files</button>"):
|
||||
"the button label of that action.",
|
||||
}
|
||||
|
||||
TEMPLATE_COMMENT = re.compile(r"\{\{/\*.*?\*/\}\}", re.S)
|
||||
|
||||
Reference in New Issue
Block a user