Merge pull request #4740 from rahulshukla-webkul/development

Translation added for all lang for transaction and align en lang
This commit is contained in:
Jitendra Singh 2021-03-15 20:10:27 +05:30 committed by GitHub
commit a1d22dd543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 1364 additions and 1194 deletions

View File

@ -81,7 +81,8 @@ return [
'campaigns' => 'Campaigns', 'campaigns' => 'Campaigns',
'email-templates' => 'Email Templates', 'email-templates' => 'Email Templates',
'discount' => 'خصم', 'discount' => 'خصم',
'cms' => 'CMS' 'cms' => 'CMS',
'transactions' => 'Transactions'
], ],
'acl' => [ 'acl' => [
@ -240,7 +241,9 @@ return [
'view' => 'رأي', 'view' => 'رأي',
'rtl' => 'RTL', 'rtl' => 'RTL',
'ltr' => 'LTR', 'ltr' => 'LTR',
'update-status' => 'تحديث الحالة' 'update-status' => 'تحديث الحالة',
'transaction-id' => 'Transaction Id',
'transaction-date' => 'Transaction Date',
], ],
'account' => [ 'account' => [
@ -392,6 +395,7 @@ return [
'comment' => 'Comment', 'comment' => 'Comment',
'submit-comment' => 'Submit Comment', 'submit-comment' => 'Submit Comment',
'notify-customer' => 'Notify Customer', 'notify-customer' => 'Notify Customer',
'transactions' => 'Transactions'
], ],
'invoices' => [ 'invoices' => [
@ -468,6 +472,20 @@ return [
'action' => 'عمل', 'action' => 'عمل',
'view-title' => '#:refund_id إعادة مال', 'view-title' => '#:refund_id إعادة مال',
'invalid-refund-amount-error' => 'يجب ألا يكون المبلغ المسترد صفرًا' 'invalid-refund-amount-error' => 'يجب ألا يكون المبلغ المسترد صفرًا'
],
'transactions' => [
'title' => 'Transactions',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details'
] ]
], ],

View File

@ -81,6 +81,7 @@ return [
'tax-rates' => 'Steuersätze', 'tax-rates' => 'Steuersätze',
'discount' => 'Rabatt', 'discount' => 'Rabatt',
'cms' => 'CMS', 'cms' => 'CMS',
'transactions' => 'Transactions'
], ],
'acl' => 'acl' =>
[ [
@ -240,6 +241,8 @@ return [
'rtl' => 'RTL', 'rtl' => 'RTL',
'ltr' => 'LTR', 'ltr' => 'LTR',
'update-status' => 'Update-Status', 'update-status' => 'Update-Status',
'transaction-id' => 'Transaction Id',
'transaction-date' => 'Transaction Date',
], ],
'account' => 'account' =>
[ [
@ -388,6 +391,7 @@ return [
'cancel-confirm-msg' => 'Sind Sie sicher, dass Sie diese Bestellung stornieren möchten?', 'cancel-confirm-msg' => 'Sind Sie sicher, dass Sie diese Bestellung stornieren möchten?',
'refund-btn-title' => 'Rückerstattung', 'refund-btn-title' => 'Rückerstattung',
'refunds' => 'Erstattungen', 'refunds' => 'Erstattungen',
'transactions' => 'Transactions'
], ],
'invoices' => 'invoices' =>
[ [
@ -462,6 +466,20 @@ return [
'view-title' => 'Rückerstattung #:refund_id', 'view-title' => 'Rückerstattung #:refund_id',
'invalid-refund-amount-error' => 'Der Rückerstattungsbetrag sollte nicht Null sein.', 'invalid-refund-amount-error' => 'Der Rückerstattungsbetrag sollte nicht Null sein.',
], ],
'transactions' => [
'title' => 'Transactions',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details'
]
], ],
'catalog' => 'catalog' =>
[ [

File diff suppressed because it is too large Load Diff

View File

@ -79,7 +79,8 @@ return [
'campaigns' => 'Campaigns', 'campaigns' => 'Campaigns',
'email-templates' => 'Email Templates', 'email-templates' => 'Email Templates',
'discount' => 'Descuento', 'discount' => 'Descuento',
'cms' => 'CMS' 'cms' => 'CMS',
'transactions' => 'Transactions'
], ],
'acl' => [ 'acl' => [
@ -237,7 +238,9 @@ return [
'view' => 'Ver', 'view' => 'Ver',
'rtl' => 'RTL', 'rtl' => 'RTL',
'ltr' => 'LTR', 'ltr' => 'LTR',
'update-status' => 'Actualizar Estado' 'update-status' => 'Actualizar Estado',
'transaction-id' => 'Transaction Id',
'transaction-date' => 'Transaction Date',
], ],
'account' => [ 'account' => [
@ -384,7 +387,8 @@ return [
'total-due' => 'Total adeudado', 'total-due' => 'Total adeudado',
'cancel-confirm-msg' => '¿Está seguro que desea cancelar este pedido?', 'cancel-confirm-msg' => '¿Está seguro que desea cancelar este pedido?',
'refund-btn-title' => 'El monto del reembolso no debe ser cero', 'refund-btn-title' => 'El monto del reembolso no debe ser cero',
'refunds' => 'Reembolsos' 'refunds' => 'Reembolsos',
'transactions' => 'Transactions'
], ],
'invoices' => [ 'invoices' => [
@ -461,6 +465,20 @@ return [
'view-title' => 'Reembolso #:refund_id', 'view-title' => 'Reembolso #:refund_id',
'invalid-refund-amount-error' => 'El monto del reembolso no debe ser cero.' 'invalid-refund-amount-error' => 'El monto del reembolso no debe ser cero.'
],
'transactions' => [
'title' => 'Transactions',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details'
] ]
], ],

View File

@ -80,7 +80,8 @@ return [
'campaigns' => 'Campaigns', 'campaigns' => 'Campaigns',
'email-templates' => 'Email Templates', 'email-templates' => 'Email Templates',
'discount' => 'تخفیف', 'discount' => 'تخفیف',
'cms' => 'CMS' 'cms' => 'CMS',
'transactions' => 'Transactions'
], ],
'acl' => [ 'acl' => [
@ -238,7 +239,9 @@ return [
'view' => 'چشم انداز', 'view' => 'چشم انداز',
'rtl' => 'RTL', 'rtl' => 'RTL',
'ltr' => 'LTR', 'ltr' => 'LTR',
'update-status' => 'وضعیت به روز رسانی' 'update-status' => 'وضعیت به روز رسانی',
'transaction-id' => 'Transaction Id',
'transaction-date' => 'Transaction Date',
], ],
'account' => [ 'account' => [
@ -390,6 +393,7 @@ return [
'comment' => 'Comment', 'comment' => 'Comment',
'submit-comment' => 'Submit Comment', 'submit-comment' => 'Submit Comment',
'notify-customer' => 'Notify Customer', 'notify-customer' => 'Notify Customer',
'transactions' => 'Transactions'
], ],
'invoices' => [ 'invoices' => [
@ -466,6 +470,20 @@ return [
'view-title' => ' #:refund_id بازپرداخت', 'view-title' => ' #:refund_id بازپرداخت',
'invalid-refund-amount-error' => 'مبلغ بازپرداخت باید صفر نباشد.' 'invalid-refund-amount-error' => 'مبلغ بازپرداخت باید صفر نباشد.'
],
'transactions' => [
'title' => 'Transactions',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details'
] ]
], ],

View File

@ -80,7 +80,8 @@ return [
'campaigns' => 'Campaigns', 'campaigns' => 'Campaigns',
'email-templates' => 'Email Templates', 'email-templates' => 'Email Templates',
'discount' => 'Sconti', 'discount' => 'Sconti',
'cms' => 'CMS' 'cms' => 'CMS',
'transactions' => 'Transactions'
], ],
'acl' => [ 'acl' => [
@ -239,7 +240,9 @@ return [
'view' => 'Vedi', 'view' => 'Vedi',
'rtl' => 'RTL', 'rtl' => 'RTL',
'ltr' => 'LTR', 'ltr' => 'LTR',
'update-status' => 'Update Stato' 'update-status' => 'Update Stato',
'transaction-id' => 'Transaction Id',
'transaction-date' => 'Transaction Date',
], ],
'account' => [ 'account' => [
@ -392,7 +395,8 @@ return [
'submit-comment' => 'Invia Commento', 'submit-comment' => 'Invia Commento',
'notify-customer' => 'Notifica Cliente', 'notify-customer' => 'Notifica Cliente',
'customer-notified' => ':date | Cliente <b>Notificato</b>', 'customer-notified' => ':date | Cliente <b>Notificato</b>',
'customer-not-notified' => ':date | Cliente <b>Non Notificato</b>' 'customer-not-notified' => ':date | Cliente <b>Non Notificato</b>',
'transactions' => 'Transactions'
], ],
'invoices' => [ 'invoices' => [
@ -468,6 +472,20 @@ return [
'view-title' => 'Rimborso #:refund_id', 'view-title' => 'Rimborso #:refund_id',
'invalid-refund-amount-error' => 'La somma rimborsata dovrebbe essere diversa da zero.' 'invalid-refund-amount-error' => 'La somma rimborsata dovrebbe essere diversa da zero.'
],
'transactions' => [
'title' => 'Transactions',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details'
] ]
], ],

View File

@ -80,7 +80,8 @@ return [
'campaigns' => 'Campaigns', 'campaigns' => 'Campaigns',
'email-templates' => 'Email Templates', 'email-templates' => 'Email Templates',
'discount' => 'Korting', 'discount' => 'Korting',
'cms' => 'CMS' 'cms' => 'CMS',
'transactions' => 'Transactions'
], ],
'acl' => [ 'acl' => [
@ -391,6 +392,7 @@ return [
'comment' => 'Comment', 'comment' => 'Comment',
'submit-comment' => 'Submit Comment', 'submit-comment' => 'Submit Comment',
'notify-customer' => 'Notify Customer', 'notify-customer' => 'Notify Customer',
'transactions' => 'Transactions'
], ],
'invoices' => [ 'invoices' => [
@ -467,6 +469,20 @@ return [
'view-title' => 'Terugbetaling #:refund_id', 'view-title' => 'Terugbetaling #:refund_id',
'invalid-refund-amount-error' => 'Het restitutiebedrag mag niet nul zijn.' 'invalid-refund-amount-error' => 'Het restitutiebedrag mag niet nul zijn.'
],
'transactions' => [
'title' => 'Transactions',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details'
] ]
], ],

View File

@ -79,7 +79,8 @@ return [
'campaigns' => 'Campaigns', 'campaigns' => 'Campaigns',
'email-templates' => 'Email Templates', 'email-templates' => 'Email Templates',
'discount' => 'Rabat', 'discount' => 'Rabat',
'cms' => 'System CMS' 'cms' => 'System CMS',
'transactions' => 'Transactions'
], ],
'acl' => [ 'acl' => [
@ -237,7 +238,9 @@ return [
'view' => 'Widok', 'view' => 'Widok',
'rtl' => 'RTL', 'rtl' => 'RTL',
'ltr' => 'LTR', 'ltr' => 'LTR',
'update-status' => 'Aktualizcja statusu' 'update-status' => 'Aktualizcja statusu',
'transaction-id' => 'Transaction Id',
'transaction-date' => 'Transaction Date',
], ],
'account' => [ 'account' => [
@ -390,7 +393,8 @@ return [
'submit-comment' => 'Prześlij komentarz', 'submit-comment' => 'Prześlij komentarz',
'notify-customer' => 'Powiadom klienta', 'notify-customer' => 'Powiadom klienta',
'customer-notified' => ':date | Klient <b>Powiadomiony</b>', 'customer-notified' => ':date | Klient <b>Powiadomiony</b>',
'customer-not-notified' => ':date | Klient <b>Nie powiadomiony</b>' 'customer-not-notified' => ':date | Klient <b>Nie powiadomiony</b>',
'transactions' => 'Transactions'
], ],
'invoices' => [ 'invoices' => [
@ -467,6 +471,20 @@ return [
'view-title' => 'Refundacja nr #:refund_id', 'view-title' => 'Refundacja nr #:refund_id',
'invalid-refund-amount-error' => 'Kwota zwrotu powinna być różna od zera.' 'invalid-refund-amount-error' => 'Kwota zwrotu powinna być różna od zera.'
],
'transactions' => [
'title' => 'Transactions',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details'
] ]
], ],

View File

@ -80,7 +80,8 @@ return [
'campaigns' => 'Campaigns', 'campaigns' => 'Campaigns',
'email-templates' => 'Email Templates', 'email-templates' => 'Email Templates',
'discount' => 'Desconto', 'discount' => 'Desconto',
'cms' => 'CMS' 'cms' => 'CMS',
'transactions' => 'Transactions'
], ],
'acl' => [ 'acl' => [
@ -238,7 +239,9 @@ return [
'view' => 'Visão', 'view' => 'Visão',
'rtl' => 'RTL', 'rtl' => 'RTL',
'ltr' => 'LTR', 'ltr' => 'LTR',
'update-status' => 'Atualizar o status' 'update-status' => 'Atualizar o status',
'transaction-id' => 'Transaction Id',
'transaction-date' => 'Transaction Date',
], ],
'account' => [ 'account' => [
@ -390,6 +393,7 @@ return [
'comment' => 'Comment', 'comment' => 'Comment',
'submit-comment' => 'Submit Comment', 'submit-comment' => 'Submit Comment',
'notify-customer' => 'Notify Customer', 'notify-customer' => 'Notify Customer',
'transactions' => 'Transactions'
], ],
'invoices' => [ 'invoices' => [
@ -466,6 +470,20 @@ return [
'view-title' => 'Reembolso #:refund_id', 'view-title' => 'Reembolso #:refund_id',
'invalid-refund-amount-error' => 'Refund amount should be non zero.' 'invalid-refund-amount-error' => 'Refund amount should be non zero.'
],
'transactions' => [
'title' => 'Transactions',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details'
] ]
], ],

View File

@ -78,7 +78,8 @@ return [
'campaigns' => 'Campaigns', 'campaigns' => 'Campaigns',
'email-templates' => 'Email Templates', 'email-templates' => 'Email Templates',
'discount' => 'İndirim', 'discount' => 'İndirim',
'cms' => 'CMS' 'cms' => 'CMS',
'transactions' => 'Transactions'
], ],
'acl' => [ 'acl' => [
@ -236,7 +237,9 @@ return [
'view' => 'Görüntüle', 'view' => 'Görüntüle',
'rtl' => 'RTL', 'rtl' => 'RTL',
'ltr' => 'LTR', 'ltr' => 'LTR',
'update-status' => 'Durum Güncelle' 'update-status' => 'Durum Güncelle',
'transaction-id' => 'Transaction Id',
'transaction-date' => 'Transaction Date',
], ],
'account' => [ 'account' => [
@ -388,7 +391,8 @@ return [
'submit-comment' => 'Yorum Gönder', 'submit-comment' => 'Yorum Gönder',
'notify-customer' => 'Müşteriyi Bilgilendir', 'notify-customer' => 'Müşteriyi Bilgilendir',
'customer-notified' => ':date | Müşteri <b>Bilgilendirildi</b>', 'customer-notified' => ':date | Müşteri <b>Bilgilendirildi</b>',
'customer-not-notified' => ':date | Müşteri <b>Bilgilendirilmedi</b>' 'customer-not-notified' => ':date | Müşteri <b>Bilgilendirilmedi</b>',
'transactions' => 'Transactions'
], ],
'invoices' => [ 'invoices' => [
@ -465,6 +469,20 @@ return [
'view-title' => 'İade #:refund_id', 'view-title' => 'İade #:refund_id',
'invalid-refund-amount-error' => 'Lütfen iade miktarını giriniz.' 'invalid-refund-amount-error' => 'Lütfen iade miktarını giriniz.'
],
'transactions' => [
'title' => 'Transactions',
'id' => 'Id',
'transaction-id' => 'Transaction Id',
'payment-method' => 'Payment method',
'action' => 'Action',
'view-title' => 'Transaction #:transaction_id',
'transaction-data' => 'Transaction Data',
'order-id' => 'Order Id',
'status' => 'Status',
'created-at' => 'Created At',
'transaction-details' => 'Transaction Details'
] ]
], ],

View File

@ -68,6 +68,16 @@ class Transaction
$this->orderTransactionRepository->create($transactionData); $this->orderTransactionRepository->create($transactionData);
} }
} }
} else if ($invoice->order->payment->method == 'paypal_standard') {
$transactionData['transaction_id'] = $data['txn_id'];
$transactionData['status'] = $data['payment_status'];
$transactionData['type'] = $data['payment_type'];
$transactionData['payment_method'] = $invoice->order->payment->method;
$transactionData['order_id'] = $invoice->order->id;
$transactionData['invoice_id'] = $invoice->id;
$transactionData['data'] = json_encode ($data);
$this->orderTransactionRepository->create($transactionData);
} }
} }
} }