Skip to content

Commit

Permalink
IBX-5472: Missing translation for search.date.range (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM authored May 16, 2023
1 parent 3be8d44 commit 9da7f39
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,11 @@
<target>Subtree</target>
<note>key: policy.limitation.identifier.subtree</note>
</trans-unit>
<trans-unit id="ae8d9836b92dd7d303929104953d877fa9c14fed" resname="policy.limitation.identifier.versionlock">
<source>VersionLock</source>
<target>VersionLock</target>
<note>key: policy.limitation.identifier.versionlock</note>
</trans-unit>
<trans-unit id="920f6a0525d6ba93ff83f46e22baa981ff0b483c" resname="policy.limitation.identifier.workflowstage">
<source>WorkflowStage</source>
<target>WorkflowStage</target>
Expand Down
5 changes: 0 additions & 5 deletions src/bundle/Resources/translations/fieldtypes_preview.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,6 @@
<target state="new">Content Type</target>
<note>key: ezobjectrelation.content_type</note>
</trans-unit>
<trans-unit id="79f0c6856a30e0436b61aa28cfc859df8289edfb" resname="ezobjectrelation.created">
<source>Created</source>
<target state="new">Created</target>
<note>key: ezobjectrelation.created</note>
</trans-unit>
<trans-unit id="feb25b24199466f077038c5e6e38209deae21471" resname="ezobjectrelation.name">
<source>Name</source>
<target state="new">Name</target>
Expand Down
5 changes: 5 additions & 0 deletions src/bundle/Resources/translations/forms.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,11 @@
<target>Content / Translations</target>
<note>key: role.policy.content.translations</note>
</trans-unit>
<trans-unit id="74ccbb06e1226201f9642eefa451b67360a4145b" resname="role.policy.content.unlock">
<source>Content / Unlock</source>
<target>Content / Unlock</target>
<note>key: role.policy.content.unlock</note>
</trans-unit>
<trans-unit id="79ffa7a2f2449d08574ef7c5b1f447b439db97b2" resname="role.policy.content.urltranslator">
<source>Content / Urltranslator</source>
<target>Content / Urltranslator</target>
Expand Down
5 changes: 0 additions & 5 deletions src/bundle/Resources/translations/messages.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,6 @@
<target state="new">Any time</target>
<note>key: search.any_time</note>
</trans-unit>
<trans-unit id="f32993c555744e5c203137f3ee0e380d27e9cfef" resname="search.date.range">
<source>From date - to date</source>
<target state="new">From date - to date</target>
<note>key: search.date.range</note>
</trans-unit>
<trans-unit id="9567771350aff93580f743089937b0c8fe31058e" resname="section.assign,content">
<source>Assign Content</source>
<target state="new">Assign Content</target>
Expand Down
5 changes: 5 additions & 0 deletions src/bundle/Resources/translations/search.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
<target state="new">Custom range</target>
<note>key: search.custom_range</note>
</trans-unit>
<trans-unit id="f32993c555744e5c203137f3ee0e380d27e9cfef" resname="search.date.range">
<source>From date - to date</source>
<target state="new">From date - to date</target>
<note>key: search.date.range</note>
</trans-unit>
<trans-unit id="bf24ae2c9083c948931ad1b4d4405b6261eb9bc6" resname="search.filters">
<source>Filters</source>
<target state="new">Filters</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
<input
type="text"
class="ez-filters__range-select form-control"
placeholder="{{ 'search.date.range'|trans(domain='search')|desc('From date - to date') }}"
placeholder="{{ 'search.date.range'|trans({}, 'search')|desc('From date - to date') }}"
data-start="{{ form.parent.vars.data.lastModified.start_date is defined ? form.parent.vars.data.lastModified.start_date|date("Y-m-d") : '' }}"
data-end="{{ form.parent.vars.data.lastModified.end_date is defined ? form.parent.vars.data.lastModified.end_date|date("Y-m-d") : '' }}"
/>
Expand All @@ -214,7 +214,7 @@
<input
type="text"
class="ez-filters__range-select form-control"
placeholder="{{ 'search.date.range'|trans(domain='search')|desc('From date - to date') }}"
placeholder="{{ 'search.date.range'|trans({}, 'search')|desc('From date - to date') }}"
data-start="{{ form.parent.vars.data.created.start_date is defined ? form.parent.vars.data.created.start_date|date("Y-m-d") : '' }}"
data-end="{{ form.parent.vars.data.created.end_date is defined ? form.parent.vars.data.created.end_date|date("Y-m-d") : '' }}"
/>
Expand All @@ -233,7 +233,7 @@
<input
type="text"
class="ez-trash-search-form__range-select form-control"
placeholder="{{ 'search.date.range'|trans(domain='search')|desc('From date - to date') }}"
placeholder="{{ 'search.date.range'|trans({}, 'search')|desc('From date - to date') }}"
data-start="{{ form.parent.vars.data.trashedInterval.start_date is defined ? form.parent.vars.data.trashedInterval.start_date|date("Y-m-d") : '' }}"
data-end="{{ form.parent.vars.data.trashedInterval.end_date is defined ? form.parent.vars.data.trashedInterval.end_date|date("Y-m-d") : '' }}"
/>
Expand Down

0 comments on commit 9da7f39

Please sign in to comment.