Skip to content

Commit

Permalink
Reformat strings to avoid double quotes errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Sep 26, 2023
1 parent 7f9120e commit d58a68d
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion inc/settings/mollie_advanced_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
/* translators: Placeholder 1: enabled or disabled */
'desc' => sprintf(
__(
'Should Mollie store customers name and email address for Single Click Payments? Default <code>%1$s</code>. Required if WooCommerce Subscriptions is being used! Read more about <a href="https://help.mollie.com/hc/en-us/articles/115000671249-What-are-single-click-payments-and-how-does-it-work-">%2$s</a> and how it improves your conversion.',
'Should Mollie store customers name and email address for Single Click Payments? Default <code>%1$s</code>. Required if WooCommerce Subscriptions is being used! Read more about <a href=\'https://help.mollie.com/hc/en-us/articles/115000671249-What-are-single-click-payments-and-how-does-it-work-\'>%2$s</a> and how it improves your conversion.',
'mollie-payments-for-woocommerce'
),
strtolower(__('Enabled', 'mollie-payments-for-woocommerce')),
Expand Down
2 changes: 1 addition & 1 deletion src/Gateway/Voucher/VoucherModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function mollieOptionsProductTabContent()
'default' => $defaultCategory,
/* translators: Placeholder 1: Default order status, placeholder 2: Link to 'Hold Stock' setting */
'description' => __(
'In order to process it, all products in the order must have a category. To disable the product from voucher selection select "No category" option.',
"In order to process it, all products in the order must have a category. To disable the product from voucher selection select 'No category' option.",
'mollie-payments-for-woocommerce'
),
'desc_tip' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentMethods/Creditcard.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected function includeMollieComponentsFields($generalFormFields)
/* translators: Placeholder 1: Mollie Components.*/
'description' => sprintf(
__(
'Use the Mollie Components for this Gateway. Read more about <a href="https://www.mollie.com/en/news/post/better-checkout-flows-with-mollie-components?utm_source=woocommerce&utm_medium=plugin&utm_campaign=partner">%s</a> and how it improves your conversion.',
'Use the Mollie Components for this Gateway. Read more about <a href=\'https://www.mollie.com/en/news/post/better-checkout-flows-with-mollie-components?utm_source=woocommerce&utm_medium=plugin&utm_campaign=partner\'>%s</a> and how it improves your conversion.',
'mollie-payments-for-woocommerce'
),
__('Mollie Components', 'mollie-payments-for-woocommerce')
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentMethods/Directdebit.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ protected function getConfig(): array
return [
'id' => 'directdebit',
'defaultTitle' => __('SEPA Direct Debit', 'mollie-payments-for-woocommerce'),
'settingsDescription' => __('SEPA Direct Debit is used for recurring payments with WooCommerce Subscriptions, and will not be shown in the WooCommerce checkout for regular payments! You also need to enable iDEAL and/or other "first" payment methods if you want to use SEPA Direct Debit.', 'mollie-payments-for-woocommerce'),
'settingsDescription' => __("SEPA Direct Debit is used for recurring payments with WooCommerce Subscriptions, and will not be shown in the WooCommerce checkout for regular payments! You also need to enable iDEAL and/or other 'first' payment methods if you want to use SEPA Direct Debit.", 'mollie-payments-for-woocommerce'),
'defaultDescription' => '',
'paymentFields' => false,
'instructions' => true,
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentMethods/Ideal.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function getFormFields($generalFormFields): array
'type' => 'text',
'description' => sprintf(
__(
'This text will be displayed as the first option in the iDEAL issuers drop down, if nothing is entered, "Select your bank" will be shown. Only if the above \'Show iDEAL banks dropdown\' is enabled.',
"This text will be displayed as the first option in the iDEAL issuers drop down, if nothing is entered, 'Select your bank' will be shown. Only if the above 'Show iDEAL banks dropdown' is enabled.",
'mollie-payments-for-woocommerce'
),
$this->getConfig()['defaultTitle']
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentMethods/Kbc.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function getFormFields($generalFormFields): array
'type' => 'text',
'description' => sprintf(
__(
'This text will be displayed as the first option in the KBC/CBC issuers drop down, if nothing is entered, "Select your bank" will be shown. Only if the above \'\'Show KBC/CBC banks dropdown\' is enabled.',
"This text will be displayed as the first option in the KBC/CBC issuers drop down, if nothing is entered, 'Select your bank' will be shown. Only if the above 'Show KBC/CBC banks dropdown' is enabled.',
'mollie-payments-for-woocommerce'
),
$this->getConfig()['defaultTitle']
Expand Down
2 changes: 1 addition & 1 deletion src/Settings/Page/MollieSettingsPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ protected function checkDirectDebitStatus($content): string
$sepaGatewayAllowed = !empty($this->registeredGateways["mollie_wc_gateway_directdebit"]);
if ($sepaGatewayAllowed && !$isSepaEnabled) {
$warning_message = __(
'You have WooCommerce Subscriptions activated, but not SEPA Direct Debit. Enable SEPA Direct Debit if you want to allow customers to pay subscriptions with iDEAL and/or other "first" payment methods.',
"You have WooCommerce Subscriptions activated, but not SEPA Direct Debit. Enable SEPA Direct Debit if you want to allow customers to pay subscriptions with iDEAL and/or other 'first' payment methods.",
'mollie-payments-for-woocommerce'
);

Expand Down

0 comments on commit d58a68d

Please sign in to comment.