-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-29249: Changed texts in relation fields #1183
EZP-29249: Changed texts in relation fields #1183
Conversation
@@ -50,6 +50,11 @@ | |||
&__hidden-column { | |||
display: none; | |||
} | |||
|
|||
&__helper { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would name it __helper-text
@@ -6,5 +6,6 @@ | |||
{% set limit = 1 %} | |||
{% set default_location = form.vars.default_location ? form.vars.default_location.id : null %} | |||
{% set allowed_content_type_identifiers = form.parent.vars.value.fieldDefinition.fieldSettings.selectionContentTypes %} | |||
{% set helper = 'ezobjectrelation.helper'|trans|desc('Stores a relation to a content object.') %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please extract translations.
@@ -6,5 +6,6 @@ | |||
{% set limit = 1 %} | |||
{% set default_location = form.vars.default_location ? form.vars.default_location.id : null %} | |||
{% set allowed_content_type_identifiers = form.parent.vars.value.fieldDefinition.fieldSettings.selectionContentTypes %} | |||
{% set helper = 'ezobjectrelation.helper'|trans|desc('Stores a relation to a content object.') %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{% set helper = 'ezobjectrelation.helper'|trans|desc('Stores a relation to a content object.') %} | |
{% set helper = 'ezobjectrelation.helper'|trans|desc('Stores a Relation to a Content item.') %} |
@@ -6,5 +6,6 @@ | |||
{% set limit = form.parent.vars.value.fieldDefinition.validatorConfiguration.RelationListValueValidator.selectionLimit %} | |||
{% set default_location = form.vars.default_location ? form.vars.default_location.id : null %} | |||
{% set allowed_content_type_identifiers = form.parent.vars.value.fieldDefinition.fieldSettings.selectionContentTypes %} | |||
{% set helper = 'ezobjectrelationlist.helper'|trans|desc('Stores relations to other content objects.') %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{% set helper = 'ezobjectrelationlist.helper'|trans|desc('Stores relations to other content objects.') %} | |
{% set helper = 'ezobjectrelationlist.helper'|trans|desc('Stores Relations to other Content items.') %} |
{% if limit != 0 %} | ||
{{ 'ezobjectrelationlist.cta.limit'|trans({'%limit%': limit})|desc('Set up multiple relations with up to %limit% content items') }} | ||
{% if limit != 1 %} | ||
{{ 'ezobjectrelationlist.cta.limit.multi'|trans|desc('Set up multiple relations with one or several content items') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{ 'ezobjectrelationlist.cta.limit.multi'|trans|desc('Set up multiple relations with one or several content items') }} | |
{{ 'ezobjectrelationlist.cta.limit.multi'|trans|desc('Set up multiple Relations with one or several Content items') }} |
{% if limit != 1 %} | ||
{{ 'ezobjectrelationlist.cta.limit.multi'|trans|desc('Set up multiple relations with one or several content items') }} | ||
{% else %} | ||
{{ 'ezobjectrelationlist.cta.limit.single'|trans|desc('Set up a relation with one content item') }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{ 'ezobjectrelationlist.cta.limit.single'|trans|desc('Set up a relation with one content item') }} | |
{{ 'ezobjectrelationlist.cta.limit.single'|trans|desc('Set up a Relation with one Content item') }} |
@GrabowskiM could you merge it up? |
Added and changed texts in relations fields.
Checklist:
$ composer fix-cs
)