Skip to content

Commit

Permalink
Fixed buttons label
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasOsti committed Oct 19, 2023
1 parent 4dfa70d commit 9ea23cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/bundle/Resources/translations/locationview.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<note>key: bulk_action.failed.modal.content_type_name</note>
</trans-unit>
<trans-unit id="fdc7d270cec1081be5a6888bf565ff03eebc6ce9" resname="content.create.cancel_btn.label">
<source>Cancel</source>
<target state="new">Cancel</target>
<source>Discard</source>
<target state="new">Discard</target>
<note>key: content.create.cancel_btn.label</note>
</trans-unit>
<trans-unit id="61c309bd68782746767f9165eb574f111b50a727" resname="content.create.create_content">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
<target state="new">Or choose from list</target>
<note>key: content.create.filters.desc</note>
</trans-unit>
<trans-unit id="1713d0deb6344882cf915babb2df574556a3f82c" resname="content_create.cancel.label">
<source>Cancel</source>
<target state="new">Cancel</target>
<note>key: content_create.cancel.label</note>
<trans-unit id="698796eecd8fcb7c7ffb1fcc8499b6e47f23ffb2" resname="content_create.discard.label">
<source>Discard</source>
<target state="new">Discard</target>
<note>key: content_create.discard.label</note>
</trans-unit>
<trans-unit id="6597ed9c77295271a62deaf86cddcab2a332af8d" resname="content_create.label">
<source>Content create</source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}
}) }}
<button class="btn ibexa-btn ibexa-btn--secondary ibexa-extra-actions__btn ibexa-extra-actions__btn--cancel" type="button">
{{ 'content.create.cancel_btn.label'|trans|desc('Cancel') }}
{{ 'content.create.cancel_btn.label'|trans|desc('Discard') }}
</button>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const ContentCreateWidget = () => {
);
const createLabel = Translator.trans(/*@Desc("Create")*/ 'create_content.create', {}, 'universal_discovery_widget');
const closeLabel = Translator.trans(/*@Desc("Close")*/ 'popup.close.label', {}, 'universal_discovery_widget');
const cancelLabel = Translator.trans(/*@Desc("Cancel")*/ 'content_create.cancel.label', {}, 'universal_discovery_widget');
const cancelLabel = Translator.trans(/*@Desc("Discard")*/ 'content_create.discard.label', {}, 'universal_discovery_widget');
const placeholder = Translator.trans(/*@Desc("Type to refine")*/ 'content_create.placeholder', {}, 'universal_discovery_widget');
const filtersDescLabel = Translator.trans(
/*@Desc("Or choose from list")*/ 'content.create.filters.desc',
Expand Down

0 comments on commit 9ea23cb

Please sign in to comment.