muck-comments 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -1
- data/VERSION +1 -1
- data/app/helpers/muck_comments_helper.rb +3 -2
- data/app/models/comment_mailer.rb +29 -0
- data/app/views/comment_mailer/new_comment.text.html.erb +6 -0
- data/app/views/comment_mailer/new_comment.text.plain.erb +7 -0
- data/app/views/comments/_form.html.erb +1 -1
- data/lib/active_record/acts/muck_comment.rb +7 -2
- data/locales/ar.yml +9 -7
- data/locales/bg.yml +7 -5
- data/locales/ca.yml +7 -5
- data/locales/cs.yml +8 -6
- data/locales/da.yml +6 -4
- data/locales/de.yml +8 -6
- data/locales/el.yml +10 -8
- data/locales/en.yml +2 -0
- data/locales/es.yml +8 -6
- data/locales/et.yml +5 -3
- data/locales/fa.yml +7 -5
- data/locales/fi.yml +8 -6
- data/locales/fr.yml +8 -6
- data/locales/gl.yml +6 -4
- data/locales/hi.yml +7 -5
- data/locales/hr.yml +7 -5
- data/locales/hu.yml +12 -10
- data/locales/id.yml +7 -5
- data/locales/it.yml +6 -4
- data/locales/iw.yml +10 -8
- data/locales/ja.yml +8 -6
- data/locales/ko.yml +12 -10
- data/locales/lt.yml +4 -2
- data/locales/lv.yml +8 -6
- data/locales/mt.yml +9 -7
- data/locales/nl.yml +9 -7
- data/locales/no.yml +5 -3
- data/locales/pl.yml +9 -7
- data/locales/pt-PT.yml +8 -6
- data/locales/ro.yml +9 -7
- data/locales/ru.yml +7 -5
- data/locales/sk.yml +9 -7
- data/locales/sl.yml +8 -6
- data/locales/sq.yml +9 -7
- data/locales/sr.yml +10 -8
- data/locales/sv.yml +9 -7
- data/locales/th.yml +8 -6
- data/locales/tl.yml +6 -4
- data/locales/tr.yml +8 -6
- data/locales/uk.yml +7 -5
- data/locales/vi.yml +12 -10
- data/locales/zh-CN.yml +6 -4
- data/locales/zh-TW.yml +6 -4
- data/locales/zh.yml +6 -4
- data/muck-comments.gemspec +9 -5
- data/test/rails_root/config/global_config.yml +3 -0
- data/test/rails_root/test/unit/comment_mailer_test.rb +26 -0
- metadata +11 -4
data/README.rdoc
CHANGED
@@ -61,6 +61,13 @@ Then you will be able to do this to get a comment count:
|
|
61
61
|
|
62
62
|
@blog.comment_count
|
63
63
|
|
64
|
+
=== Configuration
|
65
|
+
Add the following to globalconfig.yml:
|
66
|
+
send_email_for_new_comments: true
|
67
|
+
|
68
|
+
This will send out an email to each user that has participated in a comment thread. The default email is basic and only includes the body
|
69
|
+
of the comment. Add new email views to provide a better email for you users. They can be found in app/views/comment_mailer/new_comment.text.html.erb
|
70
|
+
and app/views/comment_mailer/new_comment.text.plain.erb
|
64
71
|
|
65
72
|
=== Comment partial
|
66
73
|
When calling create in the comments controller with :format => 'json' the resulting json will include an 'html' field that contains
|
@@ -76,4 +83,4 @@ For example, for an object 'activity' that acts_as_commentable create a partial
|
|
76
83
|
|
77
84
|
|
78
85
|
|
79
|
-
Copyright (c) 2009
|
86
|
+
Copyright (c) 2009 Tatemai, released under the MIT license
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.10
|
@@ -6,10 +6,11 @@ module MuckCommentsHelper
|
|
6
6
|
|
7
7
|
# parent is the object to which the comments will be attached
|
8
8
|
# comment is the optional parent comment for the new comment.
|
9
|
-
def comment_form(parent, comment = nil, render_new = false)
|
9
|
+
def comment_form(parent, comment = nil, render_new = false, comment_button_class = 'comment-submit')
|
10
10
|
render :partial => 'comments/form', :locals => {:parent => parent,
|
11
11
|
:comment => comment,
|
12
|
-
:render_new => render_new
|
12
|
+
:render_new => render_new,
|
13
|
+
:comment_button_class => comment_button_class}
|
13
14
|
end
|
14
15
|
|
15
16
|
# make_muck_parent_params is defined in muck-engine and used by many of the engines.
|
@@ -0,0 +1,29 @@
|
|
1
|
+
class CommentMailer < ActionMailer::Base
|
2
|
+
unloadable
|
3
|
+
layout 'email_default'
|
4
|
+
default_url_options[:host] = GlobalConfig.application_url
|
5
|
+
|
6
|
+
def new_comment(comment)
|
7
|
+
if comment.user
|
8
|
+
display_name = comment.user.display_name
|
9
|
+
else
|
10
|
+
display_name = I18n.t('muck.comment.anonymous')
|
11
|
+
end
|
12
|
+
recipients emails_for_comment(comment)
|
13
|
+
from "#{GlobalConfig.from_email_name} <#{GlobalConfig.from_email}>"
|
14
|
+
sent_on Time.now
|
15
|
+
content_type "text/html" # There is a bug in Rails that prevents multipart emails from working inside an engine. See: https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2263-rails-232-breaks-implicit-multipart-actionmailer-tests#ticket-2263-22
|
16
|
+
subject I18n.t('muck.comments.new_comment_email_subject', :name => display_name, :application_name => GlobalConfig.application_name)
|
17
|
+
body :comment => comment, :display_name => display_name
|
18
|
+
end
|
19
|
+
|
20
|
+
protected
|
21
|
+
def emails_for_comment(comment)
|
22
|
+
emails = []
|
23
|
+
comment.root.self_and_descendants.each do |c|
|
24
|
+
emails << c.user.email unless emails.include?(c.user.email) if c.user
|
25
|
+
end
|
26
|
+
emails
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
@@ -3,6 +3,6 @@
|
|
3
3
|
<%= f.text_area :body, :class => 'min' %>
|
4
4
|
<%= hidden_field_tag :parent_comment_id, comment.id unless comment.blank? -%>
|
5
5
|
<%= hidden_field_tag :render_new, render_new -%>
|
6
|
-
<%= f.submit t('muck.comments.add_comment_button'), :class => "button
|
6
|
+
<%= f.submit t('muck.comments.add_comment_button'), :class => "button #{comment_button_class}", :id => "comment_submit_#{parent.dom_id}" %>
|
7
7
|
<% end -%>
|
8
8
|
</div>
|
@@ -12,7 +12,7 @@ module ActiveRecord
|
|
12
12
|
acts_as_nested_set :scope => [:commentable_id, :commentable_type]
|
13
13
|
validates_presence_of :body
|
14
14
|
belongs_to :user
|
15
|
-
belongs_to :commentable, :counter_cache => 'comment_count', :polymorphic => true
|
15
|
+
belongs_to :commentable, :counter_cache => 'comment_count', :polymorphic => true, :touch => true
|
16
16
|
|
17
17
|
named_scope :by_newest, :order => "created_at DESC"
|
18
18
|
named_scope :by_oldest, :order => "created_at ASC"
|
@@ -60,7 +60,12 @@ module ActiveRecord
|
|
60
60
|
|
61
61
|
# All the methods available to a record that has had <tt>acts_as_muck_comment</tt> specified.
|
62
62
|
module InstanceMethods
|
63
|
-
|
63
|
+
|
64
|
+
# Send an email to everyone in the thread
|
65
|
+
def after_create
|
66
|
+
CommentMailer.deliver_new_comment(self) if GlobalConfig.send_email_for_new_comments
|
67
|
+
end
|
68
|
+
|
64
69
|
#helper method to check if a comment has children
|
65
70
|
def has_children?
|
66
71
|
self.children.size > 0
|
data/locales/ar.yml
CHANGED
@@ -5,12 +5,14 @@ ar:
|
|
5
5
|
comment: تعليقات
|
6
6
|
comments:
|
7
7
|
add_comment: التعليق
|
8
|
-
add_comment_button:
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
8
|
+
add_comment_button: التعليق
|
9
|
+
anonymous: المجهول
|
10
|
+
cant_delete_comment: "ليس لديك الإذن لحذف هذا التعليق"
|
11
|
+
comment_removed: "تعليق إزالتها بنجاح."
|
12
|
+
create_error: "لا يمكن إنشاء {{errors}}تعليق"
|
13
|
+
create_success: "وأضاف التعليق بنجاح"
|
14
|
+
missing_comment_template_error: "تعذر العثور على الجزئي المسمى {{partial}}. الرجاء إنشاء التعليق الجزئي وحاول مرة أخرى."
|
15
|
+
new_comment_email_subject: "التعليق الجديد من {{name}}على {{application_name}}"
|
14
16
|
new_comment_no_title: "إضافة تعليق جديد"
|
15
17
|
new_comment_with_title: "إضافة تعليق جديد ل{{title}}"
|
16
|
-
problem_adding_comment: "هناك مشكلة
|
18
|
+
problem_adding_comment: "كانت هناك مشكلة مضيفا تعليقك"
|
data/locales/bg.yml
CHANGED
@@ -6,11 +6,13 @@ bg:
|
|
6
6
|
comments:
|
7
7
|
add_comment: Коментар
|
8
8
|
add_comment_button: "Добави коментар"
|
9
|
-
|
9
|
+
anonymous: Анонимен
|
10
|
+
cant_delete_comment: "Вие нямате право да изтриете този коментар"
|
10
11
|
comment_removed: "Коментар успешно премахнат."
|
11
|
-
create_error: "Не може да
|
12
|
+
create_error: "Не може да създаде {{errors}} коментар"
|
12
13
|
create_success: "Успешно добави коментар"
|
13
|
-
missing_comment_template_error: "Не
|
14
|
+
missing_comment_template_error: "Не можах да намеря частично име {{partial}}. Моля, създайте коментар частично и опитайте отново."
|
15
|
+
new_comment_email_subject: "Нов коментар от {{name}} на {{application_name}}"
|
14
16
|
new_comment_no_title: "Добавяне на нов коментар"
|
15
|
-
new_comment_with_title: "Добавяне на нов коментар {{title}}"
|
16
|
-
problem_adding_comment: "Имаше проблем при
|
17
|
+
new_comment_with_title: "Добавяне на нов коментар към {{title}}"
|
18
|
+
problem_adding_comment: "Имаше проблем при добавяне на коментар"
|
data/locales/ca.yml
CHANGED
@@ -6,11 +6,13 @@ ca:
|
|
6
6
|
comments:
|
7
7
|
add_comment: Comentari
|
8
8
|
add_comment_button: "Afegir comentari"
|
9
|
+
anonymous: Anònim
|
9
10
|
cant_delete_comment: "Vostè no té permís per eliminar aquest comentari"
|
10
11
|
comment_removed: "Comentari eliminat amb èxit."
|
11
|
-
create_error: "No
|
12
|
-
create_success: "
|
13
|
-
missing_comment_template_error: "No
|
12
|
+
create_error: "No s'ha pogut crear l'{{errors}} comentari"
|
13
|
+
create_success: "Ha afegit un comentari"
|
14
|
+
missing_comment_template_error: "No s'ha pogut trobar un nom parcial {{partial}}. Si us plau, creeu un comentari parcial i torni a intentar-ho."
|
15
|
+
new_comment_email_subject: "Nou Comentari de {{name}} a {{application_name}}"
|
14
16
|
new_comment_no_title: "Afegeix un comentari nou"
|
15
|
-
new_comment_with_title: "Afegir un nou comentari a {{title}}"
|
16
|
-
problem_adding_comment: "Hi
|
17
|
+
new_comment_with_title: "Afegir un nou comentari a l'{{title}}"
|
18
|
+
problem_adding_comment: "Hi va haver un problema en afegir el seu comentari"
|
data/locales/cs.yml
CHANGED
@@ -2,15 +2,17 @@
|
|
2
2
|
cs:
|
3
3
|
muck:
|
4
4
|
activity_templates:
|
5
|
-
comment:
|
5
|
+
comment: "Komentář:"
|
6
6
|
comments:
|
7
7
|
add_comment: Komentář
|
8
8
|
add_comment_button: "Přidat komentář"
|
9
|
-
|
10
|
-
|
9
|
+
anonymous: anonymní
|
10
|
+
cant_delete_comment: "Nemáte dostatečná oprávnění k odstranění, že komentář"
|
11
|
+
comment_removed: "Komentář úspěšně odstraněn."
|
11
12
|
create_error: "Nelze vytvořit komentář {{errors}}"
|
12
13
|
create_success: "Úspěšně přidán komentář"
|
13
|
-
missing_comment_template_error: "
|
14
|
+
missing_comment_template_error: "Nepodařilo se najít částečnou názvem {{partial}}. Prosím vytvořte komentář dílčí a zkuste to znovu."
|
15
|
+
new_comment_email_subject: "Nový komentář od {{name}} na {{application_name}}"
|
14
16
|
new_comment_no_title: "Přidat nový komentář"
|
15
|
-
new_comment_with_title: "Přidat nový komentář
|
16
|
-
problem_adding_comment: "
|
17
|
+
new_comment_with_title: "Přidat nový komentář {{title}}"
|
18
|
+
problem_adding_comment: "Tam byl problém přidat svůj komentář"
|
data/locales/da.yml
CHANGED
@@ -6,11 +6,13 @@ da:
|
|
6
6
|
comments:
|
7
7
|
add_comment: Kommentar
|
8
8
|
add_comment_button: "Add Comment"
|
9
|
-
|
9
|
+
anonymous: anonym
|
10
|
+
cant_delete_comment: "Du har ikke tilladelse til at slette den kommentar"
|
10
11
|
comment_removed: "Kommentar held fjernet."
|
11
|
-
create_error: "Kunne ikke oprette
|
12
|
-
create_success: "
|
13
|
-
missing_comment_template_error: "Kunne ikke finde en delvis opkaldt {{partial}}. Opret venligst en kommentar delvis
|
12
|
+
create_error: "Kunne ikke oprette kommentar {{errors}}"
|
13
|
+
create_success: "Blevet tilføjet kommentar"
|
14
|
+
missing_comment_template_error: "Kunne ikke finde en delvis opkaldt {{partial}}. Opret venligst en kommentar delvis og prøv igen."
|
15
|
+
new_comment_email_subject: "Ny kommentar fra {{name}} på {{application_name}}"
|
14
16
|
new_comment_no_title: "Tilføj en ny kommentar"
|
15
17
|
new_comment_with_title: "Tilføj en ny kommentar til {{title}}"
|
16
18
|
problem_adding_comment: "Der var et problem at tilføje din kommentar"
|
data/locales/de.yml
CHANGED
@@ -6,11 +6,13 @@ de:
|
|
6
6
|
comments:
|
7
7
|
add_comment: Kommentar
|
8
8
|
add_comment_button: "Kommentar hinzufügen"
|
9
|
-
|
9
|
+
anonymous: anonymous
|
10
|
+
cant_delete_comment: "Sie haben keine Berechtigung, auf den Kommentar löschen"
|
10
11
|
comment_removed: "Kommentar erfolgreich entfernt."
|
11
|
-
create_error: "
|
12
|
-
create_success: "
|
13
|
-
missing_comment_template_error: "Konnte nicht gefunden werden teilweise
|
14
|
-
|
12
|
+
create_error: "Konnte nicht erstellt werden den Kommentar {{errors}}"
|
13
|
+
create_success: "Kommentar hinzugefügt"
|
14
|
+
missing_comment_template_error: "Konnte nicht gefunden werden teilweise benannt {{partial}}. Bitte erstellen Sie einen Kommentar partielle und versuchen es erneut."
|
15
|
+
new_comment_email_subject: "Neuer Kommentar von {{name}} auf {{application_name}}"
|
16
|
+
new_comment_no_title: "Fügen Sie einen neuen Beitrag"
|
15
17
|
new_comment_with_title: "Fügen Sie einen neuen Kommentar zu {{title}}"
|
16
|
-
problem_adding_comment: "Es gab ein Problem
|
18
|
+
problem_adding_comment: "Es gab ein Problem du deine Kommentar"
|
data/locales/el.yml
CHANGED
@@ -5,12 +5,14 @@ el:
|
|
5
5
|
comment: Σχόλια
|
6
6
|
comments:
|
7
7
|
add_comment: Σχόλιο
|
8
|
-
add_comment_button: "Προσθήκη
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
8
|
+
add_comment_button: "Προσθήκη σχολίου"
|
9
|
+
anonymous: ανώνυμος
|
10
|
+
cant_delete_comment: "Δεν έχετε την άδεια να διαγράψετε αυτό το σχόλιο"
|
11
|
+
comment_removed: "Σχόλιο επιτυχώς αφαιρεθεί."
|
12
|
+
create_error: "Δεν ήταν δυνατή η δημιουργία του {{errors}} σχόλιο"
|
13
|
+
create_success: "Επιτυχώς προστεθεί σχόλιο"
|
14
|
+
missing_comment_template_error: "Δεν βρήκατε μερική όνομα {{partial}}. Παρακαλώ δημιουργήστε ένα σχόλιο μερική και προσπαθήστε ξανά."
|
15
|
+
new_comment_email_subject: "Νέο σχόλιο από {{name}} για {{application_name}}"
|
16
|
+
new_comment_no_title: "Προσθέστε ένα νέο σχόλιο"
|
15
17
|
new_comment_with_title: "Προσθέστε ένα νέο σχόλιο για την {{title}}"
|
16
|
-
problem_adding_comment: "Υπήρξε πρόβλημα
|
18
|
+
problem_adding_comment: "Υπήρξε ένα πρόβλημα προσθέτοντας το σχόλιό σας"
|
data/locales/en.yml
CHANGED
@@ -11,5 +11,7 @@ en:
|
|
11
11
|
new_comment_no_title: "Add a new comment"
|
12
12
|
new_comment_with_title: "Add a new comment to {{title}}"
|
13
13
|
problem_adding_comment: "There was a problem adding your comment"
|
14
|
+
new_comment_email_subject: "New comment from {{name}} on {{application_name}}"
|
15
|
+
anonymous: anonymous
|
14
16
|
activity_templates:
|
15
17
|
comment: Comments
|
data/locales/es.yml
CHANGED
@@ -6,11 +6,13 @@ es:
|
|
6
6
|
comments:
|
7
7
|
add_comment: Comentario
|
8
8
|
add_comment_button: "Añadir comentario"
|
9
|
-
|
9
|
+
anonymous: Anónimo
|
10
|
+
cant_delete_comment: "Usted no tiene permiso para eliminar a ese comentario"
|
10
11
|
comment_removed: "Comentario eliminado con éxito."
|
11
|
-
create_error: "No
|
12
|
-
create_success: "
|
13
|
-
missing_comment_template_error: "No pudo encontrar un nombre parcial {{partial}}. Por favor, cree
|
12
|
+
create_error: "No se pudo crear el {{errors}} comentario"
|
13
|
+
create_success: "Ha agregado un comentario"
|
14
|
+
missing_comment_template_error: "No se pudo encontrar un nombre parcial {{partial}}. Por favor, cree un comentario parcial y vuelva a intentarlo."
|
15
|
+
new_comment_email_subject: "Nuevo Comentario de {{name}} en {{application_name}}"
|
14
16
|
new_comment_no_title: "Añade un comentario nuevo"
|
15
|
-
new_comment_with_title: "Añadir un nuevo comentario
|
16
|
-
problem_adding_comment: "
|
17
|
+
new_comment_with_title: "Añadir un nuevo comentario al {{title}}"
|
18
|
+
problem_adding_comment: "Hubo un problema al añadir su comentario"
|
data/locales/et.yml
CHANGED
@@ -5,12 +5,14 @@ et:
|
|
5
5
|
comment: Kommentaarid
|
6
6
|
comments:
|
7
7
|
add_comment: Kommentaar
|
8
|
-
add_comment_button: "
|
9
|
-
|
8
|
+
add_comment_button: "Lisa Kommentaar"
|
9
|
+
anonymous: anonüümne
|
10
|
+
cant_delete_comment: "Sul ei ole õigusi kustutada kommentaari"
|
10
11
|
comment_removed: "Kommentaar edukalt eemaldatud."
|
11
12
|
create_error: "Kas ei tekita kommentaar {{errors}}"
|
12
|
-
create_success: "Edukalt
|
13
|
+
create_success: "Edukalt lisatud kommentaari"
|
13
14
|
missing_comment_template_error: "Ei suutnud leida osalise nimega {{partial}}. Loo kommentaar osaline ja proovige uuesti."
|
15
|
+
new_comment_email_subject: "Uus kommentaar {{name}} kohta {{application_name}}"
|
14
16
|
new_comment_no_title: "Lisa uus kommentaar"
|
15
17
|
new_comment_with_title: "Lisa uus kommentaar {{title}}"
|
16
18
|
problem_adding_comment: "Probleem, lisades oma kommentaar"
|
data/locales/fa.yml
CHANGED
@@ -6,11 +6,13 @@ fa:
|
|
6
6
|
comments:
|
7
7
|
add_comment: نظر
|
8
8
|
add_comment_button: "اضافه کردن نظر"
|
9
|
-
|
9
|
+
anonymous: ناشناس
|
10
|
+
cant_delete_comment: "شما اجازه انجام این کار را حذف کنید که نظر ندارند"
|
10
11
|
comment_removed: "نظر با موفقیت حذف شد."
|
11
|
-
create_error: "
|
12
|
+
create_error: "امکان نظر {{errors}}ایجاد کنید"
|
12
13
|
create_success: "با موفقیت ارسال نظر"
|
13
|
-
missing_comment_template_error: "امکان دارد یک بخشی به نام {{partial}}
|
14
|
+
missing_comment_template_error: "امکان دارد یک بخشی به نام {{partial}}.پیدا نشد لطفا نظر جزئی و دوباره سعی کنید ایجاد کنید."
|
15
|
+
new_comment_email_subject: "نظر جدید از {{name}}در {{application_name}}"
|
14
16
|
new_comment_no_title: "اضافه کردن نظر جدید"
|
15
|
-
new_comment_with_title: "اضافه کردن
|
16
|
-
problem_adding_comment: "
|
17
|
+
new_comment_with_title: "اضافه کردن نظر جدید به {{title}}"
|
18
|
+
problem_adding_comment: "بود مشکل اضافه کردن نظر شما وجود دارد."
|
data/locales/fi.yml
CHANGED
@@ -4,13 +4,15 @@ fi:
|
|
4
4
|
activity_templates:
|
5
5
|
comment: Kommentit
|
6
6
|
comments:
|
7
|
-
add_comment:
|
7
|
+
add_comment: Kommentin
|
8
8
|
add_comment_button: "Lisää kommentti"
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
anonymous: nimettömiksi
|
10
|
+
cant_delete_comment: "Sinulla ei ole lupaa poistaa tuon kommentin"
|
11
|
+
comment_removed: "Kommentti poistettiin onnistuneesti."
|
12
|
+
create_error: "Ei voitu luoda kommentti {{errors}}"
|
12
13
|
create_success: "Lisätty kommentti"
|
13
|
-
missing_comment_template_error: "Ei
|
14
|
+
missing_comment_template_error: "Ei löytänyt osittain nimeltä {{partial}}. Luo kommentti osittain ja yritä uudelleen."
|
15
|
+
new_comment_email_subject: "Uusi kommentteja {{name}} on {{application_name}}"
|
14
16
|
new_comment_no_title: "Lisää uusi kommentti"
|
15
17
|
new_comment_with_title: "Lisää uusi kommentti {{title}}"
|
16
|
-
problem_adding_comment: "
|
18
|
+
problem_adding_comment: "Oli ongelma lisäämällä kommenttisi"
|
data/locales/fr.yml
CHANGED
@@ -6,11 +6,13 @@ fr:
|
|
6
6
|
comments:
|
7
7
|
add_comment: Commentaire
|
8
8
|
add_comment_button: "Ajouter un commentaire"
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
9
|
+
anonymous: Anonyme
|
10
|
+
cant_delete_comment: "Vous n'avez pas la permission de supprimer ce commentaire"
|
11
|
+
comment_removed: "Commentaire supprimé avec succès."
|
12
|
+
create_error: "Impossible de créer le {{errors}} commentaire"
|
13
|
+
create_success: "D'ajouter un commentaire"
|
14
|
+
missing_comment_template_error: "Impossible de trouver un {{partial}}. partielle nommé S'il vous plaît créer un commentaire partielle et essayez à nouveau."
|
15
|
+
new_comment_email_subject: "Nouveau commentaire de {{name}} sur {{application_name}}"
|
14
16
|
new_comment_no_title: "Ajouter un commentaire"
|
15
17
|
new_comment_with_title: "Ajouter un nouveau commentaire à {{title}}"
|
16
|
-
problem_adding_comment: "Il y avait un problème
|
18
|
+
problem_adding_comment: "Il y avait un problème en ajoutant vos commentaires"
|
data/locales/gl.yml
CHANGED
@@ -5,12 +5,14 @@ gl:
|
|
5
5
|
comment: Comentarios
|
6
6
|
comments:
|
7
7
|
add_comment: Comentario
|
8
|
-
add_comment_button:
|
8
|
+
add_comment_button: Comentar
|
9
|
+
anonymous: anónimo
|
9
10
|
cant_delete_comment: "Non ten permiso para borrar este comentario"
|
10
11
|
comment_removed: "Comentario eliminado correctamente."
|
11
|
-
create_error: "Non se puido crear o
|
12
|
-
create_success: "
|
13
|
-
missing_comment_template_error: "Non se puido atopar un
|
12
|
+
create_error: "Non se puido crear o {{errors}} comentario"
|
13
|
+
create_success: "Engadir comentario"
|
14
|
+
missing_comment_template_error: "Non se puido atopar un {{partial}}. parcial nomeado Por favor, cree un comentario parcial e ténteo de novo."
|
15
|
+
new_comment_email_subject: "Novo comentario de {{name}} en {{application_name}}"
|
14
16
|
new_comment_no_title: "Engadir un novo comentario"
|
15
17
|
new_comment_with_title: "Engadir un novo comentario para {{title}}"
|
16
18
|
problem_adding_comment: "Houbo un problema ao engadir o teu comentario"
|
data/locales/hi.yml
CHANGED
@@ -6,11 +6,13 @@ hi:
|
|
6
6
|
comments:
|
7
7
|
add_comment: टिप्पणी
|
8
8
|
add_comment_button: "टिप्पणी जोड़ें"
|
9
|
-
|
9
|
+
anonymous: गुमनाम
|
10
|
+
cant_delete_comment: "तुम उस टिप्पणी हटाने की अनुमति नहीं है"
|
10
11
|
comment_removed: "टिप्पणी सफलतापूर्वक हटा दिया."
|
11
|
-
create_error: "
|
12
|
+
create_error: "बनाने के {{errors}} टिप्पणी नहीं कर सका"
|
12
13
|
create_success: "सफलतापूर्वक टिप्पणी जोड़ा"
|
13
|
-
missing_comment_template_error: "एक आंशिक नाम {{partial}}. नहीं
|
14
|
+
missing_comment_template_error: "खोजें एक आंशिक नाम {{partial}}. नहीं कर सका कृपया एक आंशिक और फिर कोशिश करें टिप्पणी बनाएँ."
|
15
|
+
new_comment_email_subject: "नई {{name}} पर {{application_name}} से टिप्पणी"
|
14
16
|
new_comment_no_title: "एक नई टिप्पणी जोड़ें"
|
15
|
-
new_comment_with_title: "{{title}}
|
16
|
-
problem_adding_comment: "एक
|
17
|
+
new_comment_with_title: "{{title}} के लिए एक नई टिप्पणी जोड़ें"
|
18
|
+
problem_adding_comment: "वहाँ एक अपनी टिप्पणी जोड़ने समस्या थी"
|
data/locales/hr.yml
CHANGED
@@ -6,11 +6,13 @@ hr:
|
|
6
6
|
comments:
|
7
7
|
add_comment: Komentar
|
8
8
|
add_comment_button: "Add Comment"
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
anonymous: anonymous
|
10
|
+
cant_delete_comment: "Nemate dopuštenje za brisanje koja komentar"
|
11
|
+
comment_removed: "Komentar je uspješno uklonjen."
|
12
|
+
create_error: "Ne mogu stvoriti {{errors}} komentar"
|
12
13
|
create_success: "Uspješno dodan komentar"
|
13
|
-
missing_comment_template_error: "
|
14
|
+
missing_comment_template_error: "Ne mogu pronaći djelomični pod nazivom {{partial}}. Molimo Vas izraditi parcijalne komentar i pokušajte ponovno."
|
15
|
+
new_comment_email_subject: "Novi komentar od {{name}} na {{application_name}}"
|
14
16
|
new_comment_no_title: "Dodaj novi komentar"
|
15
17
|
new_comment_with_title: "Dodaj novi komentar {{title}}"
|
16
|
-
problem_adding_comment: "Došlo je do problema
|
18
|
+
problem_adding_comment: "Došlo je do problema dodajući Vaš komentar"
|