Explorar o código

Fix missing translation error (#56)

Per https://github.com/thoughtbot/administrate/blob/master/config/locales/administrate.en.yml#L9
Mario Zigliotto %!s(int64=6) %!d(string=hai) anos
pai
achega
a4782529e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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">