From 8c0b1f91a625f974e7f96463eb43ca3314f979d9 Mon Sep 17 00:00:00 2001 From: Miguel Michelson Date: Sun, 13 Aug 2023 19:32:30 -0400 Subject: [PATCH] pending state --- app/views/tracks/show.html.erb | 4 +--- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/tracks/show.html.erb b/app/views/tracks/show.html.erb index 25ddd50..b011e1c 100644 --- a/app/views/tracks/show.html.erb +++ b/app/views/tracks/show.html.erb @@ -129,9 +129,7 @@ />

- <%= gettext("Hold on, this track is in %{state} state", - state: @track.state || "pending" - ) %> + <%= t("tracks.pending_state_message", state: @track.state || "pending" ) %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index 1492b49..34066ab 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -94,6 +94,7 @@ en: public_label: Public public_hint: Public access to everyone + pending_state_message: "Hold on, this track is in %{state} state" home: artists: Artists you should know