Skip to content

Commit 62208fb

Browse files
author
Cari Spruiell
committed
Merge remote-tracking branch 'remotes/api/MAGETWO-43612-Untranslatable-phrases-in-Magento-2' into API-Bug-PR
2 parents abb8d3b + 22e65b3 commit 62208fb

File tree

9 files changed

+39
-2
lines changed

9 files changed

+39
-2
lines changed

app/code/Magento/Catalog/view/adminhtml/templates/catalog/product/attribute/options.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
$storelist = $block->getStores();
2121
foreach ($storelist as $_store):
2222
?>
23-
<th><?php /* @escapeNotVerified */ echo $_store->getName() ?></th>
23+
<th><?php /* @escapeNotVerified */ echo __($_store->getName()) ?></th>
2424
<?php endforeach;
2525
$storetotal = count($storelist) + 3;
2626
?>

app/code/Magento/Paypal/Model/Info.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,9 @@ protected function _getFullInfo(array $keys, \Magento\Payment\Model\InfoInterfac
568568
}
569569
if (!empty($this->_paymentMapFull[$key]['value'])) {
570570
if ($labelValuesOnly) {
571-
$result[$this->_paymentMapFull[$key]['label']] = $this->_paymentMapFull[$key]['value'];
571+
$value = $this->_paymentMapFull[$key]['value'];
572+
$value = is_array($value) ? array_map('__', $value) : __($value);
573+
$result[$this->_paymentMapFull[$key]['label']] = $value;
572574
} else {
573575
$result[$key] = $this->_paymentMapFull[$key];
574576
}

app/code/Magento/Paypal/i18n/de_DE.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,3 +687,8 @@ Vendor,Vendor
687687
"Website Payments Pro Hosted Solution and Express Checkout","Website Payments Pro Hosted Solution and Express Checkout"
688688
"Basic Settings - PayPal Website Payments Pro Hosted Solution","Basic Settings - PayPal Website Payments Pro Hosted Solution"
689689
"PayPal Payment Solutions","PayPal Payment Solutions"
690+
verified,verified
691+
unverified,unverified
692+
Eligible,Eligible
693+
Ineligible,Inligible
694+
"PayPal Express Checkout","PayPal Express Checkout"

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,3 +687,8 @@ Vendor,Vendor
687687
"Website Payments Pro Hosted Solution and Express Checkout","Website Payments Pro Hosted Solution and Express Checkout"
688688
"Basic Settings - PayPal Website Payments Pro Hosted Solution","Basic Settings - PayPal Website Payments Pro Hosted Solution"
689689
"PayPal Payment Solutions","PayPal Payment Solutions"
690+
verified,verified
691+
unverified,unverified
692+
Eligible,Eligible
693+
Ineligible,Inligible
694+
"PayPal Express Checkout","PayPal Express Checkout"

app/code/Magento/Paypal/i18n/es_ES.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,3 +687,8 @@ Vendor,Vendor
687687
"Website Payments Pro Hosted Solution and Express Checkout","Website Payments Pro Hosted Solution and Express Checkout"
688688
"Basic Settings - PayPal Website Payments Pro Hosted Solution","Basic Settings - PayPal Website Payments Pro Hosted Solution"
689689
"PayPal Payment Solutions","PayPal Payment Solutions"
690+
verified,verified
691+
unverified,unverified
692+
Eligible,Eligible
693+
Ineligible,Inligible
694+
"PayPal Express Checkout","PayPal Express Checkout"

app/code/Magento/Paypal/i18n/fr_FR.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,3 +687,8 @@ Vendor,Vendor
687687
"Website Payments Pro Hosted Solution and Express Checkout","Website Payments Pro Hosted Solution and Express Checkout"
688688
"Basic Settings - PayPal Website Payments Pro Hosted Solution","Basic Settings - PayPal Website Payments Pro Hosted Solution"
689689
"PayPal Payment Solutions","PayPal Payment Solutions"
690+
verified,verified
691+
unverified,unverified
692+
Eligible,Eligible
693+
Ineligible,Inligible
694+
"PayPal Express Checkout","PayPal Express Checkout"

app/code/Magento/Paypal/i18n/nl_NL.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,3 +687,8 @@ Vendor,Vendor
687687
"Website Payments Pro Hosted Solution and Express Checkout","Website Payments Pro Hosted Solution and Express Checkout"
688688
"Basic Settings - PayPal Website Payments Pro Hosted Solution","Basic Settings - PayPal Website Payments Pro Hosted Solution"
689689
"PayPal Payment Solutions","PayPal Payment Solutions"
690+
verified,verified
691+
unverified,unverified
692+
Eligible,Eligible
693+
Ineligible,Inligible
694+
"PayPal Express Checkout","PayPal Express Checkout"

app/code/Magento/Paypal/i18n/pt_BR.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,3 +687,8 @@ Vendor,Vendor
687687
"Website Payments Pro Hosted Solution and Express Checkout","Website Payments Pro Hosted Solution and Express Checkout"
688688
"Basic Settings - PayPal Website Payments Pro Hosted Solution","Basic Settings - PayPal Website Payments Pro Hosted Solution"
689689
"PayPal Payment Solutions","PayPal Payment Solutions"
690+
verified,verified
691+
unverified,unverified
692+
Eligible,Eligible
693+
Ineligible,Inligible
694+
"PayPal Express Checkout","PayPal Express Checkout"

app/code/Magento/Paypal/i18n/zh_Hans_CN.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,3 +687,8 @@ Vendor,Vendor
687687
"Website Payments Pro Hosted Solution and Express Checkout","Website Payments Pro Hosted Solution and Express Checkout"
688688
"Basic Settings - PayPal Website Payments Pro Hosted Solution","Basic Settings - PayPal Website Payments Pro Hosted Solution"
689689
"PayPal Payment Solutions","PayPal Payment Solutions"
690+
verified,verified
691+
unverified,unverified
692+
Eligible,Eligible
693+
Ineligible,Inligible
694+
"PayPal Express Checkout","PayPal Express Checkout"

0 commit comments

Comments
 (0)