Skip to content

Commit

Permalink
GRN2-xx: Fixed translation location for room status (#1378)
Browse files Browse the repository at this point in the history
* Fixed translation location for room status

* Added more missing translations
  • Loading branch information
farhatahmad committed Apr 28, 2020
1 parent aeaa1e7 commit b08b1ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/admins/components/_server_room_row.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
<td class="text-left">
<% running = room_is_running(room.bbb_id) %>
<% if running %>
<%= t("administrator.rooms.running") %>
<%= t("administrator.rooms.table.running") %>
<% else %>
<%= t("administrator.rooms.not_running") %>
<%= t("administrator.rooms.table.not_running") %>
<% end %>
</td>
<td class="text-center">
Expand All @@ -48,7 +48,7 @@
</a>
<div class="dropdown-menu dropdown-menu-right">
<%= link_to room_path(room), class: "dropdown-item" do %>
<i class="dropdown-icon far fa-eye"></i> <%= t("administrator.rooms.view") %>
<i class="dropdown-icon far fa-eye"></i> <%= t("administrator.rooms.table.view") %>
<% end %>
<%= button_to start_room_path(room), class: "dropdown-item", "data-disable": "" do %>
<i class="dropdown-icon fas fa-door-open"></i> <%= running ? t("room.join") : t("room.start") %>
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ en:
delete: Delete
edit: Edit
edit_roles: Edit the user roles
merge: Merge
perm_delete: Permanently Delete
unban: Unban User
undelete: Undelete
Expand Down

0 comments on commit b08b1ff

Please sign in to comment.