Skip to content

Commit 620f23e

Browse files
author
Marvin Kuhn
committed
translated property labels of comment
1 parent e77f7e4 commit 620f23e

File tree

3 files changed

+29
-6
lines changed

3 files changed

+29
-6
lines changed
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,35 @@
11
'Breadlesscode.Commentable:Content.Comment':
22
superTypes:
33
'Neos.Neos:Content': true
4+
label: ${ I18n.translate(node.nodeType.label) + " - " + q(node).property("name") }
45
ui:
56
label: 'i18n'
67
icon: 'icon-comment'
78
inspector:
89
groups:
910
comment:
11+
icon: 'comment'
1012
label: 'i18n'
1113
properties:
12-
email:
14+
name:
1315
type: string
1416
ui:
1517
label: 'i18n'
1618
inspector:
1719
group: 'comment'
18-
name:
20+
email:
1921
type: string
2022
ui:
2123
label: 'i18n'
2224
inspector:
2325
group: 'comment'
2426
content:
2527
type: string
26-
isSpam:
27-
type: boolean
28+
createdAt:
29+
type: DateTime
2830
ui:
2931
label: 'i18n'
3032
inspector:
3133
group: 'comment'
32-
createdAt:
33-
type: DateTime
34+
editorOptions:
35+
disabled: true

Resources/Private/Translations/de/NodeTypes/Content/Comment.xlf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@
55
<trans-unit id="ui.label" xml:space="preserve">
66
<source>Kommentar</source>
77
</trans-unit>
8+
<trans-unit id="properties.email" xml:space="preserve">
9+
<source>E-Mailadresse</source>
10+
</trans-unit>
11+
<trans-unit id="properties.name" xml:space="preserve">
12+
<source>Name</source>
13+
</trans-unit>
14+
<trans-unit id="properties.createdAt" xml:space="preserve">
15+
<source>Erstellt am</source>
16+
</trans-unit>
817
</body>
918
</file>
1019
</xliff>

Resources/Private/Translations/en/NodeTypes/Content/Comment.xlf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@
55
<trans-unit id="ui.label" xml:space="preserve">
66
<source>Comment</source>
77
</trans-unit>
8+
<trans-unit id="properties.email" xml:space="preserve">
9+
<source>Email</source>
10+
</trans-unit>
11+
<trans-unit id="properties.name" xml:space="preserve">
12+
<source>Name</source>
13+
</trans-unit>
14+
<trans-unit id="properties.createdAt" xml:space="preserve">
15+
<source>Created at</source>
16+
</trans-unit>
17+
<trans-unit id="groups.comment" xml:space="preserve">
18+
<source>Comment</source>
19+
</trans-unit>
820
</body>
921
</file>
1022
</xliff>

0 commit comments

Comments
 (0)