Account created on 9 April 2008, over 16 years ago
#

Recent comments

🇵🇹Portugal jmauricio

i will look at this as soon as i have some time.
Thanks

🇵🇹Portugal jmauricio

Hello, thanks, but this is a company sponsored module and for now it will stay only with company employees.

🇵🇹Portugal jmauricio

can't reproduce the error, can you post a screenshot?

🇵🇹Portugal jmauricio

Ok, so i found the solution: you have to force the admin theme in the drupalSettings ajaxPageState variable.
Like this:

/**
 * Implements hook_js_settings_alter().
 */
function MODULENAME_js_settings_alter(array &$settings, \Drupal\Core\Asset\AttachedAssetsInterface $assets) {
  $settings['ajaxPageState']['theme'] = \Drupal::config('system.theme')->get('admin');
}
🇵🇹Portugal jmauricio

Changes merged into 1.0.x

🇵🇹Portugal jmauricio

Added libretranslate

🇵🇹Portugal jmauricio

Added libretranslate

🇵🇹Portugal jmauricio

Hello @Diego_Mow, thanks for the offer, but the integration with Commerce is already in development by the other module maintainer @rsalvado.

🇵🇹Portugal jmauricio

@DudeWeb just pushed a fix for better error handling

🇵🇹Portugal jmauricio

The patch didn't include the api file, here's the correct one

🇵🇹Portugal jmauricio

@Orkut Murat Yılmaz or anyone else interested.

Can you test this patch, it integrates LibreTranslate into this module.
I've tested with a self-hosted version, works fine.

Thanks

🇵🇹Portugal jmauricio

OK, thanks, we will try to update the documentation in how to get the keys, i think its outdated

🇵🇹Portugal jmauricio

This works great.
+1 for adding it to the module

🇵🇹Portugal jmauricio

Yes, it it because the code was creating a new paragraph instead of translating it in those cases, don't really know how to fix that, maybe just delete the translations and run the auto translation again.

I'll commit the patch, run some more tests and release a new version.

Thanks

🇵🇹Portugal jmauricio

Thanks, patch applies to 1.0.x, it will get publish in the next release.

🇵🇹Portugal jmauricio

@abaudoin @WilliBautista can you please test this patch. I think it solves this problem.

🇵🇹Portugal jmauricio

Changes merged into 1.0.x.

Thanks, this will be in the next release.

🇵🇹Portugal jmauricio

Added Gin Toolbar Custom Menu to the list of related modules

🇵🇹Portugal jmauricio

@goose2000

This feature is now available on 1.0.2

🇵🇹Portugal jmauricio

At the moment its only for one role, but it shouldn't be too hard to make it work for multiple roles/menus. i'm going to work on this as soon as i have some free time

Production build 0.71.5 2024