Skip to content

Commit e4512e1

Browse files
ENGCOM-5551: ImportExport module missing some translation #24017
- Merge Pull Request #24017 from edenduong/magento2:2.3-bugfix/missing_translate_import_export - Merged commits: 1. 2fbd1ed 2. 87c8e2e
2 parents e56640c + 87c8e2e commit e4512e1

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,5 @@ Summary,Summary
123123
"New product data is added to existing product data entries in the database. All fields except SKU can be updated.","New product data is added to existing product data entries in the database. All fields except SKU can be updated."
124124
"All existing product data is replaced with the imported new data. <b>Exercise caution when replacing data. All existing product data will be completely cleared and all references in the system will be lost.</b>","All existing product data is replaced with the imported new data. <b>Exercise caution when replacing data. All existing product data will be completely cleared and all references in the system will be lost.</b>"
125125
"Any entities in the import data that match existing entities in the database are deleted from the database.","Any entities in the import data that match existing entities in the database are deleted from the database."
126+
"Invalid data","Invalid data"
127+
"Invalid response","Invalid response"

app/code/Magento/ImportExport/view/adminhtml/templates/export/form/before.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ require([
8989
form.action = oldAction;
9090
} else {
9191
alert({
92-
content: 'Invalid data'
92+
content: '<?= $block->escapeHtml(__('Invalid data')); ?>'
9393
});
9494
}
9595
};

app/code/Magento/ImportExport/view/adminhtml/templates/import/form/before.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ require([
209209
postToFrameProcessResponse: function(response) {
210210
if ('object' != typeof(response)) {
211211
alert({
212-
content: 'Invalid response'
212+
content: '<?= $block->escapeHtml(__('Invalid response')); ?>'
213213
});
214214

215215
return false;

0 commit comments

Comments
 (0)