fix previous discussion message
This commit is contained in:
parent
3fa29e39d7
commit
6ae0051062
|
@ -10,7 +10,7 @@
|
|||
<%= error_messages_for f.object %>
|
||||
<% elsif !f.object.errors.any? && f.object.already_posted_story %>
|
||||
<div class="flash-notice">
|
||||
<h2><%= t('.alreadysubmittedflash', :timeago => "{time_ago_in_words(f.object.already_posted_story.created_at)}") %></h2>
|
||||
<h2><%= t('.alreadysubmittedflash', :timeago => "#{time_ago_in_words(f.object.already_posted_story.created_at)}") %></h2>
|
||||
<p>
|
||||
<%= raw(t('.previousexpireddiscussion', :storypath => "#{f.object.already_posted_story.comments_path}")) %>
|
||||
</p>
|
||||
|
|
|
@ -293,7 +293,7 @@ en:
|
|||
alreadysubmitted: "Error: This story was already submitted "
|
||||
alreadysubmittedflash: "Note: This story was already submitted %{timeago} but may be submitted again."
|
||||
previousdiscussion: "Please view the <a href=\"%{storypath}\" target=\"_blank\">previous discussion</a> for this story."
|
||||
previousexpireddiscution: "Please view the <a href=\"%{storypath}\" \"target=_blank\">previous discussion</a> for this story first. If the content has changed or warrants new discussion, you may submit it again."
|
||||
previousexpireddiscussion: "Please view the <a href=\"%{storypath}\" \"target=_blank\">previous discussion</a> for this story first. If the content has changed or warrants new discussion, you may submit it again."
|
||||
fetchtitle: "Fetch Title"
|
||||
url: "URL:"
|
||||
title: "Title:"
|
||||
|
|
|
@ -303,7 +303,7 @@ fr:
|
|||
alreadysubmitted: "Erreur : Cette info a déjà été proposée "
|
||||
alreadysubmittedflash: "Note: Cette info a déjà été proposée %{timeago} mais peut être de nouveau reproposée."
|
||||
previousdiscussion: "Merci de consulter <a href=\"%{storypath}\" target=\"_blank\"> la discussion précédente</a> pour cette info."
|
||||
previousexpireddiscution: "Merci de consulter <a href=\"%{storypath}\" \"target=_blank\">la discussion précédente</a> pour la première proposition de cette info. Si le contenu a changé ou génère de nouvelles discussions, vous pouvez la proposer de nouveau."
|
||||
previousexpireddiscussion: "Merci de consulter <a href=\"%{storypath}\" \"target=_blank\">la discussion précédente</a> pour la première proposition de cette info. Si le contenu a changé ou génère de nouvelles discussions, vous pouvez la proposer de nouveau."
|
||||
fetchtitle: "Prendre le titre"
|
||||
url: "URL :"
|
||||
title: "Titre :"
|
||||
|
|
Loading…
Reference in a new issue