Skip to content

Commit 15eae92

Browse files
mikadamczyktischsoic
authored andcommitted
IBX-6314: Added missing translation of limitation name
1 parent f0b88ca commit 15eae92

19 files changed

+156
-150
lines changed

src/bundle/Resources/translations/content_url.en.xliff

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@
101101
<target state="new">This item has no custom URL aliases.</target>
102102
<note>key: tab.urls.no_custom_urls</note>
103103
</trans-unit>
104+
<trans-unit id="61f03f8e307131c37fed1b46302b43efcc519d07" resname="tab.urls.no_custom_urls.action">
105+
<source>Add new custom URL aliases manually</source>
106+
<target state="new">Add new custom URL aliases manually</target>
107+
<note>key: tab.urls.no_custom_urls.action</note>
108+
</trans-unit>
104109
<trans-unit id="c9fdd1434b44a4592626e8fe493c19141aab24d5" resname="tab.urls.no_system_urls">
105110
<source>This Content item has no system URLs.</source>
106111
<target state="new">This Content item has no system URLs.</target>
@@ -131,11 +136,6 @@
131136
<target state="new">URL</target>
132137
<note>key: tab.urls.url</note>
133138
</trans-unit>
134-
<trans-unit id="e69faa33548046dd30da3472456d913f2586a3c5" resname="tab.variants.empty.action">
135-
<source>Add new custom URL aliases manually</source>
136-
<target state="new">Add new custom URL aliases manually</target>
137-
<note>key: tab.variants.empty.action</note>
138-
</trans-unit>
139139
</body>
140140
</file>
141141
</xliff>
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
3+
<file source-language="en" target-language="en" datatype="plaintext" original="not.available">
4+
<header>
5+
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
6+
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
7+
</header>
8+
<body>
9+
<trans-unit id="0ba4dd0a3e03edbb23ad81c27bb921449e811cdc" resname="policy.limitation.identifier.changeowner">
10+
<source>Change Owner</source>
11+
<target state="new">Change Owner</target>
12+
<note>key: policy.limitation.identifier.changeowner</note>
13+
</trans-unit>
14+
<trans-unit id="3742f2cc514848bd4a5eb03430e412d44f5d9ec2" resname="policy.limitation.identifier.class">
15+
<source>Content Type</source>
16+
<target state="new">Content Type</target>
17+
<note>key: policy.limitation.identifier.class</note>
18+
</trans-unit>
19+
<trans-unit id="76adf2a27f1ae0ab14b623729cd3f281a6e2c285" resname="policy.limitation.identifier.group">
20+
<source>Content Type Group</source>
21+
<target state="new">Content Type Group</target>
22+
<note>key: policy.limitation.identifier.group</note>
23+
</trans-unit>
24+
<trans-unit id="cee78b25ec2de77cf09109e6a2ac175a515a8350" resname="policy.limitation.identifier.language">
25+
<source>Language</source>
26+
<target state="new">Language</target>
27+
<note>key: policy.limitation.identifier.language</note>
28+
</trans-unit>
29+
<trans-unit id="ab9163a435d32610a7a1af8df07ab38eebc4c7c6" resname="policy.limitation.identifier.newsection">
30+
<source>New Section</source>
31+
<target state="new">New Section</target>
32+
<note>key: policy.limitation.identifier.newsection</note>
33+
</trans-unit>
34+
<trans-unit id="a9958f1d76f4685bf5fc32eee7514046db942160" resname="policy.limitation.identifier.newstate">
35+
<source>New State</source>
36+
<target state="new">New State</target>
37+
<note>key: policy.limitation.identifier.newstate</note>
38+
</trans-unit>
39+
<trans-unit id="be2b0449251f53db814dc4fbbb27e534419add2b" resname="policy.limitation.identifier.node">
40+
<source>Location</source>
41+
<target state="new">Location</target>
42+
<note>key: policy.limitation.identifier.node</note>
43+
</trans-unit>
44+
<trans-unit id="9daf8e1a94a6409f9b9b102e042c2858e4307ea8" resname="policy.limitation.identifier.owner">
45+
<source>Owner</source>
46+
<target state="new">Owner</target>
47+
<note>key: policy.limitation.identifier.owner</note>
48+
</trans-unit>
49+
<trans-unit id="e3773b71c8e7fda97f221ab25a6c25164d179d84" resname="policy.limitation.identifier.parentclass">
50+
<source>Content Type of Parent</source>
51+
<target state="new">Content Type of Parent</target>
52+
<note>key: policy.limitation.identifier.parentclass</note>
53+
</trans-unit>
54+
<trans-unit id="39bf0d9c1e0e8b64193bf09d83fbd89c2dac3421" resname="policy.limitation.identifier.parentdepth">
55+
<source>Parent Depth</source>
56+
<target state="new">Parent Depth</target>
57+
<note>key: policy.limitation.identifier.parentdepth</note>
58+
</trans-unit>
59+
<trans-unit id="cb52ff8582459d1bc981e9f98cf1c79876f83a1e" resname="policy.limitation.identifier.parentgroup">
60+
<source>Content Type Group of Parent</source>
61+
<target state="new">Content Type Group of Parent</target>
62+
<note>key: policy.limitation.identifier.parentgroup</note>
63+
</trans-unit>
64+
<trans-unit id="6208b97847450b255559e4a56c51ff06b76a08dd" resname="policy.limitation.identifier.parentowner">
65+
<source>Owner of Parent</source>
66+
<target state="new">Owner of Parent</target>
67+
<note>key: policy.limitation.identifier.parentowner</note>
68+
</trans-unit>
69+
<trans-unit id="9f2e53e094725bbc243ad777547724ab923a31d1" resname="policy.limitation.identifier.role">
70+
<source>Role</source>
71+
<target state="new">Role</target>
72+
<note>key: policy.limitation.identifier.role</note>
73+
</trans-unit>
74+
<trans-unit id="bb77b27363dad566197a200290f0f0b18baa4705" resname="policy.limitation.identifier.section">
75+
<source>Section</source>
76+
<target state="new">Section</target>
77+
<note>key: policy.limitation.identifier.section</note>
78+
</trans-unit>
79+
<trans-unit id="548bc922c693c8259cbfd3354451a3035e2fa6f6" resname="policy.limitation.identifier.siteaccess">
80+
<source>SiteAccess</source>
81+
<target state="new">SiteAccess</target>
82+
<note>key: policy.limitation.identifier.siteaccess</note>
83+
</trans-unit>
84+
<trans-unit id="30cc18895dfb23b14d3f9b8249e90baf678c8180" resname="policy.limitation.identifier.state">
85+
<source>State</source>
86+
<target state="new">State</target>
87+
<note>key: policy.limitation.identifier.state</note>
88+
</trans-unit>
89+
<trans-unit id="53975d67feacf6fed717a52ad538ba77dc533dc2" resname="policy.limitation.identifier.status">
90+
<source>Status</source>
91+
<target state="new">Status</target>
92+
<note>key: policy.limitation.identifier.status</note>
93+
</trans-unit>
94+
<trans-unit id="2291e238752ad3c4d20ef08253f5d5736f6382d2" resname="policy.limitation.identifier.subtree">
95+
<source>Subtree</source>
96+
<target state="new">Subtree</target>
97+
<note>key: policy.limitation.identifier.subtree</note>
98+
</trans-unit>
99+
<trans-unit id="097f571a3c731c66c83230e465f4b3c9af811add" resname="policy.limitation.identifier.userpermissions">
100+
<source>User Permissions</source>
101+
<target state="new">User Permissions</target>
102+
<note>key: policy.limitation.identifier.userpermissions</note>
103+
</trans-unit>
104+
</body>
105+
</file>
106+
</xliff>

