v0.127.3: reveal copy states the shown code is already the LIVE one (supersede happens at upload, before display); render test pins the pre-generation Mégsem

This commit is contained in:
2026-07-13 20:45:11 +02:00
parent 900adf733c
commit 8eed73b38a
3 changed files with 15 additions and 2 deletions
@@ -322,7 +322,11 @@ func TestEscrowTemplates_Render(t *testing.T) {
"A folytatáshoz adja meg a bejelentkezési jelszavát",
"Kód létrehozása",
"Kód megjelenítése",
"Ez a kód többé nem jeleníthető meg.",
// v0.127.3 (Viktor): the reveal states EXPLICITLY that the shown code is already the
// live one (the supersede happened at upload, before display).
"Ez mostantól az élő helyreállítási kód — a korábbi kód érvényét vesztette. Mentse el most: a kód többé nem jeleníthető meg.",
// The pre-generation cancel must stay next to the start button (nothing runs until then).
`>Mégsem</a>`,
"nem ezen a szerveren",
"biztonsági okból újra nem kérhető le",
// v0.127.1 polish: the Hungarian preflight detail map + the hide/show toggle
@@ -69,7 +69,7 @@
<div id="reveal-error" class="alert alert-error" style="display:none;margin-top:.75rem"></div>
</div>
<div id="reveal-shown" style="display:none">
<div class="alert alert-warning" style="margin-bottom:.5rem">Ez a kód többé nem jeleníthető meg.</div>
<div class="alert alert-warning" style="margin-bottom:.5rem">Ez mostantól az élő helyreállítási kód — a korábbi kód érvényét vesztette. Mentse el most: a kód többé nem jeleníthető meg.</div>
<pre class="mono" id="code-block" style="white-space:pre-wrap;word-break:break-all;background:var(--bg-0);border:1px solid var(--line);border-radius:var(--radius);padding:1rem;font-size:1.05rem"></pre>
<button type="button" class="btn btn-ghost btn-sm" id="code-blur-toggle" onclick="toggleCodeBlur()">Elrejtés</button>
<h3 style="margin-top:1.25rem">6. Ellenőrzés</h3>