Account created on 5 March 2010, about 15 years ago
#

Merge Requests

Recent comments

🇭🇺Hungary peri22

I’ve added new fields to the provider settings form to make the Disclaimer notification configurable. You can now choose whether to display the notification and customize its type, title, and message. The message is also translatable.

🇭🇺Hungary peri22

I created a new service to check whether the translation is an ec_etranslation job and to build the warning message. I also created a block plugin to display the message when needed.

If you'd like to use the disclaimer, you can either place the block in the appropriate location or add the message from a preprocess function, like this:

if ($translationHelper->isEcEtranslationJob($comment)) {
    $variables['content']['content']['notification'] = $translationHelper->buildWarningMessage($comment, $sourceLanguage);
}

I plan to enhance the solution by allowing the message type and text to be configurable.

🇭🇺Hungary peri22

Hello, I had the same problem with some characters. I have set the font-family and created a patch to fix the character encoding.

🇭🇺Hungary peri22

Hello,

#5 📌 Automated Drupal 10 compatibility fixes RTBC patch kills the widget block.
Do not delete the parameters: $build['content'], $build['#derivative_plugin_id'], otherwise the widget form returns without the select:

    if (!$content || !$derivative_plugin_id) {
      return $content;
    }

It works fine with automated fix #2 📌 Automated Drupal 10 compatibility fixes RTBC .

🇭🇺Hungary peri22

Hello,
here is the fix translate link patch.

Production build 0.71.5 2024