From c527515d4a8dac3451a27b8dc44fc7867f02c7bf Mon Sep 17 00:00:00 2001 From: Lee Lawlor Date: Thu, 16 Oct 2014 13:02:32 -0400 Subject: [PATCH] update internationalizations --- app/views/channels/_edit.html.erb | 4 ++-- app/views/channels/index.html.erb | 2 +- app/views/plugins/edit.html.erb | 4 ++-- app/views/plugins/index.html.erb | 2 +- app/views/plugins/new.html.erb | 4 ++-- config/locales/en.yml | 31 +++++++------------------------ 6 files changed, 15 insertions(+), 32 deletions(-) diff --git a/app/views/channels/_edit.html.erb b/app/views/channels/_edit.html.erb index 6de1270..a2ffc79 100644 --- a/app/views/channels/_edit.html.erb +++ b/app/views/channels/_edit.html.erb @@ -103,7 +103,7 @@ - <%= c.submit t(:channel_update), class: 'btn btn-primary' %> + <%= c.submit t(:save_model, model: 'Channel'), class: 'btn btn-primary' %> <% end %> @@ -116,7 +116,7 @@

<%= t(:channel_delete_message) %>

- <%= button_to t(:channel_delete), channel_path(@channel.id), :method => 'delete', :data => { :confirm => t(:confirm_channel_delete) }, class: 'btn btn-danger' %> + <%= button_to t(:delete_model, model: 'Channel'), channel_path(@channel.id), :method => 'delete', :data => { :confirm => t(:confirm_channel_delete) }, class: 'btn btn-danger' %>