Completa i18n IT/EN/FR/DE/ES su sito pubblico, area autenticata e admin.

Tutte le view marketing, legali, viewer, dashboard e admin usano t(); mailer utente-facing e flash localizzati; admin con LocaleResolver e selettore lingua.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-24 00:38:50 +02:00
co-authored by Cursor
parent fb7068f86c
commit b88f44ab1c
158 changed files with 9444 additions and 1536 deletions
@@ -1,26 +1,26 @@
<% content_for :title, "Nuova password — Match Live TV" %>
<% content_for :title, t("auth.password_reset.meta_title") %>
<% content_for :robots, "noindex, nofollow" %>
<section class="auth-page">
<h1>Scegli una nuova password</h1>
<h1><%= t("auth.password_reset.title") %></h1>
<div class="card">
<%= form_with url: public_password_reset_path, method: :patch, local: true do %>
<%= hidden_field_tag :token, @token %>
<%= render "shared/input_toggle",
name: :password,
label: "Nuova password (min. 8 caratteri)",
label: t("auth.password_reset.new_password_label"),
input_type: "text",
required: true,
minlength: 8,
autocomplete: "new-password" %>
<%= render "shared/input_toggle",
name: :password_confirmation,
label: "Conferma password",
label: t("auth.password_confirmation"),
input_type: "text",
required: true,
autocomplete: "new-password" %>
<%= submit_tag "Salva password", class: "btn btn-primary" %>
<%= submit_tag t("auth.password_reset.submit"), class: "btn btn-primary" %>
<% end %>
<p class="auth-footer"><%= link_to "Torna al login", public_login_path %></p>
<p class="auth-footer"><%= link_to t("auth.password_reset.back_to_login"), public_login_path %></p>
</div>
</section>