You are here

protected property OrderReceiptTest::$translations in Commerce Core 8.2

Translated strings used in the order receipt.

Type: array

File

modules/order/tests/src/Kernel/OrderReceiptTest.php, line 39

Class

OrderReceiptTest
Tests the sending of multilingual order receipt emails.

Namespace

Drupal\Tests\commerce_order\Kernel

Code

protected $translations = [
  'fr' => [
    'Order #@number confirmed' => 'Commande #@number confirmée',
    'Thank you for your order!' => 'Nous vous remercions de votre commande!',
    'Default store' => 'Magasin par défaut',
    'Cash on delivery' => 'Paiement à la livraison',
  ],
  'es' => [
    'Order #@number confirmed' => 'Pedido #@number confirmado',
    'Thank you for your order!' => '¡Gracias por su orden!',
    'Default store' => 'Tienda por defecto',
    'Cash on delivery' => 'Contra reembolso',
  ],
];