Add localizable strings to two extensions & translate them

This commit is contained in:
Yokayo
2024-05-04 02:44:15 +07:00
parent 7bc87b6e28
commit 29e2e8f607
6 changed files with 178 additions and 69 deletions

View File

@@ -8,16 +8,16 @@
<div class="flex-container">
<div id="open_regex_editor" class="menu_button">
<i class="fa-solid fa-pen-to-square"></i>
<span>Open Editor</span>
<span data-i18n="regex_open_editor">Open Editor</span>
</div>
<div id="import_regex" class="menu_button">
<i class="fa-solid fa-file-import"></i>
<span>Import Script</span>
<span data-i18n="regex_import_script">Import Script</span>
</div>
<input type="file" id="import_regex_file" hidden accept="*.json" />
</div>
<hr />
<label>Saved Scripts</label>
<label data-i18n="regex_saved_scripts">Saved Scripts</label>
<div id="saved_regex_scripts" class="flex-container regex-script-container flexFlowColumn"></div>
</div>
</div>