src/bundle/Resources/translations/messages.en.xliff

Lines changed: 5 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,11 @@
271271
<target state="new">Delete</target>
272272
<note>key: custom_url_alias_add_form.remove</note>
273273
</trans-unit>
274+
<trans-unit id="71a3521d37991dc43b665d2cc94b7e1589360f48" resname="custom_url_alias_add_form.site_access.placeholder">
275+
<source>None</source>
276+
<target state="new">None</target>
277+
<note>key: custom_url_alias_add_form.site_access.placeholder</note>
278+
</trans-unit>
274279
<trans-unit id="3b2d2efac582e8c8d6eccb40d4499ecf9ee21f95" resname="dashboard.charts.no_data">
275280
<source><![CDATA[No data collected<br/> for the selected period]]></source>
276281
<target state="new"><![CDATA[No data collected<br/> for the selected period]]></target>
@@ -573,101 +578,6 @@
573578
<target state="new">Do you want to delete the Object state group(s)?</target>
574579
<note>key: object_state_group.modal.message</note>
575580
</trans-unit>
576-
<trans-unit id="0ba4dd0a3e03edbb23ad81c27bb921449e811cdc" resname="policy.limitation.identifier.changeowner">
577-
<source>Change Owner</source>
578-
<target state="new">Change Owner</target>
579-
<note>key: policy.limitation.identifier.changeowner</note>
580-
</trans-unit>
581-
<trans-unit id="3742f2cc514848bd4a5eb03430e412d44f5d9ec2" resname="policy.limitation.identifier.class">
582-
<source>Content Type</source>
583-
<target state="new">Content Type</target>
584-
<note>key: policy.limitation.identifier.class</note>
585-
</trans-unit>
586-
<trans-unit id="76adf2a27f1ae0ab14b623729cd3f281a6e2c285" resname="policy.limitation.identifier.group">
587-
<source>Content Type Group</source>
588-
<target state="new">Content Type Group</target>
589-
<note>key: policy.limitation.identifier.group</note>
590-
</trans-unit>
591-
<trans-unit id="cee78b25ec2de77cf09109e6a2ac175a515a8350" resname="policy.limitation.identifier.language">
592-
<source>Language</source>
593-
<target state="new">Language</target>
594-
<note>key: policy.limitation.identifier.language</note>
595-
</trans-unit>
596-
<trans-unit id="ab9163a435d32610a7a1af8df07ab38eebc4c7c6" resname="policy.limitation.identifier.newsection">
597-
<source>New Section</source>
598-
<target state="new">New Section</target>
599-
<note>key: policy.limitation.identifier.newsection</note>
600-
</trans-unit>
601-
<trans-unit id="a9958f1d76f4685bf5fc32eee7514046db942160" resname="policy.limitation.identifier.newstate">
602-
<source>New State</source>
603-
<target state="new">New State</target>
604-
<note>key: policy.limitation.identifier.newstate</note>
605-
</trans-unit>
606-
<trans-unit id="be2b0449251f53db814dc4fbbb27e534419add2b" resname="policy.limitation.identifier.node">
607-
<source>Location</source>
608-
<target state="new">Location</target>
609-
<note>key: policy.limitation.identifier.node</note>
610-
</trans-unit>
611-
<trans-unit id="9daf8e1a94a6409f9b9b102e042c2858e4307ea8" resname="policy.limitation.identifier.owner">
612-
<source>Owner</source>
613-
<target state="new">Owner</target>
614-
<note>key: policy.limitation.identifier.owner</note>
615-
</trans-unit>
616-
<trans-unit id="e3773b71c8e7fda97f221ab25a6c25164d179d84" resname="policy.limitation.identifier.parentclass">
617-
<source>Content Type of Parent</source>
618-
<target state="new">Content Type of Parent</target>
619-
<note>key: policy.limitation.identifier.parentclass</note>
620-
</trans-unit>
621-
<trans-unit id="39bf0d9c1e0e8b64193bf09d83fbd89c2dac3421" resname="policy.limitation.identifier.parentdepth">
622-
<source>Parent Depth</source>
623-
<target state="new">Parent Depth</target>
624-
<note>key: policy.limitation.identifier.parentdepth</note>
625-
</trans-unit>
626-
<trans-unit id="cb52ff8582459d1bc981e9f98cf1c79876f83a1e" resname="policy.limitation.identifier.parentgroup">
627-
<source>Content Type Group of Parent</source>
628-
<target state="new">Content Type Group of Parent</target>
629-
<note>key: policy.limitation.identifier.parentgroup</note>
630-
</trans-unit>
631-
<trans-unit id="6208b97847450b255559e4a56c51ff06b76a08dd" resname="policy.limitation.identifier.parentowner">
632-
<source>Owner of Parent</source>
633-
<target state="new">Owner of Parent</target>
634-
<note>key: policy.limitation.identifier.parentowner</note>
635-
</trans-unit>
636-
<trans-unit id="9f2e53e094725bbc243ad777547724ab923a31d1" resname="policy.limitation.identifier.role">
637-
<source>Role</source>
638-
<target state="new">Role</target>
639-
<note>key: policy.limitation.identifier.role</note>
640-
</trans-unit>
641-
<trans-unit id="bb77b27363dad566197a200290f0f0b18baa4705" resname="policy.limitation.identifier.section">
642-
<source>Section</source>
643-
<target state="new">Section</target>
644-
<note>key: policy.limitation.identifier.section</note>
645-
</trans-unit>
646-
<trans-unit id="548bc922c693c8259cbfd3354451a3035e2fa6f6" resname="policy.limitation.identifier.siteaccess">
647-
<source>SiteAccess</source>
648-
<target state="new">SiteAccess</target>
649-
<note>key: policy.limitation.identifier.siteaccess</note>
650-
</trans-unit>
651-
<trans-unit id="30cc18895dfb23b14d3f9b8249e90baf678c8180" resname="policy.limitation.identifier.state">
652-
<source>State</source>
653-
<target state="new">State</target>
654-
<note>key: policy.limitation.identifier.state</note>
655-
</trans-unit>
656-
<trans-unit id="53975d67feacf6fed717a52ad538ba77dc533dc2" resname="policy.limitation.identifier.status">
657-
<source>Status</source>
658-
<target state="new">Status</target>
659-
<note>key: policy.limitation.identifier.status</note>
660-
</trans-unit>
661-
<trans-unit id="2291e238752ad3c4d20ef08253f5d5736f6382d2" resname="policy.limitation.identifier.subtree">
662-
<source>Subtree</source>
663-
<target state="new">Subtree</target>
664-
<note>key: policy.limitation.identifier.subtree</note>
665-
</trans-unit>
666-
<trans-unit id="097f571a3c731c66c83230e465f4b3c9af811add" resname="policy.limitation.identifier.userpermissions">
667-
<source>User Permissions</source>
668-
<target state="new">User Permissions</target>
669-
<note>key: policy.limitation.identifier.userpermissions</note>
670-
</trans-unit>
671581
<trans-unit id="77e814db3b3f1bd68101d274277bee08d164f0a2" resname="policy.limitation.none">
672582
<source>None</source>
673583
<target state="new">None</target>
@@ -743,11 +653,6 @@
743653
<target state="new">Swap the Content item at this Location with another</target>
744654
<note>key: tab.locations.swap_with_another</note>
745655
</trans-unit>
746-
<trans-unit id="6743551a4c574620f3e473ee18d9217d32f88eb4" resname="tab.urls.add.empty.label">
747-
<source>None</source>
748-
<target state="new">None</target>
749-
<note>key: tab.urls.add.empty.label</note>
750-
</trans-unit>
751656
<trans-unit id="d2e707023baa6830915c5d12b915974d627522e4" resname="tab.versions.table.action.archived.edit">
752657
<source>Restore archived version</source>
753658
<target state="new">Restore archived version</target>

