et là tu fais quoi ?!

This commit is contained in:
Esenjin 2024-02-03 12:26:14 +01:00
parent e8dd5b11c0
commit a35a27f10d

View File

@ -117,61 +117,5 @@ api.modifyClass("controller:composer", {
}
});
// TEXTS
let translations = I18n.translations[I18n.currentLocale()].js;
if (!translations) {
translations = {};
}
if (!translations.composer) {
translations.composer = {};
}
translations.composer.underline_button_title = settings.underline_button;
translations.composer.underline_text =
settings.underline_text;
translations.composer.align_center_button_title = settings.align_center_button;
translations.composer.align_center_text =
settings.align_center_text;
translations.composer.align_justify_button_title = settings.align_justify_button;
translations.composer.align_justify_text =
settings.align_justify_text;
translations.composer.strikethrough_button_title = settings.strikethrough_button;
translations.composer.strikethrough_text =
settings.strikethrough_text;
translations.composer.superscript_button_title = settings.superscript_button;
translations.composer.superscript_text =
settings.superscript_text;
translations.composer.subscript_button_title = settings.subscript_button;
translations.composer.subscript_text =
settings.subscript_text;
translations.composer.bleu_color_button = settings.bleu_color_button;
translations.composer.bleu_color_text =
settings.bleu_color_text;
translations.composer.rose_color_button = settings.rose_color_button;
translations.composer.rose_color_text =
settings.rose_color_text;
translations.composer.jaune_color_button = settings.jaune_color_button;
translations.composer.jaune_color_text =
settings.jaune_color_text;
translations.composer.orange_color_button = settings.orange_color_button;
translations.composer.orange_color_text =
settings.orange_color_text;
translations.composer.rouge_color_button = settings.rouge_color_button;
translations.composer.rouge_color_text =
settings.rouge_color_text;
translations.composer.vert_color_button = settings.vert_color_button;
translations.composer.vert_color_text =
settings.vert_color_text;
</script>