missing i18n for dragons
This commit is contained in:
parent
0f7a901a55
commit
1ac81cbe2a
|
@ -176,7 +176,7 @@ class Comment < ActiveRecord::Base
|
||||||
m = Moderation.new
|
m = Moderation.new
|
||||||
m.comment_id = self.id
|
m.comment_id = self.id
|
||||||
m.moderator_user_id = user.id
|
m.moderator_user_id = user.id
|
||||||
m.action = "turned into a dragon"
|
m.action = I18n.t('models.comment.turnedintodragon')
|
||||||
m.save
|
m.save
|
||||||
|
|
||||||
self.save(:validate => false)
|
self.save(:validate => false)
|
||||||
|
@ -191,7 +191,7 @@ class Comment < ActiveRecord::Base
|
||||||
m = Moderation.new
|
m = Moderation.new
|
||||||
m.comment_id = self.id
|
m.comment_id = self.id
|
||||||
m.moderator_user_id = user.id
|
m.moderator_user_id = user.id
|
||||||
m.action = "slayed dragon"
|
m.action = I18n.t('models.comment.slayeddragon')
|
||||||
m.save
|
m.save
|
||||||
|
|
||||||
self.save(:validate => false)
|
self.save(:validate => false)
|
||||||
|
|
|
@ -20,6 +20,8 @@ en:
|
||||||
storyidcannotbeblank: "A story ID cannot be blank."
|
storyidcannotbeblank: "A story ID cannot be blank."
|
||||||
deletedcomment: "deleted comment"
|
deletedcomment: "deleted comment"
|
||||||
threadremovedby: "Thread removed by moderator %{modoname} : %{modreason}"
|
threadremovedby: "Thread removed by moderator %{modoname} : %{modreason}"
|
||||||
|
turnedintodragon: "turned into a dragon"
|
||||||
|
slayeddragon: "slayed dragon"
|
||||||
moderation:
|
moderation:
|
||||||
storyeditedby: "Your story has been edited by "
|
storyeditedby: "Your story has been edited by "
|
||||||
usersuggestions: "user suggestions"
|
usersuggestions: "user suggestions"
|
||||||
|
|
|
@ -32,6 +32,8 @@ fr:
|
||||||
storyidcannotbeblank: "Un ID d'info ne peut pas être vide."
|
storyidcannotbeblank: "Un ID d'info ne peut pas être vide."
|
||||||
deletedcomment: "commentaire supprimé"
|
deletedcomment: "commentaire supprimé"
|
||||||
threadremovedby: "Fil supprimé par le modérateur %{modoname} : %{modreason}"
|
threadremovedby: "Fil supprimé par le modérateur %{modoname} : %{modreason}"
|
||||||
|
turnedintodragon: "transformé en dragon"
|
||||||
|
slayeddragon: "le dragon a été terrassé"
|
||||||
moderation:
|
moderation:
|
||||||
storyeditedby: "Votre info a été éditée par "
|
storyeditedby: "Votre info a été éditée par "
|
||||||
usersuggestions: "suggestions d'utilisateur"
|
usersuggestions: "suggestions d'utilisateur"
|
||||||
|
|
Loading…
Reference in a new issue