Use built-in form sumbit translation keys for redactions

This commit is contained in:
Andy Allan 2019-06-12 16:08:20 +02:00
parent 97ff32f528
commit cf0b6403aa
3 changed files with 5 additions and 4 deletions

View file

@ -16,6 +16,6 @@
<%= richtext_area :redaction, :description, :cols => 80, :rows => 20, :format => @redaction.description_format %>
</p>
<p>
<%= f.submit t(".submit") %>
<%= f.submit %>
</p>
<% end %>

View file

@ -15,6 +15,6 @@
<%= richtext_area :redaction, :description, :cols => 80, :rows => 20, :format => @redaction.description_format %>
</p>
<p>
<%= f.submit t(".submit") %>
<%= f.submit %>
</p>
<% end %>

View file

@ -10,6 +10,9 @@ en:
diary_entry:
create: "Publish"
update: "Update"
redaction:
create: Create redaction
update: Save redaction
user_block:
create: Create block
update: Update block
@ -2573,7 +2576,6 @@ en:
edit:
description: "Description"
heading: "Edit redaction"
submit: "Save redaction"
title: "Edit redaction"
index:
empty: "No redactions to show."
@ -2582,7 +2584,6 @@ en:
new:
description: "Description"
heading: "Enter information for new redaction"
submit: "Create redaction"
title: "Creating new redaction"
show:
description: "Description:"