Skip to content

Commit

Permalink
Transaction status translations
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Aug 20, 2024
1 parent 02e43b3 commit 2464180
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/records/PaymentTransactionRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function getStatusComponent()
return Cp::statusLabelHtml([
'color' => $color->value,
'icon' => null,
'label' => $this->status,
'label' => \Craft::t('mollie-payments', $this->status),
'indicatorClass' => null,
]);
}
Expand Down
3 changes: 3 additions & 0 deletions src/translations/fr/mollie-payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@
'How these payments are called in Mollie. You can include tags that output entry properties, such as {myCustomField}. Defaults to "Order #payment.id".' => "Comment ces paiements sont ,appelés dans Mollie. Vous pouvez inclure des balises qui affichent les propriétés de l'entrée, telles que {myCustomField}. Par défaut : 'Commande #payment.id'.",
'In Cart' => 'Dans le panier',
'Pending' => 'En attente',
'pending' => 'En attente',
'Free' => 'Gratuit',
'Paid' => 'Payé',
'paid' => 'payé',
'Expired' => 'Expiré',
'expired' => 'expiré',
'Refunded' => 'Remboursé',
'Transactions' => 'Transactions',
'Date' => 'Date',
Expand Down
5 changes: 5 additions & 0 deletions src/translations/nl/mollie-payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,15 @@
'How these payments are called in Mollie. You can include tags that output entry properties, such as {myCustomField}. Defaults to "Order #payment.id".' => 'Referenties van de betaling bij Mollie. Je kan velden van de betaling gebruiken, op deze manier: {myCustomField}. Standaard waarde is "Order #payment.id".',
'In Cart' => 'In mandje',
'Pending' => 'In afwachting',
'pending' => 'In afwachting',
'Free' => 'Gratis',
'free' => 'gratis',
'Paid' => 'Betaald',
'paid' => 'betaald',
'Expired' => 'Vervallen',
'expired' => 'vervallen',
'Refunded' => 'Terugbetaald',
'refunded' => 'terugbetaald',
'Transactions' => 'Transacties',
'Date' => 'Datum',
'Method' => 'Betalingsmethode',
Expand Down

0 comments on commit 2464180

Please sign in to comment.