Fixed public recording strings (#2789)

This commit is contained in:
Ahmad Farhat 2021-06-18 14:59:00 -04:00 committed by GitHub
parent e54208f710
commit 0f12eaa885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -77,7 +77,7 @@
<tbody id="recording-table">
<tr id="no_recordings_found" style="display: none;">
<td colspan="7" class="text-center h4 p-6 font-weight-normal" >
<%= 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") %>
</td>
</tr>
<% 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 %>
</td>
</tr>

View File

@ -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