Skip to content

Commit 2fbd1ed

Browse files
committed
Resolve ImportExport module missing some translation
1 parent 6ccd942 commit 2fbd1ed

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: '<?php echo __('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: '<?php echo __('Invalid response'); ?>'
213213
});
214214

215215
return false;

0 commit comments

Comments
 (0)