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
@@ -42,7 +42,7 @@ module Public
def download
unless download_allowed?
redirect_to public_replay_path(@session), alert: "Download non disponibile"
redirect_to public_replay_path(@session), alert: t("flash.replay.download_unavailable")
return
end
@@ -105,13 +105,13 @@ module Public
@recording = Recording.not_deleted.find_by(stream_session: @session)
return if @recording
redirect_to public_live_path(@session), alert: "Replay non disponibile"
redirect_to public_live_path(@session), alert: t("flash.replay.not_available")
end
def authorize_replay_access!
return if Recordings::AccessPolicy.new(@recording, viewer: current_user).allowed?
redirect_to public_live_index_path, alert: "Replay non disponibile"
redirect_to public_live_index_path, alert: t("flash.replay.not_available")
end
end
end