Make log templates and categories translatable

Created on 27 December 2016, almost 8 years ago
Updated 11 May 2023, over 1 year ago

We forgot to add a yaml_translation_patterns file that will tell potx to extract our labels and the template string.
We also need to make sure t() is called in the right getters.

📌 Task
Status

Needs work

Version

2.0

Component

Log

Created by

🇷🇸Serbia bojanz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇷France flocondetoile Lyon

    #15 breaks commerce order admin view on commerce 2.25 / Drupal Core 9.5.9
    Twig\Error\SyntaxError : The text to be translated with "trans" can only contain references to simple variables in "__string_template__8ae64b1317c7a69a0b61782ae12a5c6f" at line 1 dans Drupal\Core\Template\TwigTransTokenParser->checkTransString() (ligne 108 de /var/www/usine_mercuris/web/core/lib/Drupal/Core/Template/TwigTransTokenParser.php).

  • Status changed to Needs work over 1 year ago
  • 🇫🇷France flocondetoile Lyon

    Was using this patch #15 since 4 years. #11 still works as a workaround

Production build 0.71.5 2024