Skip to content

Commit

Permalink
IBX-6314: Added missing translation of limitation name
Browse files Browse the repository at this point in the history
  • Loading branch information
mikadamczyk authored and tischsoic committed Aug 30, 2023
1 parent f0b88ca commit 15eae92
Show file tree
Hide file tree
Showing 19 changed files with 156 additions and 150 deletions.
10 changes: 5 additions & 5 deletions src/bundle/Resources/translations/content_url.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@
<target state="new">This item has no custom URL aliases.</target>
<note>key: tab.urls.no_custom_urls</note>
</trans-unit>
<trans-unit id="61f03f8e307131c37fed1b46302b43efcc519d07" resname="tab.urls.no_custom_urls.action">
<source>Add new custom URL aliases manually</source>
<target state="new">Add new custom URL aliases manually</target>
<note>key: tab.urls.no_custom_urls.action</note>
</trans-unit>
<trans-unit id="c9fdd1434b44a4592626e8fe493c19141aab24d5" resname="tab.urls.no_system_urls">
<source>This Content item has no system URLs.</source>
<target state="new">This Content item has no system URLs.</target>
Expand Down Expand Up @@ -131,11 +136,6 @@
<target state="new">URL</target>
<note>key: tab.urls.url</note>
</trans-unit>
<trans-unit id="e69faa33548046dd30da3472456d913f2586a3c5" resname="tab.variants.empty.action">
<source>Add new custom URL aliases manually</source>
<target state="new">Add new custom URL aliases manually</target>
<note>key: tab.variants.empty.action</note>
</trans-unit>
</body>
</file>
</xliff>
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file source-language="en" target-language="en" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<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>
</header>
<body>
<trans-unit id="0ba4dd0a3e03edbb23ad81c27bb921449e811cdc" resname="policy.limitation.identifier.changeowner">
<source>Change Owner</source>
<target state="new">Change Owner</target>
<note>key: policy.limitation.identifier.changeowner</note>
</trans-unit>
<trans-unit id="3742f2cc514848bd4a5eb03430e412d44f5d9ec2" resname="policy.limitation.identifier.class">
<source>Content Type</source>
<target state="new">Content Type</target>
<note>key: policy.limitation.identifier.class</note>
</trans-unit>
<trans-unit id="76adf2a27f1ae0ab14b623729cd3f281a6e2c285" resname="policy.limitation.identifier.group">
<source>Content Type Group</source>
<target state="new">Content Type Group</target>
<note>key: policy.limitation.identifier.group</note>
</trans-unit>
<trans-unit id="cee78b25ec2de77cf09109e6a2ac175a515a8350" resname="policy.limitation.identifier.language">
<source>Language</source>
<target state="new">Language</target>
<note>key: policy.limitation.identifier.language</note>
</trans-unit>
<trans-unit id="ab9163a435d32610a7a1af8df07ab38eebc4c7c6" resname="policy.limitation.identifier.newsection">
<source>New Section</source>
<target state="new">New Section</target>
<note>key: policy.limitation.identifier.newsection</note>
</trans-unit>
<trans-unit id="a9958f1d76f4685bf5fc32eee7514046db942160" resname="policy.limitation.identifier.newstate">
<source>New State</source>
<target state="new">New State</target>
<note>key: policy.limitation.identifier.newstate</note>
</trans-unit>
<trans-unit id="be2b0449251f53db814dc4fbbb27e534419add2b" resname="policy.limitation.identifier.node">
<source>Location</source>
<target state="new">Location</target>
<note>key: policy.limitation.identifier.node</note>
</trans-unit>
<trans-unit id="9daf8e1a94a6409f9b9b102e042c2858e4307ea8" resname="policy.limitation.identifier.owner">
<source>Owner</source>
<target state="new">Owner</target>
<note>key: policy.limitation.identifier.owner</note>
</trans-unit>
<trans-unit id="e3773b71c8e7fda97f221ab25a6c25164d179d84" resname="policy.limitation.identifier.parentclass">
<source>Content Type of Parent</source>
<target state="new">Content Type of Parent</target>
<note>key: policy.limitation.identifier.parentclass</note>
</trans-unit>
<trans-unit id="39bf0d9c1e0e8b64193bf09d83fbd89c2dac3421" resname="policy.limitation.identifier.parentdepth">
<source>Parent Depth</source>
<target state="new">Parent Depth</target>
<note>key: policy.limitation.identifier.parentdepth</note>
</trans-unit>
<trans-unit id="cb52ff8582459d1bc981e9f98cf1c79876f83a1e" resname="policy.limitation.identifier.parentgroup">
<source>Content Type Group of Parent</source>
<target state="new">Content Type Group of Parent</target>
<note>key: policy.limitation.identifier.parentgroup</note>
</trans-unit>
<trans-unit id="6208b97847450b255559e4a56c51ff06b76a08dd" resname="policy.limitation.identifier.parentowner">
<source>Owner of Parent</source>
<target state="new">Owner of Parent</target>
<note>key: policy.limitation.identifier.parentowner</note>
</trans-unit>
<trans-unit id="9f2e53e094725bbc243ad777547724ab923a31d1" resname="policy.limitation.identifier.role">
<source>Role</source>
<target state="new">Role</target>
<note>key: policy.limitation.identifier.role</note>
</trans-unit>
<trans-unit id="bb77b27363dad566197a200290f0f0b18baa4705" resname="policy.limitation.identifier.section">
<source>Section</source>
<target state="new">Section</target>
<note>key: policy.limitation.identifier.section</note>
</trans-unit>
<trans-unit id="548bc922c693c8259cbfd3354451a3035e2fa6f6" resname="policy.limitation.identifier.siteaccess">
<source>SiteAccess</source>
<target state="new">SiteAccess</target>
<note>key: policy.limitation.identifier.siteaccess</note>
</trans-unit>
<trans-unit id="30cc18895dfb23b14d3f9b8249e90baf678c8180" resname="policy.limitation.identifier.state">
<source>State</source>
<target state="new">State</target>
<note>key: policy.limitation.identifier.state</note>
</trans-unit>
<trans-unit id="53975d67feacf6fed717a52ad538ba77dc533dc2" resname="policy.limitation.identifier.status">
<source>Status</source>
<target state="new">Status</target>
<note>key: policy.limitation.identifier.status</note>
</trans-unit>
<trans-unit id="2291e238752ad3c4d20ef08253f5d5736f6382d2" resname="policy.limitation.identifier.subtree">
<source>Subtree</source>
<target state="new">Subtree</target>
<note>key: policy.limitation.identifier.subtree</note>
</trans-unit>
<trans-unit id="097f571a3c731c66c83230e465f4b3c9af811add" resname="policy.limitation.identifier.userpermissions">
<source>User Permissions</source>
<target state="new">User Permissions</target>
<note>key: policy.limitation.identifier.userpermissions</note>
</trans-unit>
</body>
</file>
</xliff>
105 changes: 5 additions & 100 deletions src/bundle/Resources/translations/messages.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@
<target state="new">Delete</target>
<note>key: custom_url_alias_add_form.remove</note>
</trans-unit>
<trans-unit id="71a3521d37991dc43b665d2cc94b7e1589360f48" resname="custom_url_alias_add_form.site_access.placeholder">
<source>None</source>
<target state="new">None</target>
<note>key: custom_url_alias_add_form.site_access.placeholder</note>
</trans-unit>
<trans-unit id="3b2d2efac582e8c8d6eccb40d4499ecf9ee21f95" resname="dashboard.charts.no_data">
<source><![CDATA[No data collected<br/> for the selected period]]></source>
<target state="new"><![CDATA[No data collected<br/> for the selected period]]></target>
Expand Down Expand Up @@ -573,101 +578,6 @@
<target state="new">Do you want to delete the Object state group(s)?</target>
<note>key: object_state_group.modal.message</note>
</trans-unit>
<trans-unit id="0ba4dd0a3e03edbb23ad81c27bb921449e811cdc" resname="policy.limitation.identifier.changeowner">
<source>Change Owner</source>
<target state="new">Change Owner</target>
<note>key: policy.limitation.identifier.changeowner</note>
</trans-unit>
<trans-unit id="3742f2cc514848bd4a5eb03430e412d44f5d9ec2" resname="policy.limitation.identifier.class">
<source>Content Type</source>
<target state="new">Content Type</target>
<note>key: policy.limitation.identifier.class</note>
</trans-unit>
<trans-unit id="76adf2a27f1ae0ab14b623729cd3f281a6e2c285" resname="policy.limitation.identifier.group">
<source>Content Type Group</source>
<target state="new">Content Type Group</target>
<note>key: policy.limitation.identifier.group</note>
</trans-unit>
<trans-unit id="cee78b25ec2de77cf09109e6a2ac175a515a8350" resname="policy.limitation.identifier.language">
<source>Language</source>
<target state="new">Language</target>
<note>key: policy.limitation.identifier.language</note>
</trans-unit>
<trans-unit id="ab9163a435d32610a7a1af8df07ab38eebc4c7c6" resname="policy.limitation.identifier.newsection">
<source>New Section</source>
<target state="new">New Section</target>
<note>key: policy.limitation.identifier.newsection</note>
</trans-unit>
<trans-unit id="a9958f1d76f4685bf5fc32eee7514046db942160" resname="policy.limitation.identifier.newstate">
<source>New State</source>
<target state="new">New State</target>
<note>key: policy.limitation.identifier.newstate</note>
</trans-unit>
<trans-unit id="be2b0449251f53db814dc4fbbb27e534419add2b" resname="policy.limitation.identifier.node">
<source>Location</source>
<target state="new">Location</target>
<note>key: policy.limitation.identifier.node</note>
</trans-unit>
<trans-unit id="9daf8e1a94a6409f9b9b102e042c2858e4307ea8" resname="policy.limitation.identifier.owner">
<source>Owner</source>
<target state="new">Owner</target>
<note>key: policy.limitation.identifier.owner</note>
</trans-unit>
<trans-unit id="e3773b71c8e7fda97f221ab25a6c25164d179d84" resname="policy.limitation.identifier.parentclass">
<source>Content Type of Parent</source>
<target state="new">Content Type of Parent</target>
<note>key: policy.limitation.identifier.parentclass</note>
</trans-unit>
<trans-unit id="39bf0d9c1e0e8b64193bf09d83fbd89c2dac3421" resname="policy.limitation.identifier.parentdepth">
<source>Parent Depth</source>
<target state="new">Parent Depth</target>
<note>key: policy.limitation.identifier.parentdepth</note>
</trans-unit>
<trans-unit id="cb52ff8582459d1bc981e9f98cf1c79876f83a1e" resname="policy.limitation.identifier.parentgroup">
<source>Content Type Group of Parent</source>
<target state="new">Content Type Group of Parent</target>
<note>key: policy.limitation.identifier.parentgroup</note>
</trans-unit>
<trans-unit id="6208b97847450b255559e4a56c51ff06b76a08dd" resname="policy.limitation.identifier.parentowner">
<source>Owner of Parent</source>
<target state="new">Owner of Parent</target>
<note>key: policy.limitation.identifier.parentowner</note>
</trans-unit>
<trans-unit id="9f2e53e094725bbc243ad777547724ab923a31d1" resname="policy.limitation.identifier.role">
<source>Role</source>
<target state="new">Role</target>
<note>key: policy.limitation.identifier.role</note>
</trans-unit>
<trans-unit id="bb77b27363dad566197a200290f0f0b18baa4705" resname="policy.limitation.identifier.section">
<source>Section</source>
<target state="new">Section</target>
<note>key: policy.limitation.identifier.section</note>
</trans-unit>
<trans-unit id="548bc922c693c8259cbfd3354451a3035e2fa6f6" resname="policy.limitation.identifier.siteaccess">
<source>SiteAccess</source>
<target state="new">SiteAccess</target>
<note>key: policy.limitation.identifier.siteaccess</note>
</trans-unit>
<trans-unit id="30cc18895dfb23b14d3f9b8249e90baf678c8180" resname="policy.limitation.identifier.state">
<source>State</source>
<target state="new">State</target>
<note>key: policy.limitation.identifier.state</note>
</trans-unit>
<trans-unit id="53975d67feacf6fed717a52ad538ba77dc533dc2" resname="policy.limitation.identifier.status">
<source>Status</source>
<target state="new">Status</target>
<note>key: policy.limitation.identifier.status</note>
</trans-unit>
<trans-unit id="2291e238752ad3c4d20ef08253f5d5736f6382d2" resname="policy.limitation.identifier.subtree">
<source>Subtree</source>
<target state="new">Subtree</target>
<note>key: policy.limitation.identifier.subtree</note>
</trans-unit>
<trans-unit id="097f571a3c731c66c83230e465f4b3c9af811add" resname="policy.limitation.identifier.userpermissions">
<source>User Permissions</source>
<target state="new">User Permissions</target>
<note>key: policy.limitation.identifier.userpermissions</note>
</trans-unit>
<trans-unit id="77e814db3b3f1bd68101d274277bee08d164f0a2" resname="policy.limitation.none">
<source>None</source>
<target state="new">None</target>
Expand Down Expand Up @@ -743,11 +653,6 @@
<target state="new">Swap the Content item at this Location with another</target>
<note>key: tab.locations.swap_with_another</note>
</trans-unit>
<trans-unit id="6743551a4c574620f3e473ee18d9217d32f88eb4" resname="tab.urls.add.empty.label">
<source>None</source>
<target state="new">None</target>
<note>key: tab.urls.add.empty.label</note>
</trans-unit>
<trans-unit id="d2e707023baa6830915c5d12b915974d627522e4" resname="tab.versions.table.action.archived.edit">
<source>Restore archived version</source>
<target state="new">Restore archived version</target>
Expand Down
5 changes: 0 additions & 5 deletions src/bundle/Resources/translations/section.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,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>
</header>
<body>
<trans-unit id="cf10aced822b4dfb2cb519a82ed0adabaa4e480e" resname="dashboard.tab.my_drafts.empty">
<source>No content. Drafts you create will show up here</source>
<target state="new">No content. Drafts you create will show up here</target>
<note>key: dashboard.tab.my_drafts.empty</note>
</trans-unit>
<trans-unit id="128df491a522e7af4916cd002d9e11a3d2bc4078" resname="section.action.delete">
<source>Delete</source>
<target state="new">Delete</target>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Limitation/Mapper/ChangeOwnerLimitationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ public function setFormTemplate(string $formTemplate): void
public static function getTranslationMessages(): array
{
return [
Message::create(new Message(
Message::create(
LimitationIdentifierToLabelConverter::convert('changeowner'),
'ezplatform_content_forms_policies'
))->setDesc('Change Owner'),
)->setDesc('Change Owner'),
];
}
}
12 changes: 6 additions & 6 deletions src/lib/Limitation/Mapper/ContentTypeLimitationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ public function mapLimitationValue(Limitation $limitation)
public static function getTranslationMessages(): array
{
return [
Message::create(new Message(
Message::create(
LimitationIdentifierToLabelConverter::convert('class'),
'ezplatform_content_forms_policies'
))->setDesc('Content Type'),
Message::create(new Message(
)->setDesc('Content Type'),
Message::create(
LimitationIdentifierToLabelConverter::convert('parentclass'),
'ezplatform_content_forms_policies'
))->setDesc('Content Type of Parent'),
Message::create(new Message(
)->setDesc('Content Type of Parent'),
Message::create(
LimitationIdentifierToLabelConverter::convert('parentgroup'),
'ezplatform_content_forms_policies'
))->setDesc('Content Type Group of Parent'),
)->setDesc('Content Type Group of Parent'),
];
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Limitation/Mapper/GroupLimitationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public function mapLimitationValue(Limitation $limitation)
public static function getTranslationMessages(): array
{
return [
Message::create(new Message(
Message::create(
LimitationIdentifierToLabelConverter::convert('group'),
'ezplatform_content_forms_policies'
))->setDesc('Content Type Group'),
)->setDesc('Content Type Group'),
];
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Limitation/Mapper/LanguageLimitationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ public function mapLimitationValue(Limitation $limitation)
public static function getTranslationMessages(): array
{
return [
Message::create(new Message(
Message::create(
LimitationIdentifierToLabelConverter::convert('language'),
'ezplatform_content_forms_policies'
))->setDesc('Language'),
)->setDesc('Language'),
];
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Limitation/Mapper/MemberOfLimitationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ private function getSelfUserGroupLabel(): string
public static function getTranslationMessages(): array
{
return [
Message::create(new Message(
Message::create(
LimitationIdentifierToLabelConverter::convert('memberof'),
'ezplatform_content_forms_policies'
))->setDesc('MemberOf'),
)->setDesc('MemberOf'),
];
}
}
4 changes: 2 additions & 2 deletions src/lib/Limitation/Mapper/NullLimitationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ public function mapLimitationValue(Limitation $limitation)
public static function getTranslationMessages(): array
{
return [
Message::create(new Message(
Message::create(
LimitationIdentifierToLabelConverter::convert('status'),
'ezplatform_content_forms_policies'
))->setDesc('Status'),
)->setDesc('Status'),
];
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/lib/Limitation/Mapper/ObjectStateLimitationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ protected function getObjectStateLabel(ObjectState $state)
public static function getTranslationMessages(): array
{
return [
Message::create(new Message(
Message::create(
LimitationIdentifierToLabelConverter::convert('newstate'),
'ezplatform_content_forms_policies'
))->setDesc('New State'),
Message::create(new Message(
)->setDesc('New State'),
Message::create(
LimitationIdentifierToLabelConverter::convert('state'),
'ezplatform_content_forms_policies'
))->setDesc('State'),
)->setDesc('State'),
];
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/lib/Limitation/Mapper/OwnerLimitationMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ public function mapLimitationValue(Limitation $limitation)
public static function getTranslationMessages(): array
{
return [
Message::create(new Message(
Message::create(
LimitationIdentifierToLabelConverter::convert('owner'),
'ezplatform_content_forms_policies'
))->setDesc('Owner'),
Message::create(new Message(
)->setDesc('Owner'),
Message::create(
LimitationIdentifierToLabelConverter::convert('parentowner'),
'ezplatform_content_forms_policies'
))->setDesc('Owner of Parent'),
)->setDesc('Owner of Parent'),
];
}
}
Expand Down
Loading

0 comments on commit 15eae92

Please sign in to comment.