diff --git a/app/views/shared/_sessions.html.erb b/app/views/shared/_sessions.html.erb index cba1fb27..c7a9e242 100644 --- a/app/views/shared/_sessions.html.erb +++ b/app/views/shared/_sessions.html.erb @@ -77,7 +77,7 @@ - <%= t("recording.no_matched_recordings", inject: only_public ? t("recording.visibility.public").downcase + " " : "") %> + <%= only_public ? t("recording.no_matched_pub_recordings") : t("recording.no_matched_recordings") %> <% if recordings.empty? %> @@ -86,7 +86,7 @@ <% if user_recordings %> <%= t("recording.no_user_recordings") %> <% else %> - <%= t("recording.no_recordings", inject: only_public ? t("recording.visibility.public").downcase + " " : "") %> + <%= only_public ? t("recording.no_public_recordings") : t("recording.no_recordings") %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index b6fb72af..da320a4d 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -498,9 +498,11 @@ en: all_recordings: All Recordings email: Email Recording error: There was an error retrieving %{count} recording(s) - no_recordings: This room has no %{inject}recordings. + no_public_recordings: This room has no public recordings. + no_recordings: This room has no recordings. no_user_recordings: You currently have no recordings. - no_matched_recordings: No %{inject} recordings match your search. + no_matched_pub_recordings: No public recordings match your search. + no_matched_recordings: No recordings match your search. recorded_on: Recorded on %{date} table: name: Name