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: