Skip to content

Commit 6855c12

Browse files
committed
Merge tag '1.2.8' into develop
Release v1.2.8
2 parents c30a77f + c04ddbc commit 6855c12

File tree

4 files changed

+49
-25
lines changed

4 files changed

+49
-25
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# v1.2.8
2-
## mm/dd/2020
2+
## 09/10/2020
33

44
1. [](#improved)
55
* Improved some translations

blueprints.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
name: Comments
2-
version: 1.2.7
2+
type: plugin
3+
slug: comments
4+
version: 1.2.8
35
description: Adds a commenting functionality to your site
46
icon: comment
57
author:

comments.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ private function fetchComments() {
358358
$filename .= $this->grav['uri']->path() . '.yaml';
359359

360360
$data = $this->getDataFromFilename($filename);
361-
$comments = $data['comments'] ?? null;
361+
$comments = isset($data['comments']) ? $data['comments'] : null;
362362
//save to cache if enabled
363363
$cache->save($this->comments_cache_id, $comments);
364364
return $comments;

languages.yaml

+44-22
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,3 @@
1-
de:
2-
PLUGIN_COMMENTS:
3-
ADD_COMMENT: Kommentar hinzufügen
4-
COMMENTS: Kommentare
5-
EMAIL_NOT_CONFIGURED: Email nicht konfiguriert
6-
NEW_COMMENT_EMAIL_SUBJECT: 'Neuer Kommentar für %1$s'
7-
NEW_COMMENT_EMAIL_BODY: '<p>Ein neuer Kommentar am %1$s von %3$s (%4$s).</p><p>Seite: %2$s</p><p>Text: %5$s</p>'
8-
EMAIL_FOOTER: ''
9-
NAME: Name:
10-
EMAIL: Email:
11-
WRITTEN_ON: geschrieben am
12-
BY: von
13-
NAME_LABEL: "Name"
14-
NAME_PLACEHOLDER: "Namen eingeben"
15-
EMAIL_LABEL: "Email"
16-
EMAIL_PLACEHOLDER: "Email-Adresse eingeben"
17-
MESSAGE_LABEL: "Kommentar"
18-
MESSAGE_PLACEHOLDER: "Kommentar eingeben"
19-
SUBMIT_COMMENT_BUTTON_TEXT: "Absenden"
20-
EMAIL_NEW_COMMENT_SUBJECT: "[Neuer Kommentar] von {{ form.value.name|e }}"
21-
THANK_YOU_MESSAGE: "Vielen Dank für den Kommentar!"
22-
231
en:
242
PLUGIN_COMMENTS:
253
ADD_COMMENT: Add a comment
@@ -42,6 +20,28 @@ en:
4220
EMAIL_NEW_COMMENT_SUBJECT: "[New Comment] from {{ form.value.name|e }}"
4321
THANK_YOU_MESSAGE: "Thank you for writing your comment!"
4422

23+
de:
24+
PLUGIN_COMMENTS:
25+
ADD_COMMENT: Kommentar hinzufügen
26+
COMMENTS: Kommentare
27+
EMAIL_NOT_CONFIGURED: Email nicht konfiguriert
28+
NEW_COMMENT_EMAIL_SUBJECT: 'Neuer Kommentar für %1$s'
29+
NEW_COMMENT_EMAIL_BODY: '<p>Ein neuer Kommentar am %1$s von %3$s (%4$s).</p><p>Seite: %2$s</p><p>Text: %5$s</p>'
30+
EMAIL_FOOTER: ''
31+
NAME: Name:
32+
EMAIL: Email:
33+
WRITTEN_ON: geschrieben am
34+
BY: von
35+
NAME_LABEL: "Name"
36+
NAME_PLACEHOLDER: "Namen eingeben"
37+
EMAIL_LABEL: "Email"
38+
EMAIL_PLACEHOLDER: "Email-Adresse eingeben"
39+
MESSAGE_LABEL: "Kommentar"
40+
MESSAGE_PLACEHOLDER: "Kommentar eingeben"
41+
SUBMIT_COMMENT_BUTTON_TEXT: "Absenden"
42+
EMAIL_NEW_COMMENT_SUBJECT: "[Neuer Kommentar] von {{ form.value.name|e }}"
43+
THANK_YOU_MESSAGE: "Vielen Dank für den Kommentar!"
44+
4545
es:
4646
PLUGIN_COMMENTS:
4747
ADD_COMMENT: Agregar un comentario
@@ -152,6 +152,28 @@ ja:
152152
EMAIL_NEW_COMMENT_SUBJECT: "[新しいコメント] {{ form.value.name|e }}から"
153153
THANK_YOU_MESSAGE: "コメントありがとうございます!"
154154

155+
nl:
156+
PLUGIN_COMMENTS:
157+
ADD_COMMENT: Reageer
158+
COMMENTS: Reacties
159+
EMAIL_NOT_CONFIGURED: Email niet geconfigureerd
160+
NEW_COMMENT_EMAIL_SUBJECT: 'Nieuwe reactie op %1$s'
161+
NEW_COMMENT_EMAIL_BODY: '<p>Er is een nieuwe reactie gemaakt op %1$s door %3$s (%4$s).</p><p>Pagina: %2$s</p><p>Tekst: %5$s</p>'
162+
EMAIL_FOOTER: ''
163+
NAME: 'Naam:'
164+
EMAIL: 'Email:'
165+
WRITTEN_ON: 'Geschreven op'
166+
BY: 'door'
167+
NAME_LABEL: "Naam"
168+
NAME_PLACEHOLDER: "Vul je naam in"
169+
EMAIL_LABEL: "Email"
170+
EMAIL_PLACEHOLDER: "Vul je emailadres in"
171+
MESSAGE_LABEL: "Reactie"
172+
MESSAGE_PLACEHOLDER: "Vul je reactie in"
173+
SUBMIT_COMMENT_BUTTON_TEXT: "Verstuur"
174+
EMAIL_NEW_COMMENT_SUBJECT: "[Nieuwe reactie] van {{ form.value.name|e }}"
175+
THANK_YOU_MESSAGE: "Bedankt voor je reactie!"
176+
155177
pl:
156178
PLUGIN_COMMENTS:
157179
ADD_COMMENT: Dodaj komentarz

0 commit comments

Comments
 (0)