Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 034ae72

Browse files
ENGCOM-1124: [Forwardport] Added language translation, make proper sentence and removed unused delete html container #14408
- Merge Pull Request magento/magento2#14408 from rostyslav-hymon/magento2:2.3-develop-PR-port-14308 - Merged commits: 1. d5719d3 2. 3a211c7 3. 2bfb0d8
2 parents 160e368 + 2bfb0d8 commit 034ae72

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

app/code/Magento/Integration/i18n/en_US.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Reset,Reset
9393
"A token with consumer ID 0 does not exist","A token with consumer ID 0 does not exist"
9494
"The integration you selected asks you to approve access to the following:","The integration you selected asks you to approve access to the following:"
9595
"No permissions requested","No permissions requested"
96-
"Are you sure ?","Are you sure ?"
96+
"Are you sure?","Are you sure?"
9797
"Are you sure you want to delete this integration? You can't undo this action.","Are you sure you want to delete this integration? You can't undo this action."
9898
"Please setup or sign in into your 3rd party account to complete setup of this integration.","Please setup or sign in into your 3rd party account to complete setup of this integration."
9999
"Available APIs","Available APIs"

app/code/Magento/Integration/view/adminhtml/templates/integration/popup_container.phtml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
$('div#integrationGrid').on('click', 'button#delete', function (e) {
3434

3535
new Confirm({
36-
title: 'Are you sure?',
37-
content: "Are you sure you want to delete this integration? You can't undo this action.",
36+
title: '<?= /* @escapeNotVerified */ __('Are you sure?') ?>',
37+
content: "<?= /* @escapeNotVerified */ __("Are you sure you want to delete this integration? You can't undo this action.") ?>",
3838
actions: {
3939
confirm: function () {
4040
window.location.href = $(e.target).data('url');
@@ -47,14 +47,4 @@
4747
});
4848
</script>
4949

50-
<div id="integration-popup-container" style="display: none;"></div>
51-
<div id="integration-delete-container"
52-
class="messages"
53-
style="display: none;"
54-
title="<?= /* @escapeNotVerified */ __('Are you sure ?') ?>">
55-
<div class="message message-notice notice">
56-
<div>
57-
<?= /* @escapeNotVerified */ __("Are you sure you want to delete this integration? You can't undo this action.") ?>
58-
</div>
59-
</div>
60-
</div>
50+
<div id="integration-popup-container" style="display: none;"></div>

0 commit comments

Comments
 (0)