Add "Do not translate" functionality to TinyMCE editor

- Add a custom TinyMCE plugin to mark content with `translate="no"`.
- Update WYSIWYG editor to support the "Do not translate" toggle button and menu item.
- Highlight non-translatable content with custom styles in the editor.
- Localize plugin strings for English and Russian.
This commit is contained in:
2026-06-20 23:54:25 +05:00
parent 993350073c
commit 9e6e699db0
3 changed files with 96 additions and 2 deletions
+6
View File
@@ -0,0 +1,6 @@
<?php declare(strict_types=1);
return [
'Do not translate' => 'Не переводить',
'Mark as not to translate' => 'Пометить как не переводить',
];