R-563: the remote-backup page polls from a status attribute, and „Fut…" is finally translatable
- backups_remote.html: the status stat carries data-status="{{.Offbox.LastStatus}}"; the poll reads
v.dataset.status === 'running' instead of v.textContent.indexOf('Fut'). The English page could never
see a running backup before this (slice 1 shipped the English page with that word left Hungarian).
- The running label becomes {{T "backups_remote.fut"}} — hu „Fut…" unchanged, en „Running…".
- 12 backups_remote parity fixtures re-captured. Proven (audit switch/fixture diff): each differs from
its predecessor ONLY by the data-status attribute and that one poll line; the other 94 are
byte-identical. The displayed Hungarian is unchanged.
- Tests: TestR563_PollStartsFromAttribute (hu and en), TestR563_AttributeFollowsTheStatus.
Red-proofed twice: poll back on textContent → both languages fail; word back inline → the English
page shows Hungarian.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -777,6 +777,7 @@
|
||||
"backups_remote.az_alkalmazas_mentesek_titkositott_masol": "An encrypted copy of the app backups on a remote store — your own NAS or Felhom offsite storage — over restic + SFTP. The store sees only encrypted data. This is the „1 off-site\" leg of the 3-2-1 rule — independent of the local second copy and the full system backup.",
|
||||
"backups_remote.rendben": "✓ OK",
|
||||
"backups_remote.hianyos": "! Incomplete",
|
||||
"backups_remote.fut": "Running…",
|
||||
"backups_remote.hiba": "✗ Error",
|
||||
"backups_remote.utolso_tavoli_mentes": "Last remote backup",
|
||||
"backups_remote.tarolo_meret": "Store size ·",
|
||||
|
||||
@@ -774,6 +774,7 @@
|
||||
"backups_remote.az_alkalmazas_mentesek_titkositott_masol": "Az alkalmazás-mentések titkosított másolata egy távoli tárolóra — saját NAS vagy Felhom offsite tárhely — restic + SFTP kapcsolaton. A tároló csak titkosított adatot lát. Ez a 3-2-1 szabály „1 off-site\" lába — független a helyi másodpéldánytól és a teljes rendszermentéstől.",
|
||||
"backups_remote.rendben": "✓ Rendben",
|
||||
"backups_remote.hianyos": "! Hiányos",
|
||||
"backups_remote.fut": "Fut…",
|
||||
"backups_remote.hiba": "✗ Hiba",
|
||||
"backups_remote.utolso_tavoli_mentes": "Utolsó távoli mentés",
|
||||
"backups_remote.tarolo_meret": "Tároló méret ·",
|
||||
|
||||
Reference in New Issue
Block a user