I hadn’t thought about that issue. Thanks for pointing it out @Stephane_Roy!
The issue is that both theme components uses the same translation variables. Other TC may have the same issue.. The fix is to update/change the name of button_text and add_images_prompt in the places below. I will update Masonry Image Gallery as well.
translations.button_text = settings.button_text;
translations.composer.add_images_prompt =
settings.add_images_prompt;
api.onToolbarCreate(function(toolbar){
toolbar.addButton({
trimLeading: true,
id: “image-comparison-slider”,
group: “insertions”,
icon: settings.button_icon,
title: “button_text”,
perform: e => e.applySurround(
[“<div data-image-comparison-slider data-direction-”,settings.default_direction,“>\n\n”].join(‘’),
“\n\n”,
“add_images_prompt”,
{ multiline: false }
)
});