Extract stats translations

This commit is contained in:
Claudio Ortolina
2024-10-21 11:37:13 +01:00
parent 481c9673d0
commit 685be03ccf
3 changed files with 14 additions and 3 deletions
@@ -16,7 +16,7 @@ defmodule MusicLibraryWeb.StatsController do
latest_record = Records.get_latest_record!()
conn
|> assign(:page_title, "Stats")
|> assign(:page_title, gettext("Stats"))
|> render(:index,
records_count_by_format: records_count_by_format,
records_count_by_type: records_count_by_type,