<%= error_messages_for "diary_comment" %>
- <%= form_for :diary_comment, :url => { :action => "comment" } do |f| %>
+ <%= form_for @entry.comments.new, :url => { :action => "comment" } do |f| %>
<%= richtext_area :diary_comment, :body, :cols => 80, :rows => 15 %>
- <%= submit_tag t(".save_button") %>
+ <%= f.submit %>
<% end %>
<% if @entry.subscribers.exists?(current_user.id) %>
<div class="diary-subscribe-buttons"><%= link_to t("javascripts.changesets.show.unsubscribe"), diary_entry_unsubscribe_path(:display_name => @entry.user.display_name, :id => @entry.id), :method => :post, :class => :button %></div>
blog: "%e %B %Y"
helpers:
submit:
+ diary_comment:
+ create: Save
diary_entry:
create: "Publish"
update: "Update"
+ issue_comment:
+ create: Add Comment
+ message:
+ create: Send
+ client_application:
+ create: Register
+ update: Edit
+ redaction:
+ create: Create redaction
+ update: Save redaction
+ trace:
+ create: Upload
+ update: Save Changes
+ user_block:
+ create: Create block
+ update: Update block
activerecord:
errors:
messages:
leave_a_comment: "Leave a comment"
login_to_leave_a_comment: "%{login_link} to leave a comment"
login: "Login"
- save_button: "Save"
no_such_entry:
title: "No such diary entry"
heading: "No entry with the id: %{id}"
send_message_to: "Send a new message to %{name}"
subject: "Subject"
body: "Body"
- send_button: "Send"
back_to_inbox: "Back to inbox"
create:
message_sent: "Message sent"
visibility: "Visibility:"
visibility_help: "what does this mean?"
visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
- upload_button: "Upload"
help: "Help"
help_url: "https://wiki.openstreetmap.org/wiki/Upload"
create:
description: "Description:"
tags: "Tags:"
tags_help: "comma delimited"
- save_button: "Save Changes"
visibility: "Visibility:"
visibility_help: "what does this mean?"
visibility_help_url: "https://wiki.openstreetmap.org/wiki/Visibility_of_GPS_traces"
oauth_clients:
new:
title: "Register a new application"
- submit: "Register"
edit:
title: "Edit your application"
- submit: "Edit"
show:
title: "OAuth details for %{app_name}"
key: "Consumer Key:"
heading: "Creating block on %{name}"
reason: "The reason why %{name} is being blocked. Please be as calm and as reasonable as possible, giving as much detail as you can about the situation, remembering that the message will be publicly visible. Bear in mind that not all users understand the community jargon, so please try to use laymans terms."
period: "How long, starting now, the user will be blocked from the API for."
- submit: "Create block"
tried_contacting: "I have contacted the user and asked them to stop."
tried_waiting: "I have given a reasonable amount of time for the user to respond to those communications."
needs_view: "User needs to log in before this block will be cleared"
heading: "Editing block on %{name}"
reason: "The reason why %{name} is being blocked. Please be as calm and as reasonable as possible, giving as much detail as you can about the situation. Bear in mind that not all users understand the community jargon, so please try to use laymans terms."
period: "How long, starting now, the user will be blocked from the API for."
- submit: "Update block"
show: "View this block"
back: "View all blocks"
needs_view: "Does the user need to log in before this block will be cleared?"
edit:
description: "Description"
heading: "Edit redaction"
- submit: "Save redaction"
title: "Edit redaction"
index:
empty: "No redactions to show."
new:
description: "Description"
heading: "Enter information for new redaction"
- submit: "Create redaction"
title: "Creating new redaction"
show:
description: "Description:"