fix previous discussion message
This commit is contained in:
parent
3fa29e39d7
commit
6ae0051062
|
@ -10,7 +10,7 @@
|
||||||
<%= error_messages_for f.object %>
|
<%= error_messages_for f.object %>
|
||||||
<% elsif !f.object.errors.any? && f.object.already_posted_story %>
|
<% elsif !f.object.errors.any? && f.object.already_posted_story %>
|
||||||
<div class="flash-notice">
|
<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>
|
<p>
|
||||||
<%= raw(t('.previousexpireddiscussion', :storypath => "#{f.object.already_posted_story.comments_path}")) %>
|
<%= raw(t('.previousexpireddiscussion', :storypath => "#{f.object.already_posted_story.comments_path}")) %>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -293,7 +293,7 @@ en:
|
||||||
alreadysubmitted: "Error: This story was already submitted "
|
alreadysubmitted: "Error: This story was already submitted "
|
||||||
alreadysubmittedflash: "Note: This story was already submitted %{timeago} but may be submitted again."
|
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."
|
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"
|
fetchtitle: "Fetch Title"
|
||||||
url: "URL:"
|
url: "URL:"
|
||||||
title: "Title:"
|
title: "Title:"
|
||||||
|
|
|
@ -303,7 +303,7 @@ fr:
|
||||||
alreadysubmitted: "Erreur : Cette info a déjà été proposée "
|
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."
|
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."
|
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"
|
fetchtitle: "Prendre le titre"
|
||||||
url: "URL :"
|
url: "URL :"
|
||||||
title: "Titre :"
|
title: "Titre :"
|
||||||
|
|
Loading…
Reference in a new issue