From 6db0f3b97b02ffab9ffc651c31c09e3c83670e7b Mon Sep 17 00:00:00 2001 From: f Date: Mon, 13 Apr 2020 18:01:45 -0300 Subject: [PATCH] traducir layout en la tabla de articulos tambien --- app/views/posts/index.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index ee8355a6..5242a340 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -52,7 +52,7 @@ value: @posts.length - i, class: 'reorder' %td %small - = link_to post.layout.name.to_s.humanize, + = link_to @site.i18n.dig('layouts', layout.to_s) || layout.to_s.humanize, site_posts_path(@site, layout: post.layout.name) %br/ = link_to post.title.value,