Add recording count to room delete (#501)

This commit is contained in:
shawn-higgins1 2019-05-07 09:07:16 -04:00 committed by Jesus Federico
parent 91760d284b
commit f6dd3d34eb
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
</div>
<div class="card-footer">
<p><%= t("modal.delete_room.warning").html_safe %></p>
<p><%= t("modal.delete_room.warning", recordings_num: room.recordings.length).html_safe %> </p>
</div>
</div>
</div>

View File

@ -182,7 +182,7 @@ en:
confirm: Are you sure you want to delete %{room}?
delete: I'm sure, delete this room.
keep: On second thought, I'll keep it.
warning: You will <b>not</b> be able to recover this room or any of its associated recordings.
warning: You will <b>not</b> be able to recover this room or any of its %{recordings_num} associated recordings.
login:
or: or
with: Sign in with %{provider}