fix previous discussion message

This commit is contained in:
Carl Chenet 2017-02-08 08:03:08 +01:00
parent 3fa29e39d7
commit 6ae0051062
3 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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:"

View file

@ -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 :"