src/bundle/Resources/translations/section.en.xliff

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
77
</header>
88
<body>
9-
<trans-unit id="cf10aced822b4dfb2cb519a82ed0adabaa4e480e" resname="dashboard.tab.my_drafts.empty">
10-
<source>No content. Drafts you create will show up here</source>
11-
<target state="new">No content. Drafts you create will show up here</target>
12-
<note>key: dashboard.tab.my_drafts.empty</note>
13-
</trans-unit>
149
<trans-unit id="128df491a522e7af4916cd002d9e11a3d2bc4078" resname="section.action.delete">
1510
<source>Delete</source>
1611
<target state="new">Delete</target>

src/lib/Limitation/Mapper/ChangeOwnerLimitationMapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,10 @@ public function setFormTemplate(string $formTemplate): void
8787
public static function getTranslationMessages(): array
8888
{
8989
return [
90-
Message::create(new Message(
90+
Message::create(
9191
LimitationIdentifierToLabelConverter::convert('changeowner'),
9292
'ezplatform_content_forms_policies'
93-
))->setDesc('Change Owner'),
93+
)->setDesc('Change Owner'),
9494
];
9595
}
9696
}

src/lib/Limitation/Mapper/ContentTypeLimitationMapper.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,18 +60,18 @@ public function mapLimitationValue(Limitation $limitation)
6060
public static function getTranslationMessages(): array
6161
{
6262
return [
63-
Message::create(new Message(
63+
Message::create(
6464
LimitationIdentifierToLabelConverter::convert('class'),
6565
'ezplatform_content_forms_policies'
66-
))->setDesc('Content Type'),
67-
Message::create(new Message(
66+
)->setDesc('Content Type'),
67+
Message::create(
6868
LimitationIdentifierToLabelConverter::convert('parentclass'),
6969
'ezplatform_content_forms_policies'
70-
))->setDesc('Content Type of Parent'),
71-
Message::create(new Message(
70+
)->setDesc('Content Type of Parent'),
71+
Message::create(
7272
LimitationIdentifierToLabelConverter::convert('parentgroup'),
7373
'ezplatform_content_forms_policies'
74-
))->setDesc('Content Type Group of Parent'),
74+
)->setDesc('Content Type Group of Parent'),
7575
];
7676
}
7777
}

