Browse Source

Fix missing translation error (#56)

Per https://github.com/thoughtbot/administrate/blob/master/config/locales/administrate.en.yml#L9
Mario Zigliotto 6 years ago
parent
commit
a4782529e7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/views/admin/users/show.html.erb

+ 1 - 1
app/views/admin/users/show.html.erb

@@ -16,7 +16,7 @@ as well as a link to its edit page.
 [1]: http://www.rubydoc.info/gems/administrate/Administrate/Page/Show
 %>
 
-<% content_for(:title) { "#{t("administrate.actions.show")} #{page.page_title}" } %>
+<% content_for(:title) { t("administrate.actions.show_resource", {name: page.page_title}) } %>
 
 <header class="main-content__header" role="banner">
   <h1 class="main-content__page-title">