From 60876ff364ea7751d1031f06a7f77f0a47ff0229 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 27 Feb 2018 19:45:33 -0300 Subject: [PATCH] cosas que faltaban --- app/views/posts/index.haml | 2 +- config/locales/en.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/posts/index.haml b/app/views/posts/index.haml index 9359223a..60b88cf0 100644 --- a/app/views/posts/index.haml +++ b/app/views/posts/index.haml @@ -46,7 +46,7 @@ %td= post.date.strftime('%F') %td= link_to t('posts.edit'), - edit_site_post_path(@site, post), + edit_site_post_path(@site, post, lang: @lang), class: 'btn btn-info' - else %h2= t('posts.none') diff --git a/config/locales/en.yml b/config/locales/en.yml index 11285d36..96043eb0 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -105,6 +105,8 @@ en: i18n: index: 'Translations' edit: 'Edit texts and translations' + edit_same: 'Edit texts in' + translate_into: '. Translate into' save: 'Save' change: 'Change' translating: