Skip to content

Commit aa303d0

Browse files
committed
added croatian translations
fixed orders in form
1 parent b4b2a6d commit aa303d0

File tree

5 files changed

+28
-6
lines changed

5 files changed

+28
-6
lines changed

src/Form/Type/HTPayWayOffsiteGatewayConfigurationType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
2323
ChoiceType::class,
2424
[
2525
'choices' => [
26-
'locastic.sylius_ht_payway_plugin.form.no' => 0,
2726
'locastic.sylius_ht_payway_plugin.form.yes' => 1,
27+
'locastic.sylius_ht_payway_plugin.form.no' => 0,
2828
],
2929
'label' => 'locastic.sylius_ht_payway_plugin.form.sandbox',
3030
]
@@ -64,8 +64,8 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
6464
ChoiceType::class,
6565
[
6666
'choices' => [
67-
'locastic.sylius_ht_payway_plugin.form.no' => 1,
6867
'locastic.sylius_ht_payway_plugin.form.yes' => 0,
68+
'locastic.sylius_ht_payway_plugin.form.no' => 1,
6969
],
7070
'label' => 'locastic.sylius_ht_payway_plugin.form.authorization_type',
7171
]
@@ -75,8 +75,8 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
7575
ChoiceType::class,
7676
[
7777
'choices' => [
78-
'locastic.sylius_ht_payway_plugin.form.no' => 0,
7978
'locastic.sylius_ht_payway_plugin.form.yes' => 1,
79+
'locastic.sylius_ht_payway_plugin.form.no' => 0,
8080
],
8181
'label' => 'locastic.sylius_ht_payway_plugin.form.disable_installments',
8282
]
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
locastic:
22
sylius_ht_payway_plugin:
3+
ui:
4+
ht_payway_offsite: HT Offsite (form) payment
35
form:
46
yes: Yes
57
no: No
68
sandbox: Sandbox
79
shop_id: Shop ID
8-
shop_id_not_blank: Shop ID cannot be blank.
910
secret_key: Secret Key
10-
secret_key_not_blank: Secret key cannot be blank.
11-
authorization_type: Pre authorization
11+
authorization_type: Enable Pre authorization
1212
disable_installments: Disable installments
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
locastic:
2+
sylius_ht_payway_plugin:
3+
ui:
4+
ht_payway_offsite: HT Offsite (form) payment
5+
form:
6+
yes: Da
7+
no: Ne
8+
sandbox: Sandbox
9+
shop_id: Shop ID
10+
secret_key: Tajni kljul
11+
authorization_type: Uključi predautorizaciju
12+
disable_installments: Onemogući plaćanje na rate
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
locastic:
2+
sylius_ht_payway_plugin:
3+
form:
4+
shop_id_not_blank: Shop ID cannot be blank
5+
secret_key_not_blank: Secret key cannot be blank
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
locastic:
2+
sylius_ht_payway_plugin:
3+
form:
4+
shop_id_not_blank: Shop ID ne može biti prazan
5+
secret_key_not_blank: Tajni ključ ne može biti prazan

0 commit comments

Comments
 (0)