ac149c2aa4
- 11 templates converted (storage, storage_network, storage_init, storage_attach, sharing, login,
claim, launcher_shared, launcher_share_password, catchall, debug); every key translated.
Six ASCII-only Hungarian JS fragments the extractor missed were found by eye and converted by hand
(", majd a(z)", "FIGYELEM:", "jelenlegi:", "mp", "p", " db").
- login, claim, both guest share pages and the catch-all render through executeTemplateLang (the
household language; no session CSRF, no escrow reminder). renderLogin now takes the request.
- Page titles: TitleKey for storage, network storage, the two drive wizards and sharing.
TestHandlerTitleKeysMatchHungarianTitle pins handler literal == hu.json value for every TitleKey.
- Tests: TestDirectRenderHandlersFollowLanguage (real routes, en + hu),
TestI18nDirectRenderPagesHaveNoAdminChrome (escrow reminder due; none on the guest page).
- Fixture correction: the release C cases had invented page titles; the cases now carry the handlers'
real titles (and the wizard pages their real page name), and those 12 fixtures were RE-CAPTURED from
the unconverted templates at 0555091. The diff to the old fixtures is the <title> line (and the nav
highlight on the two wizard pages) only.
- i18n gate: HU_FORMAL_CEILING 12 -> 16 — four more „ön" forms in the converted copy, unchanged by rule (R-516).
Hungarian: byte-identical (TestI18nParity against fixtures from unconverted templates).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
44 lines
1.5 KiB
HTML
44 lines
1.5 KiB
HTML
{{define "launcher_shared"}}
|
|
<!DOCTYPE html>
|
|
<html lang="{{T "layout.html_lang"}}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="robots" content="noindex, nofollow">
|
|
<title>{{T "launcher_shared.inditopult"}}</title>
|
|
<link rel="icon" type="image/svg+xml" href="/static/favicon.svg">
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
</head>
|
|
<body class="guest-body">
|
|
<main class="guest-content">
|
|
<div class="page-header">
|
|
<h2>{{T "launcher_shared.inditopult"}}</h2>
|
|
<span class="domain-badge">{{.Domain}}</span>
|
|
</div>
|
|
{{if .Apps}}
|
|
<div class="launch-grid">
|
|
{{range .Apps}}
|
|
{{if .Clickable}}
|
|
<a class="launch-cell" href="{{.Href}}" target="_blank" rel="noopener noreferrer">
|
|
{{template "launch_tile" (dict "Slug" .Slug "BrandColor" .BrandColor "DisplayName" .DisplayName "Off" false)}}
|
|
<span class="launch-name">{{.DisplayName}}</span>
|
|
</a>
|
|
{{else}}
|
|
<div class="launch-cell launch-cell--off">
|
|
{{template "launch_tile" (dict "Slug" .Slug "BrandColor" .BrandColor "DisplayName" .DisplayName "Off" true)}}
|
|
<span class="launch-name">{{.DisplayName}}</span>
|
|
<span class="launch-off-label">{{.Label}}</span>
|
|
</div>
|
|
{{end}}
|
|
{{end}}
|
|
</div>
|
|
{{else}}
|
|
<div class="empty-state">
|
|
<p>{{T "launcher_shared.jelenleg_nincs_elerheto_alkalmazas"}}</p>
|
|
</div>
|
|
{{end}}
|
|
</main>
|
|
</body>
|
|
</html>
|
|
{{end}}
|