From a77026c15148f9fb65e7b61f6caf6c916e8539f0 Mon Sep 17 00:00:00 2001 From: windingwind <33902321+windingwind@users.noreply.github.com> Date: Wed, 26 Jul 2023 14:17:23 +0800 Subject: [PATCH] add: template editor backup & share --- addon/chrome/content/templateEditor.xhtml | 98 ++++++----------------- addon/locale/en-US/addon.ftl | 9 --- addon/locale/en-US/templateEditor.ftl | 27 +++++++ addon/locale/ru-RU/addon.ftl | 11 +-- addon/locale/ru-RU/templateEditor.ftl | 27 +++++++ addon/locale/zh-CN/addon.ftl | 11 +-- addon/locale/zh-CN/templateEditor.ftl | 26 ++++++ src/modules/template/editorWindow.ts | 98 ++++++++++++++++++++++- 8 files changed, 201 insertions(+), 106 deletions(-) create mode 100644 addon/locale/en-US/templateEditor.ftl create mode 100644 addon/locale/ru-RU/templateEditor.ftl create mode 100644 addon/locale/zh-CN/templateEditor.ftl diff --git a/addon/chrome/content/templateEditor.xhtml b/addon/chrome/content/templateEditor.xhtml index 8f7763f..1e955bc 100644 --- a/addon/chrome/content/templateEditor.xhtml +++ b/addon/chrome/content/templateEditor.xhtml @@ -16,7 +16,7 @@ persist="screenX screenY width height sizemode" > - templateEditor.title +