Skip to content

Commit

Permalink
fix translations
Browse files Browse the repository at this point in the history
  • Loading branch information
tischsoic committed Mar 4, 2022
1 parent b6d1a07 commit a457541
Show file tree
Hide file tree
Showing 19 changed files with 46 additions and 70 deletions.
20 changes: 0 additions & 20 deletions src/bundle/Resources/translations/content_type.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,6 @@
<target state="new">Select a language:</target>
<note>key: content_type.edit.select_language</note>
</trans-unit>
<trans-unit id="9eb89a2f51954babc5ff51f9060cbcda91dcf408" resname="content_type.field_definitions.modal.message">
<source>Do you want to delete the selected Field definition(s)?</source>
<target state="new">Do you want to delete the selected Field definition(s)?</target>
<note>key: content_type.field_definitions.modal.message</note>
</trans-unit>
<trans-unit id="2aecf6f88fd1ee89037907b8743d5873879a0590" resname="content_type.field_definitions_data">
<source>Content Field definitions</source>
<target state="new">Content Field definitions</target>
Expand Down Expand Up @@ -811,11 +806,6 @@
<target state="new">Username pattern</target>
<note>key: field_definition.ezuser.username_pattern</note>
</trans-unit>
<trans-unit id="92d9243bb9fac540233dc376b41a3bcd41615ccc" resname="field_definition.field_group">
<source>Category</source>
<target state="new">Category</target>
<note>key: field_definition.field_group</note>
</trans-unit>
<trans-unit id="8b863a9c7cd91565182ad0a3a5e30ca8090f84c7" resname="field_definition.identifier">
<source>Identifier</source>
<target state="new">Identifier</target>
Expand Down Expand Up @@ -866,16 +856,6 @@
<target state="new">Update</target>
<note>key: location_update_form.update</note>
</trans-unit>
<trans-unit id="7fe072f41348fb097b6bb018eec4f1b1bc9cffc3" resname="modal.cancel">
<source>Cancel</source>
<target state="new">Cancel</target>
<note>key: modal.cancel</note>
</trans-unit>
<trans-unit id="9eae227b7c27ab230a6d0ce5947d93e7d2e1626f" resname="modal.delete">
<source>Delete</source>
<target state="new">Delete</target>
<note>key: modal.delete</note>
</trans-unit>
<trans-unit id="fd1286353570c5703799ba76999323b7c7447b06" resname="no">
<source>No</source>
<target state="new">No</target>
Expand Down
5 changes: 0 additions & 5 deletions src/bundle/Resources/translations/content_url.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@
<target state="new">Do you want to delete the selected custom URL alias(es)?</target>
<note>key: tab.urls.modal.message</note>
</trans-unit>
<trans-unit id="777d1a83ab6a6c4644dd31409906e48a0a7a4a51" resname="tab.urls.modal_close">
<source>Close</source>
<target state="new">Close</target>
<note>key: tab.urls.modal_close</note>
</trans-unit>
<trans-unit id="56d218db883ed4cc59dbbca53364dc2e725013e4" resname="tab.urls.no_custom_urls">
<source>This Content item has no custom URL aliases.</source>
<target state="new">This Content item has no custom URL aliases.</target>
Expand Down
5 changes: 0 additions & 5 deletions src/bundle/Resources/translations/draft_conflict.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
<target state="new">You can edit any of your existing draft(s)</target>
<note>key: draft.conflict.choice_content_is_user</note>
</trans-unit>
<trans-unit id="fef7e84ac6fda81cb700fa5519940989c34dd9c7" resname="draft.conflict.close">
<source>Close</source>
<target state="new">Close</target>
<note>key: draft.conflict.close</note>
</trans-unit>
<trans-unit id="57ae8e493adef8a884a3f0c5e9e4501b7f2ec395" resname="draft.conflict.header">
<source>Draft conflict</source>
<target state="new">Draft conflict</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@
<target state="new">Cancel</target>
<note>key: url_wildcard.modal.create.cancel</note>
</trans-unit>
<trans-unit id="3b106aba8acc4b0b7bf7174a49b66ba9411d224a" resname="url_wildcard.modal.create.close">
<source>Close</source>
<target state="new">Close</target>
<note>key: url_wildcard.modal.create.close</note>
</trans-unit>
<trans-unit id="75d2bf0fb2fc725c0e6909a48601346997114d22" resname="url_wildcard.modal.create.redirect">
<source>Redirect to wildcard destination</source>
<target state="new">Redirect to wildcard destination</target>
Expand Down
5 changes: 0 additions & 5 deletions src/bundle/Resources/translations/locationview.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,6 @@
<target state="new">On</target>
<note>key: toggle_widget.label.on</note>
</trans-unit>
<trans-unit id="cf6a7c9a98608dd58b428ce2187e3229b64b5701" resname="translation.modal_close">
<source>Close</source>
<target state="new">Close</target>
<note>key: translation.modal_close</note>
</trans-unit>
<trans-unit id="c285bc654712e44ed56cd6f18262a2d6485f4fb9" resname="user.edit.select_language">
<source>Select a language:</source>
<target state="new">Select a language:</target>
Expand Down
10 changes: 0 additions & 10 deletions src/bundle/Resources/translations/messages.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -503,11 +503,6 @@
<target state="new">Cancel</target>
<note>key: modal.cancel</note>
</trans-unit>
<trans-unit id="ec403158b3fd1e13dbc66f2de51e235fdb178188" resname="modal.close">
<source>Close</source>
<target state="new">Close</target>
<note>key: modal.close</note>
</trans-unit>
<trans-unit id="9eae227b7c27ab230a6d0ce5947d93e7d2e1626f" resname="modal.delete">
<source>Delete</source>
<target state="new">Delete</target>
Expand Down Expand Up @@ -708,11 +703,6 @@
<target state="new">Cancel</target>
<note>key: trash.form.cancel</note>
</trans-unit>
<trans-unit id="7f37e5f732ee7101a696a881cf22045bcd11359c" resname="trash.modal.close">
<source>Close</source>
<target state="new">Close</target>
<note>key: trash.modal.close</note>
</trans-unit>
<trans-unit id="2720e3018fc8b1158cb728b1d5dc377ef7293b57" resname="trash.modal.message">
<source>Do you want to delete the selected item(s) from Trash?</source>
<target state="new">Do you want to delete the selected item(s) from Trash?</target>
Expand Down
21 changes: 21 additions & 0 deletions src/bundle/Resources/translations/modal.en.xliff
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?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="8b23f97eb81bd9e3e5b47f858e2922e526a9c1cb" resname="close_btn.aria_label">
<source>Close</source>
<target state="new">Close</target>
<note>key: close_btn.aria_label</note>
</trans-unit>
<trans-unit id="16af4f3a9799e5f803be1d7d9ca493e74bd2db40" resname="close_btn.title">
<source>Close</source>
<target state="new">Close</target>
<note>key: close_btn.title</note>
</trans-unit>
</body>
</file>
</xliff>
5 changes: 0 additions & 5 deletions src/bundle/Resources/translations/notifications.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
<target state="new">View Notifications</target>
<note>key: menu.notification</note>
</trans-unit>
<trans-unit id="eb06b630bdbe8797de235f738a47ccc5b824aa2c" resname="notification.close">
<source>Close</source>
<target state="new">Close</target>
<note>key: notification.close</note>
</trans-unit>
<trans-unit id="fc349b70133a7a68cae9be363e112ee397044b6a" resname="notification.date">
<source>Date</source>
<target state="new">Date</target>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{% trans_default_domain 'locationview' %}

