Ver código fonte

Fix missing translation error (#56)

Per https://github.com/thoughtbot/administrate/blob/master/config/locales/administrate.en.yml#L9
Mario Zigliotto 6 anos atrás
pai
commit
a4782529e7
1 arquivos alterados com 1 adições e 1 exclusões
  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">