Skip to content

Commit 83c45b6

Browse files
ENGCOM-7535: Added missing translation for modal title & buttons on admin #28174
- Merge Pull Request #28174 from srsathish92/magento2:bug/text-translate-issue - Merged commits: 1. 432e9e2
2 parents 2d09485 + 432e9e2 commit 83c45b6

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,3 +70,4 @@ Stock,Stock
7070
"Use Config Settings","Use Config Settings"
7171
"Qty Uses Decimals","Qty Uses Decimals"
7272
"Allow Multiple Boxes for Shipping","Allow Multiple Boxes for Shipping"
73+
"Done","Done"

app/code/Magento/CatalogInventory/view/adminhtml/ui_component/product_form.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<options>
1212
<option name="buttons" xsi:type="array">
1313
<item name="0" xsi:type="array">
14-
<item name="text" xsi:type="string">Done</item>
14+
<item name="text" xsi:type="string" translate="true">Done</item>
1515
<item name="class" xsi:type="string">action-primary</item>
1616
<item name="actions" xsi:type="array">
1717
<item name="0" xsi:type="array">
@@ -21,7 +21,7 @@
2121
</item>
2222
</item>
2323
</option>
24-
<option name="title" xsi:type="string">Advanced Inventory</option>
24+
<option name="title" xsi:type="string" translate="true">Advanced Inventory</option>
2525
</options>
2626
<onCancel>actionDone</onCancel>
2727
<dataScope>data.product</dataScope>

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,3 +541,4 @@ Addresses,Addresses
541541
"The Date of Birth should not be greater than today.","The Date of Birth should not be greater than today."
542542
"The store view is not in the associated website.","The store view is not in the associated website."
543543
"The Store View selected for sending Welcome email from is not related to the customer's associated website.","The Store View selected for sending Welcome email from is not related to the customer's associated website."
544+
"Add/Update Address","Add/Update Address"

app/code/Magento/Customer/view/base/ui_component/customer_form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@
474474
<modal name="customer_address_update_modal">
475475
<settings>
476476
<options>
477-
<option name="title" xsi:type="string">Add/Update Address</option>
477+
<option name="title" xsi:type="string" translate="true">Add/Update Address</option>
478478
</options>
479479
</settings>
480480
<insertForm name="update_customer_address_form_loader" component="Magento_Customer/js/form/components/insert-form">

0 commit comments

Comments
 (0)