From 617501efed8644f9726bfba23a13dbc85894fcf3 Mon Sep 17 00:00:00 2001 From: Heath Dunlop Date: Thu, 16 May 2019 13:46:28 +1200 Subject: [PATCH 1/4] comments extension filters on Parent Class This allows both pages and DataObjects to have comments without the ParentID clashing and showing comments on a page where the ParentID is the Same as a DataObjects or even two DataObjects having the sameID --- src/Extensions/CommentsExtension.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Extensions/CommentsExtension.php b/src/Extensions/CommentsExtension.php index e1e5623..0a2132c 100644 --- a/src/Extensions/CommentsExtension.php +++ b/src/Extensions/CommentsExtension.php @@ -254,7 +254,10 @@ class CommentsExtension extends DataExtension { $order = $this->owner->getCommentsOption('order_comments_by'); $comments = Comment::get() - ->filter('ParentID', $this->owner->ID) + ->filter([ + 'ParentID' => $this->owner->ID, + 'ParentClass' => $this->owner->ClassName, + ]) ->sort($order); $this->owner->extend('updateAllComments', $comments); return $comments; From b3fe6d82b47e2a317df69f8b1640918689f7153a Mon Sep 17 00:00:00 2001 From: Will Rossiter Date: Wed, 3 Jul 2019 11:40:42 +1200 Subject: [PATCH 2/4] Add legacy YAML for upgrading --- _config/legacy.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 _config/legacy.yml diff --git a/_config/legacy.yml b/_config/legacy.yml new file mode 100644 index 0000000..50a3cc0 --- /dev/null +++ b/_config/legacy.yml @@ -0,0 +1,3 @@ +SilverStripe\ORM\DatabaseAdmin: + classname_value_remapping: + Comment: SilverStripe\Comments\Model\Comment \ No newline at end of file From fbfead9c9ed83581780c7cfb0cd5c2e4b780e100 Mon Sep 17 00:00:00 2001 From: Jason Irish Date: Mon, 15 Jul 2019 12:02:50 -0500 Subject: [PATCH 3/4] BUGFIX CommentAdmin implements PermissionProvider fixes #288 --- src/Admin/CommentAdmin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Admin/CommentAdmin.php b/src/Admin/CommentAdmin.php index 7cbd599..6ab90f0 100644 --- a/src/Admin/CommentAdmin.php +++ b/src/Admin/CommentAdmin.php @@ -8,6 +8,7 @@ use SilverStripe\Forms\FieldList; use SilverStripe\Forms\Form; use SilverStripe\Forms\Tab; use SilverStripe\Forms\TabSet; +use SilverStripe\Security\PermissionProvider; use SilverStripe\Security\Security; /** @@ -15,7 +16,7 @@ use SilverStripe\Security\Security; * * @package comments */ -class CommentAdmin extends LeftAndMain +class CommentAdmin extends LeftAndMain implements PermissionProvider { private static $url_segment = 'comments'; From e21a09234a3070d3c869218739c9d45f168ced41 Mon Sep 17 00:00:00 2001 From: Guy Marriott Date: Tue, 20 Aug 2019 16:37:58 +1200 Subject: [PATCH 4/4] Update translations --- lang/de.yml | 6 ------ lang/eo.yml | 6 ------ lang/es.yml | 2 -- lang/fa_IR.yml | 6 ------ lang/fi.yml | 6 ------ lang/fr.yml | 2 -- lang/hr.yml | 6 ------ lang/hu.yml | 2 -- lang/id.yml | 2 -- lang/lt.yml | 7 ------- lang/nb.yml | 2 -- lang/nl.yml | 4 ---- lang/pl_PL.yml | 7 ------- lang/ro.yml | 2 -- lang/ru.yml | 6 ------ lang/sk.yml | 6 ------ lang/sk_SK.yml | 6 ------ lang/sr@latin.yml | 2 -- lang/sv.yml | 2 -- 19 files changed, 82 deletions(-) diff --git a/lang/de.yml b/lang/de.yml index 88a92d3..148b171 100644 --- a/lang/de.yml +++ b/lang/de.yml @@ -18,10 +18,6 @@ de: CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Ihr Kommentar wurde gespeichert und wird durch einen Moderator freigeschaltet.' CommentsInterface_singlecomment_ss: - APPROVE: 'genehmige ihn' - ISNTSPAM: 'kein Spam' - ISSPAM: 'als Spam markieren' - REMCOM: abweisen REPLYTO: 'Antworten an' CommentsInterface_ss: AWAITINGMODERATION: 'Ihr Kommentar wurde gespeichert und wird durch einen Moderator freigeschaltet.' @@ -67,14 +63,12 @@ de: MODERATIONREQUIRED_NONMEMBERSONLY: 'Nur Nicht-Mitglieder moderieren' MODERATIONREQUIRED_REQUIRED: 'Alle Kommentare moderieren' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Kommentare Erlauben' COMMENT: Kommentar COMMENTBY: 'Kommentar von ''%s''' CREATED: 'Datum geschrieben' EMAIL: E-Mail ISSPAM: 'Spam?' MODERATED: 'Moderiert?' - NAME: 'Autor Name' 'ON': am OPTIONS: Optionen OPTION_DESCRIPTION: 'Unmoderierte und Spam-Kommentare werden nicht angezeigt, bis sie freigeschaltet sind' diff --git a/lang/eo.yml b/lang/eo.yml index 4f40d38..1c88c26 100644 --- a/lang/eo.yml +++ b/lang/eo.yml @@ -18,10 +18,6 @@ eo: CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Via komento afiŝiĝis kaj nun atendas kontrolon.' CommentsInterface_singlecomment_ss: - APPROVE: 'aprobi ĝin' - ISNTSPAM: 'ne spamo' - ISSPAM: 'spamigi ĝin' - REMCOM: 'malakcepti ĝin' REPLYTO: 'Respondi al' CommentsInterface_ss: AWAITINGMODERATION: 'Via komento afiŝiĝis kaj nun atendas kontrolon.' @@ -67,14 +63,12 @@ eo: MODERATIONREQUIRED_NONMEMBERSONLY: 'Kontroli nur nemembrojn' MODERATIONREQUIRED_REQUIRED: 'Kontroli ĉiujn komentojn' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Ebligi komentojn' COMMENT: Komento COMMENTBY: 'Komento de %s' CREATED: 'Dato de afiŝo' EMAIL: Retpoŝto ISSPAM: 'Ĉu spamo?' MODERATED: 'Ĉu kontrolata?' - NAME: 'Nomo de aŭtoro' 'ON': en OPTIONS: Agordoj OPTION_DESCRIPTION: 'Ne vidigos nekontrolitajn aŭ spamajn komentojn antaŭ aprobo' diff --git a/lang/es.yml b/lang/es.yml index 0d0c2e2..4f88b04 100644 --- a/lang/es.yml +++ b/lang/es.yml @@ -33,14 +33,12 @@ es: PERMISSIONFAILURE: 'Ud no puede publicar comentarios en esta página. Por favor asegúrese que haya iniciado sesión y que tenga el adecuado nivel de permisos.' WEBSITEURL: 'URL de su sitio Web' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Permitir comentarios' COMMENT: Comentario COMMENTBY: 'Comentario por %s' CREATED: 'Fecha de publicación' EMAIL: Email ISSPAM: '¿Spam?' MODERATED: '¿Moderado?' - NAME: 'Nombre del autor' PARENTTITLE: Padre PLURALNAME: Comentarios SINGULARNAME: Comentario diff --git a/lang/fa_IR.yml b/lang/fa_IR.yml index 15be0ab..ec84361 100644 --- a/lang/fa_IR.yml +++ b/lang/fa_IR.yml @@ -18,10 +18,6 @@ fa_IR: CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'دیدگاه شما ارسال شده و هم‌اکنون در انتظار بررسی است.' CommentsInterface_singlecomment_ss: - APPROVE: 'تایید کن' - ISNTSPAM: 'هرزنوشت نیست' - ISSPAM: هرزنوشته - REMCOM: 'رد کردن' REPLYTO: 'ارسال پاسخ به' CommentsInterface_ss: AWAITINGMODERATION: 'دیدگاه شما ارسال شده و هم‌اکنون در انتظار بررسی است.' @@ -65,14 +61,12 @@ fa_IR: MODERATIONREQUIRED_NONMEMBERSONLY: 'تنها مدیریت کاربران غیر عضو' MODERATIONREQUIRED_REQUIRED: 'مدیریت تمامی دیدگاه‌ها' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'اجازه نشر دیدگاه' COMMENT: دیدگاه COMMENTBY: 'دیدگاه توسط %s' CREATED: 'تاریخ ارسال' EMAIL: ایمیل ISSPAM: هرزنوشت؟ MODERATED: 'مدیریت شده؟' - NAME: 'نام نگارنده' 'ON': در OPTIONS: گزینه‌ها OPTION_DESCRIPTION: 'دیدگاه‌های مدیریت نشده و هرزنوشت‌ها تا زمان تایید به نمایش در نخواهند آمد' diff --git a/lang/fi.yml b/lang/fi.yml index 0d92c9c..cac9bf0 100644 --- a/lang/fi.yml +++ b/lang/fi.yml @@ -18,10 +18,6 @@ fi: CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Kommenttisi on lähetetty ja odottaa moderointia.' CommentsInterface_singlecomment_ss: - APPROVE: 'hyväksy se' - ISNTSPAM: 'ei spämmiä' - ISSPAM: 'merkitse spämmiksi' - REMCOM: 'hylkää se' REPLYTO: Vastausosoite CommentsInterface_ss: AWAITINGMODERATION: 'Kommenttisi on lähetetty ja odottaa moderointia.' @@ -66,14 +62,12 @@ fi: MODERATIONREQUIRED_NONMEMBERSONLY: 'Moderoi vain ei-jäsenet' MODERATIONREQUIRED_REQUIRED: 'Moderoi kaikki kommentit' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Salli kommentointi' COMMENT: Komentti COMMENTBY: 'Kommentoija: %s' CREATED: Kirjoitettu EMAIL: Sähköposti ISSPAM: 'Spämmiä?' MODERATED: 'Moderoitu?' - NAME: 'Kirjoittajan nimi' 'ON': pvm OPTIONS: Asetukset OPTION_DESCRIPTION: 'Moderoimattomat ja roskakommentit eivät näy ennen hyväksymistä' diff --git a/lang/fr.yml b/lang/fr.yml index 326f137..76ea19d 100644 --- a/lang/fr.yml +++ b/lang/fr.yml @@ -36,14 +36,12 @@ fr: SilverStripe\Comments\Extensions\CommentsExtension: COMMENTOPTIONS: Commentaires SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Autoriser Commentaires' COMMENT: Commentaire COMMENTBY: 'Commentaire par %s' CREATED: 'Date de publication' EMAIL: Email ISSPAM: 'Spam?' MODERATED: 'Modéré?' - NAME: 'Nom de l''Auteur' PARENTTITLE: Parent PLURALNAME: Commentaires SINGULARNAME: Commentaire diff --git a/lang/hr.yml b/lang/hr.yml index d8777d6..89917a0 100644 --- a/lang/hr.yml +++ b/lang/hr.yml @@ -18,10 +18,6 @@ hr: CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Vaš komentar je zaprimljen i čeka odobrenje.' CommentsInterface_singlecomment_ss: - APPROVE: 'odobri ga' - ISNTSPAM: 'nije spam' - ISSPAM: 'Spamaj ga' - REMCOM: 'odbaci ga' REPLYTO: 'Odgovori na' CommentsInterface_ss: AWAITINGMODERATION: 'Vaš komentar je zaprimljen i čeka odobrenje.' @@ -65,14 +61,12 @@ hr: MODERATIONREQUIRED_NONMEMBERSONLY: 'Samo moderiraj goste' MODERATIONREQUIRED_REQUIRED: 'Moderiraj sve komentare' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Dozvoli komentare' COMMENT: Komentar COMMENTBY: 'Komentar od %s' CREATED: 'Datum objave' EMAIL: Email ISSPAM: 'Spam?' MODERATED: 'Moderirano?' - NAME: 'Ime autora' 'ON': na OPTIONS: Opcije OPTION_DESCRIPTION: 'Nemoderirani i spam komentari neće biti objavljeni dok se ne odobre' diff --git a/lang/hu.yml b/lang/hu.yml index acaaee2..0b183f5 100644 --- a/lang/hu.yml +++ b/lang/hu.yml @@ -35,14 +35,12 @@ hu: RSSTITLE: 'Hozzászólások RSS-ben' WEBSITEURL: 'Az Ön webcíme' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Hozzászólások engedélyezve' COMMENT: Hozzászólás COMMENTBY: 'Létrehozta %s' CREATED: 'Létrehozás dátuma' EMAIL: E-mail ISSPAM: 'SPAM?' MODERATED: 'Moderált?' - NAME: 'Hozzászóló neve' PARENTTITLE: Szülő PLURALNAME: Hozzászólások SINGULARNAME: Hozzászólás diff --git a/lang/id.yml b/lang/id.yml index edf55f7..5d3cd0d 100644 --- a/lang/id.yml +++ b/lang/id.yml @@ -34,14 +34,12 @@ id: RSSTITLE: 'Sindikasi RSS Komentar' WEBSITEURL: 'URL situs Anda' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Bolehkan Komentar' COMMENT: Komentar COMMENTBY: 'Komentar oleh %s' CREATED: 'Tanggal kirim' EMAIL: Email ISSPAM: 'Spam?' MODERATED: 'Moderasi?' - NAME: 'Nama Penulis' PARENTTITLE: Induk PLURALNAME: Komentar SINGULARNAME: Komentar diff --git a/lang/lt.yml b/lang/lt.yml index 44dd62c..7692279 100644 --- a/lang/lt.yml +++ b/lang/lt.yml @@ -17,11 +17,6 @@ lt: SpamComments: Šlamštas CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Jūsų komentaras išsiųstas ir laukia patvirtinimo.' - CommentsInterface_singlecomment_ss: - APPROVE: patvirtinti - ISNTSPAM: 'ne šlamštas' - ISSPAM: šlamštas - REMCOM: ištrinti CommentsInterface_ss: AWAITINGMODERATION: 'Jūsų komentaras išsiųstas ir laukia patvirtinimo.' COMMENTLOGINERROR: 'Negalite rašyti komentarų, jeigu nesate prisijungę' @@ -56,14 +51,12 @@ lt: MODERATIONREQUIRED_NONMEMBERSONLY: 'Tvirtinti tik neregistruotų vartotojų' MODERATIONREQUIRED_REQUIRED: 'Tvirtinti visus komentarus' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Leisti komentarus' COMMENT: Komentaras COMMENTBY: 'Komentarą parašė ''%s''' CREATED: 'Paskelbimo data' EMAIL: 'E. paštas' ISSPAM: 'Šlamštas?' MODERATED: 'Patvirtintas?' - NAME: 'Autoriaus Vardas' 'ON': į OPTION_DESCRIPTION: 'Nepatvirtinti komentarai nebus rodomi, kol jie atskirai nebus patvirtinti' PARENTTITLE: Priklauso diff --git a/lang/nb.yml b/lang/nb.yml index 991c3d1..defdb62 100644 --- a/lang/nb.yml +++ b/lang/nb.yml @@ -26,10 +26,8 @@ nb: RSSTITLE: 'RSS-feed for kommentarer' WEBSITEURL: Hjemmeside SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Tillat kommentarer' COMMENT: Kommentar ISSPAM: 'Spam?' MODERATED: 'Moderert?' - NAME: Navn PLURALNAME: Kommentarer SINGULARNAME: Kommentar diff --git a/lang/nl.yml b/lang/nl.yml index 8df6dab..404f15e 100644 --- a/lang/nl.yml +++ b/lang/nl.yml @@ -17,8 +17,6 @@ nl: SpamComments: Spam CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Je reactie is verstuurd en is in afwachting van moderatie.' - CommentsInterface_singlecomment_ss: - ISNTSPAM: 'Geen spam' CommentsInterface_ss: COMMENTLOGINERROR: 'Je moet ingelogd zijn om reacties te kunnen plaatsen' COMMENTPERMISSIONERROR: 'en controleer je gebruikersrechten' @@ -44,11 +42,9 @@ nl: SilverStripe\Comments\Extensions\CommentsExtension: COMMENTOPTIONS: Reacties SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Reacties toestaan' COMMENT: Reactie ISSPAM: 'Spam?' MODERATED: 'Gemodereerd?' - NAME: Auteur 'ON': op PLURALNAME: Reacties SINGULARNAME: Reactie diff --git a/lang/pl_PL.yml b/lang/pl_PL.yml index f1c2e6a..29935ca 100644 --- a/lang/pl_PL.yml +++ b/lang/pl_PL.yml @@ -17,11 +17,6 @@ pl_PL: SpamComments: Spam CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Twój komentarz został wysłany i czeka na akceptację przez moderatora.' - CommentsInterface_singlecomment_ss: - APPROVE: zatwierdź - ISNTSPAM: 'nie spam' - ISSPAM: 'oznacz spam' - REMCOM: odrzuć CommentsInterface_ss: AWAITINGMODERATION: 'Twój komentarz został wysłany i czeka na akceptację przez moderatora.' COMMENTLOGINERROR: 'Nie można dodać komentarza dopóki nie będziesz zalogowany' @@ -56,14 +51,12 @@ pl_PL: MODERATIONREQUIRED_NONMEMBERSONLY: 'Moderuj tylko niezarejestrowanych użytkowników' MODERATIONREQUIRED_REQUIRED: 'Moderuj wszystkie komentarze' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Zezwól na komentarze' COMMENT: Komentarz COMMENTBY: 'Komentarz %s' CREATED: 'Data opublikowania' EMAIL: Email ISSPAM: 'Spam?' MODERATED: 'Moderowane?' - NAME: Autor 'ON': na OPTION_DESCRIPTION: 'Niemoderowane i oznaczone jako spam komentarze nie będą wyświetlane do momentu zatwierdzenia' PARENTTITLE: Rodzic diff --git a/lang/ro.yml b/lang/ro.yml index a741020..bceb698 100644 --- a/lang/ro.yml +++ b/lang/ro.yml @@ -34,14 +34,12 @@ ro: RSSTITLE: 'RSS feed pentru comentarii' WEBSITEURL: 'URL Site web' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Acceptare comentarii' COMMENT: Comentariu COMMENTBY: 'Comentat de %s' CREATED: 'Data publicării' EMAIL: E-mail ISSPAM: 'Spam?' MODERATED: 'Moderare?' - NAME: 'Nume autor' PARENTTITLE: Părinte PLURALNAME: Comentarii SINGULARNAME: Comentariu diff --git a/lang/ru.yml b/lang/ru.yml index e2a0342..8170ab1 100644 --- a/lang/ru.yml +++ b/lang/ru.yml @@ -18,10 +18,6 @@ ru: CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Ваш комментарий отправлен и ожидает проверки.' CommentsInterface_singlecomment_ss: - APPROVE: Одобрить - ISNTSPAM: 'не спам' - ISSPAM: 'это спам' - REMCOM: удалить REPLYTO: Ответить CommentsInterface_ss: AWAITINGMODERATION: 'Ваш комментарий отправлен и ожидает проверки.' @@ -65,14 +61,12 @@ ru: MODERATIONREQUIRED_NONMEMBERSONLY: 'Проверка требуется только для незарегистрированных пользователей' MODERATIONREQUIRED_REQUIRED: 'Проверка требуется для всех комментариев' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Разрешить комментарии' COMMENT: Комментарий COMMENTBY: 'Комментарий автора %s' CREATED: 'Дата добавления' EMAIL: Email ISSPAM: 'Спам?' MODERATED: 'Проверено?' - NAME: Автор 'ON': на OPTIONS: Опции OPTION_DESCRIPTION: 'Комментарии не будут отображаться пока не будут одобрены модератором' diff --git a/lang/sk.yml b/lang/sk.yml index 040a71a..06734e6 100644 --- a/lang/sk.yml +++ b/lang/sk.yml @@ -18,10 +18,6 @@ sk: CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Váš komentár bol odoslaný a čaká na kontrolu.' CommentsInterface_singlecomment_ss: - APPROVE: Schváliť - ISNTSPAM: 'nie je spam' - ISSPAM: 'je spam' - REMCOM: Odmietnuť REPLYTO: Odpovedať CommentsInterface_ss: AWAITINGMODERATION: 'Váš komentár bol odoslaný a čaká na kontrolu.' @@ -65,14 +61,12 @@ sk: MODERATIONREQUIRED_NONMEMBERSONLY: 'Vyžadovať odsúhlasenie len od neprihlásených užívateľov' MODERATIONREQUIRED_REQUIRED: 'Odsúhlasiť všetky komentáre' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Povoliť komentáre' COMMENT: Komentár COMMENTBY: 'Komentáre od %s' CREATED: 'Dátum odoslania' EMAIL: E-mail ISSPAM: 'Spam?' MODERATED: 'Odsúhlasený?' - NAME: 'Meno autora' 'ON': na OPTIONS: Možnosti OPTION_DESCRIPTION: 'Neodsúhlasené a spamové komentáre nebudú zobrazené' diff --git a/lang/sk_SK.yml b/lang/sk_SK.yml index a502578..ec02171 100644 --- a/lang/sk_SK.yml +++ b/lang/sk_SK.yml @@ -18,10 +18,6 @@ sk_SK: CommentsInterface_pendingcomment_ss: AWAITINGMODERATION: 'Váš komentár bol odoslaný a čaká na kontrolu.' CommentsInterface_singlecomment_ss: - APPROVE: Schváliť - ISNTSPAM: 'nie je spam' - ISSPAM: 'je spam' - REMCOM: Odmietnuť REPLYTO: Odpovedať CommentsInterface_ss: AWAITINGMODERATION: 'Váš komentár bol odoslaný a čaká na kontrolu.' @@ -65,14 +61,12 @@ sk_SK: MODERATIONREQUIRED_NONMEMBERSONLY: 'Vyžadovať odsúhlasenie len od neprihlásených užívateľov' MODERATIONREQUIRED_REQUIRED: 'Odsúhlasiť všetky komentáre' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Povoliť komentáre' COMMENT: Komentár COMMENTBY: 'Komentáre od %s' CREATED: 'Dátum zverejnenia' EMAIL: E-mail ISSPAM: 'Spam?' MODERATED: 'Odsúhlasený?' - NAME: 'Meno autora' 'ON': na OPTIONS: Možnosti OPTION_DESCRIPTION: 'Neodsúhlasené a spamové komentáre nebudú zobrazené' diff --git a/lang/sr@latin.yml b/lang/sr@latin.yml index 383d656..9a1c5f5 100644 --- a/lang/sr@latin.yml +++ b/lang/sr@latin.yml @@ -34,14 +34,12 @@ sr@latin: RSSTITLE: 'RSS Feed komentara' WEBSITEURL: 'URL Vašeg sajta' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Dozvoli komentare' COMMENT: Komentar COMMENTBY: 'Autor komentara %s' CREATED: 'Datum objavljivanja' EMAIL: 'Elektronska pošta' ISSPAM: 'Zlonameran?' MODERATED: 'Uređen?' - NAME: 'Ime autora' PARENTTITLE: Roditelj PLURALNAME: Komentari SINGULARNAME: Komentar diff --git a/lang/sv.yml b/lang/sv.yml index fe84004..535c159 100644 --- a/lang/sv.yml +++ b/lang/sv.yml @@ -34,14 +34,12 @@ sv: RSSTITLE: 'RSS-flöde med kommentarer' WEBSITEURL: 'Din hemsidas URL' SilverStripe\Comments\Model\Comment: - ALLOWCOMMENTS: 'Tillåt kommentarer' COMMENT: Kommentarer COMMENTBY: 'Kommentar av %s' CREATED: Datum EMAIL: E-post ISSPAM: 'Spam?' MODERATED: 'Modererad?' - NAME: Författare PARENTTITLE: 'Överordnad sida' PLURALNAME: Kommentarer SINGULARNAME: Kommentar