Skip to content

Commit

Permalink
Merge branch '1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
lchrusciel committed Nov 7, 2024
2 parents c9aee45 + 8ccc2ad commit cf38f3b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ public function process(ContainerBuilder $container): void
]);
}

if ($this->hasWinzouStateMachineGraph('sylius_refund_refund_payment', $stateMachineDefaultAdapter, $stateMachineAdapterMapping)) {
if (
$container->hasExtension('sylius_refund') &&
$this->hasWinzouStateMachineGraph('sylius_refund_refund_payment', $stateMachineDefaultAdapter, $stateMachineAdapterMapping)
) {
$container->prependExtensionConfig('winzou_state_machine', [
'sylius_refund_refund_payment' => [
'callbacks' => [
Expand Down
2 changes: 1 addition & 1 deletion translations/messages.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ commerce_weavers_sylius_tpay:
year: 'Year'
year_placeholder: 'Choose a year'
holder_name: 'Cardholder name'
number: 'Number'
number: 'Card number'
save_credit_card_for_later:
label: 'Save card for later'
use_saved_credit_card:
Expand Down
2 changes: 1 addition & 1 deletion translations/messages.pl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ commerce_weavers_sylius_tpay:
year: 'Rok'
year_placeholder: 'Wybierz rok'
holder_name: 'Imię i nazwisko właściciela'
number: 'Numer'
number: 'Numer karty'
save_credit_card_for_later:
label: 'Zapisz kartę na później'
use_saved_credit_card:
Expand Down

0 comments on commit cf38f3b

Please sign in to comment.