Skip to content

[Forwardport] Added translation function for Magento_Braintree module's template file. #16771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Aug 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ $config = [
class="action-braintree-paypal-logo" disabled>
<img class="braintree-paypal-button-hidden"
src="https://checkout.paypal.com/pwpp/2.17.6/images/pay-with-paypal.png"
alt="Pay with PayPal"/>
alt="<?= $block->escapeHtml(__('Pay with PayPal')) ?>"
title="<?= $block->escapeHtml(__('Pay with PayPal')) ?>"/>
</button>
</div>
2 changes: 1 addition & 1 deletion app/code/Magento/Integration/Test/Unit/Oauth/OauthTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ public function testGetAccessTokenVerifierInvalid($verifier, $verifierFromToken)
public function dataProviderForGetAccessTokenVerifierInvalidTest()
{
// Verifier is not a string
return [[3, 3], ['wrong_length', 'wrong_length'], ['verifier', 'doesnt match']];
return [[3, 3], ['wrong_length', 'wrong_length'], ['verifier', 'doesn\'t match']];
}

public function testGetAccessToken()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function force($entityType, $identifier)

if (!isset($sequenceInfo['sequenceTable'])) {
throw new \Exception(
'TODO: use correct Exception class' . PHP_EOL . ' Sequence table doesnt exists'
'TODO: use correct Exception class' . PHP_EOL . ' Sequence table doesn\'t exists'
);
}

Expand Down Expand Up @@ -101,7 +101,7 @@ public function delete($entityType, $identifier)
$metadata = $this->metadataPool->getMetadata($entityType);
$sequenceInfo = $this->sequenceRegistry->retrieve($entityType);
if (!isset($sequenceInfo['sequenceTable'])) {
throw new \Exception('TODO: use correct Exception class' . PHP_EOL . ' Sequence table doesnt exists');
throw new \Exception('TODO: use correct Exception class' . PHP_EOL . ' Sequence table doesn\'t exists');
}
try {
$connection = $this->appResource->getConnectionByName($metadata->getEntityConnectionName());
Expand Down