templates/form/components/js-translations.html.twig line 1

Open in your IDE?
  1. <script>
  2.     const translations = {
  3.         pay: '{{ "payment.pay"|trans }}',
  4.         bath: {
  5.             solo: '{{ "bath.solo"|trans }}',
  6.             duo: '{{ "bath.duo"|trans }}',
  7.             solo_plural: '{{ "bath.solo_plural"|trans }}',
  8.             duo_plural: '{{ "bath.duo_plural"|trans }}'
  9.         },
  10.         summary: {
  11.             participant: '{{ "summary.participant"|trans }}',
  12.             participants: '{{ "summary.participants"|trans }}'
  13.         },
  14.         tunnel: {
  15.             disabled_offer: '{{ "tunnel.disabled_offer"|trans }}'
  16.         },
  17.         locale: '{{ app.request.locale }}'
  18.     };
  19. </script>