Skip to content

Commit 9fccdb5

Browse files
author
Oleksii Korshenko
committed
MAGETWO-69153: Fixed the Inconsistent Gift Options checkbox labels #9421 #9525
- Merge Pull Request #9525 from vpiyappan/magento2:develop - Merged commits: 1. f68dd92
2 parents 2c89e48 + f68dd92 commit 9fccdb5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,22 @@ OK,OK
2222
"Gift Options","Gift Options"
2323
"Gift Message","Gift Message"
2424
"Do you have any gift items in your order?","Do you have any gift items in your order?"
25-
"Add gift options","Add gift options"
25+
"Add Gift Options","Add Gift Options"
2626
"Gift Options for the Entire Order","Gift Options for the Entire Order"
2727
"Leave this box blank if you don\'t want to leave a gift message for the entire order.","Leave this box blank if you don\'t want to leave a gift message for the entire order."
2828
"Gift Options for Individual Items","Gift Options for Individual Items"
2929
"<span>Item %1</span> of %2","<span>Item %1</span> of %2"
3030
"Leave a box blank if you don\'t want to add a gift message for that item.","Leave a box blank if you don\'t want to add a gift message for that item."
3131
"Add Gift Options for the Entire Order","Add Gift Options for the Entire Order"
3232
"You can leave this box blank if you don\'t want to add a gift message for this address.","You can leave this box blank if you don\'t want to add a gift message for this address."
33-
"Add gift options for Individual Items","Add gift options for Individual Items"
33+
"Add Gift Options for Individual Items","Add Gift Options for Individual Items"
3434
"You can leave this box blank if you don\'t want to add a gift message for the item.","You can leave this box blank if you don\'t want to add a gift message for the item."
3535
"Gift Message (optional)","Gift Message (optional)"
3636
To:,To:
3737
From:,From:
3838
Message:,Message:
3939
Update,Update
40-
"Gift options","Gift options"
40+
"Gift Options","Gift Options"
4141
Edit,Edit
4242
Delete,Delete
4343
"Allow Gift Messages on Order Level","Allow Gift Messages on Order Level"

app/code/Magento/GiftMessage/view/frontend/templates/inline.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<div class="field choice" id="add-gift-options-<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>">
1616
<input type="checkbox" name="allow_gift_options" id="allow_gift_options" data-mage-init='{"giftOptions":{}}' value="1" data-selector='{"id":"#allow-gift-options-container"}'<?php if ($block->getItemsHasMesssages() || $block->getEntityHasMessage()): ?> checked="checked"<?php endif; ?> class="checkbox" />
17-
<label for="allow_gift_options" class="label"><span><?php /* @escapeNotVerified */ echo __('Add gift options') ?></span></label>
17+
<label for="allow_gift_options" class="label"><span><?php /* @escapeNotVerified */ echo __('Add Gift Options') ?></span></label>
1818
</div>
1919

2020
<dl class="options-items" id="allow-gift-options-container">
@@ -148,7 +148,7 @@
148148

149149
<div class="field choice" id="add-gift-options-<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>">
150150
<input type="checkbox" name="allow_gift_options_<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>" id="allow_gift_options_<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>" data-mage-init='{"giftOptions":{}}' value="1" data-selector='{"id":"#allow-gift-options-container-<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>"}'<?php if ($block->getItemsHasMesssages() || $block->getEntityHasMessage()): ?> checked="checked"<?php endif; ?> class="checkbox" />
151-
<label for="allow_gift_options_<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>" class="label"><span><?php /* @escapeNotVerified */ echo __('Add gift options') ?></span></label>
151+
<label for="allow_gift_options_<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>" class="label"><span><?php /* @escapeNotVerified */ echo __('Add Gift Options') ?></span></label>
152152
</div>
153153

154154
<dl class="options-items" id="allow-gift-options-container-<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>">
@@ -197,7 +197,7 @@
197197
<dt id="add-gift-options-for-items-<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>" class="order-title individual">
198198
<div class="field choice">
199199
<input type="checkbox" name="allow_gift_options_for_items_<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>" id="allow_gift_options_for_items_<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>" data-mage-init='{"giftOptions":{}}' value="1" data-selector='{"id":"#allow-gift-options-for-items-container-<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>"}'<?php if ($block->getItemsHasMesssages()): ?> checked="checked"<?php endif; ?> class="checkbox" />
200-
<label for="allow_gift_options_for_items_<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>" class="label"><span><?php /* @escapeNotVerified */ echo __('Add gift options for Individual Items') ?></span></label>
200+
<label for="allow_gift_options_for_items_<?php /* @escapeNotVerified */ echo $block->getEntity()->getId() ?>" class="label"><span><?php /* @escapeNotVerified */ echo __('Add Gift Options for Individual Items') ?></span></label>
201201
</div>
202202
</dt>
203203

0 commit comments

Comments
 (0)