{% form_theme form '@ibexadesign/content/translation_add_form_fields.html.twig' %}

{% embed '@ibexadesign/ui/component/modal/modal.html.twig' with {
title: 'tab.translations.add.title'|trans|desc('Create a new translation'),
class: 'ibexa-translation',
id: 'add-translation-modal',
} %}
{% trans_default_domain 'locationview' %}
{% form_theme form '@ibexadesign/content/translation_add_form_fields.html.twig' %}

{% block content_before %}
{% set action = action is defined ? action : path('ibexa.translation.add') %}
{{ form_start(form, {'action': action}) }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
id: 'version-draft-conflict-modal',
version_modal_draft_conflict: _self,
} %}
{% trans_default_domain 'draft_conflict' %}
{% import version_modal_draft_conflict as version_modal_draft_conflict_embed %}

{% block body_content %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
no_header_border: true,
id: 'bulk-action-failed-modal',
} %}
{% trans_default_domain 'locationview' %}

{% block body_content %}
{% set table_row_template %}
{{ include('@ibexadesign/ui/component/table/table_body_row.html.twig', {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{% form_theme form '@ibexadesign/ui/form_fields.html.twig' %}

{% embed '@ibexadesign/ui/component/modal/modal.html.twig' with {
title: 'content.view.subitems.bulk_action.limited_permissions'|trans|desc('Limited user permissions'),
class: 'ibexa-modal--send-to-trash ibexa-modal--trash-location',
attr: {
'data-content-name': content_name|default(''),
},
no_header: true,
id: 'trash-location-modal',
} %}
{% form_theme form '@ibexadesign/ui/form_fields.html.twig' %}

{% block content_before %}
{{ form_start(form, {'action': path('ibexa.location.trash')}) }}
{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{% trans_default_domain 'user_delete' %}

{% form_theme form '@ibexadesign/ui/form_fields.html.twig' %}

{% embed '@ibexadesign/ui/component/modal/modal.html.twig' with {
class: 'ibexa-modal--send-to-trash',
no_header: true,
id: 'delete-user-modal',
} %}
{% trans_default_domain 'user_delete' %}
{% form_theme form '@ibexadesign/ui/form_fields.html.twig' %}

{% block body_content %}
{{ 'delete.modal.message'|trans|desc('Are you sure you want to delete this User?') }}
{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
class: 'ibexa-modal--version-conflict',
id: 'version-conflict-modal',
} %}
{% trans_default_domain 'version_conflict' %}

{% block body_content %}
<p class="ibexa-modal-body__explanation">
<strong>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{% trans_default_domain 'content_url' %}
{% form_theme form '@ibexadesign/content/form_fields.html.twig' '@ibexadesign/content/tab/url/checkbox.html.twig' %}

{% embed '@ibexadesign/ui/component/modal/modal.html.twig' with {
title: 'tab.urls.add.title'|trans|desc('Create a new URL alias'),
class: 'ibexa-modal--custom-url-alias',
size: 'large',
id: 'ibexa-modal--custom-url-alias',
} %}
{% trans_default_domain 'content_url' %}
{% form_theme form '@ibexadesign/content/form_fields.html.twig' '@ibexadesign/content/tab/url/checkbox.html.twig' %}

{% block content_before %}
{{ form_start(form, {'action': path('ibexa.custom_url.add')}) }}
{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% trans_default_domain 'language' %}

{% embed '@ibexadesign/ui/component/modal/modal.html.twig' with {
class: 'ibexa-modal--send-to-trash',
no_header: true,
id: 'delete-language-modal',
} %}
{% trans_default_domain 'language' %}

{% block body_content %}
<p>{{ 'language.modal.message'|trans|desc('Do you want to delete the language(s)?') }}</p>
{% endblock %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% form_theme form '@ibexadesign/ui/form_fields.html.twig' %}

{% embed '@ibexadesign/ui/component/modal/modal.html.twig' with {
class: 'ibexa-modal--send-to-trash',
no_header: true,
id: 'delete-section-modal',
} %}
{% form_theme form '@ibexadesign/ui/form_fields.html.twig' %}

{% block body_content %}
<p class="ibexa-modal-body__main">
{{ 'section.modal.message'|trans|desc('Do you want to delete the Section(s)?') }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{% form_theme form '@ibexadesign/ui/form_fields.html.twig' %}

{% embed '@ibexadesign/ui/component/modal/modal.html.twig' with {
class: 'ibexa-modal--send-to-trash',
no_header: true,
id: 'confirmEmptyTrash',
} %}
{% form_theme form '@ibexadesign/ui/form_fields.html.twig' %}

{% block body_content %}
<p class="ibexa-modal-body__main">
{{ 'trash.delete.all.confirm'|trans({'%trashItemsCount%': trash_items_count})|desc('Are you sure you want to permanently delete %trashItemsCount% item(s)?') }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{% trans_default_domain 'ezplatform_url_wildcard' %}
{% form_theme form '@ibexadesign/content/form_fields.html.twig' '@ibexadesign/content/tab/url/checkbox.html.twig' %}

{% embed '@ibexadesign/ui/component/modal/modal.html.twig' with {
title: 'url_wildcard.modal.create.title'|trans|desc('Create a new URL wildcard'),
class: 'ibexa-modal--url-wildcards',
id,
} %}
{% trans_default_domain 'ezplatform_url_wildcard' %}
{% form_theme form '@ibexadesign/content/form_fields.html.twig' '@ibexadesign/content/tab/url/checkbox.html.twig' %}

{% block content_before %}
{{ form_start(form, {'action': path('ibexa.url_wildcard.add')}) }}
{% endblock %}
Expand Down

0 comments on commit a457541

Please sign in to comment.