src/lib/Limitation/Mapper/GroupLimitationMapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ public function mapLimitationValue(Limitation $limitation)
5050
public static function getTranslationMessages(): array
5151
{
5252
return [
53-
Message::create(new Message(
53+
Message::create(
5454
LimitationIdentifierToLabelConverter::convert('group'),
5555
'ezplatform_content_forms_policies'
56-
))->setDesc('Content Type Group'),
56+
)->setDesc('Content Type Group'),
5757
];
5858
}
5959
}

src/lib/Limitation/Mapper/LanguageLimitationMapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ public function mapLimitationValue(Limitation $limitation)
5959
public static function getTranslationMessages(): array
6060
{
6161
return [
62-
Message::create(new Message(
62+
Message::create(
6363
LimitationIdentifierToLabelConverter::convert('language'),
6464
'ezplatform_content_forms_policies'
65-
))->setDesc('Language'),
65+
)->setDesc('Language'),
6666
];
6767
}
6868
}

src/lib/Limitation/Mapper/MemberOfLimitationMapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ private function getSelfUserGroupLabel(): string
103103
public static function getTranslationMessages(): array
104104
{
105105
return [
106-
Message::create(new Message(
106+
Message::create(
107107
LimitationIdentifierToLabelConverter::convert('memberof'),
108108
'ezplatform_content_forms_policies'
109-
))->setDesc('MemberOf'),
109+
)->setDesc('MemberOf'),
110110
];
111111
}
112112
}

src/lib/Limitation/Mapper/NullLimitationMapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public function mapLimitationValue(Limitation $limitation)
4747
public static function getTranslationMessages(): array
4848
{
4949
return [
50-
Message::create(new Message(
50+
Message::create(
5151
LimitationIdentifierToLabelConverter::convert('status'),
5252
'ezplatform_content_forms_policies'
53-
))->setDesc('Status'),
53+
)->setDesc('Status'),
5454
];
5555
}
5656
}

0 commit comments

Comments
 (0)