From f4a7c970983bcd62790e3a389f6261d631452c7c Mon Sep 17 00:00:00 2001 From: Mic Date: Fri, 13 Dec 2024 01:03:00 +0100 Subject: [PATCH] added a page to be worked on to manage the tag info. see #183 --- _locales/en/messages.json | 8 ++++++++ addtags/mzta-add-tags.css | 0 addtags/mzta-add-tags.html | 14 ++++++++++++++ addtags/mzta-add-tags.js | 22 ++++++++++++++++++++++ 4 files changed, 44 insertions(+) create mode 100644 addtags/mzta-add-tags.css create mode 100644 addtags/mzta-add-tags.html create mode 100644 addtags/mzta-add-tags.js diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 5f5ae281..5ed061c5 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -786,5 +786,13 @@ "prefs_OptionText_add_tags_hide_exclusions_Info": { "message": "If checked, the tags that are present in the exclusion list will be hidden in the dialog.", "description": "" + }, + "prefs_OptionText_btnManageTagsInfo": { + "message": "Manage tags info", + "description": "" + }, + "AddTags_PageTitle": { + "message": "Manage Tags Info", + "description": "" } } \ No newline at end of file diff --git a/addtags/mzta-add-tags.css b/addtags/mzta-add-tags.css new file mode 100644 index 00000000..e69de29b diff --git a/addtags/mzta-add-tags.html b/addtags/mzta-add-tags.html new file mode 100644 index 00000000..31c69399 --- /dev/null +++ b/addtags/mzta-add-tags.html @@ -0,0 +1,14 @@ + + + + + ThunderAI - __MSG_AddTags_PageTitle__ + + + + + TEST + + + + \ No newline at end of file diff --git a/addtags/mzta-add-tags.js b/addtags/mzta-add-tags.js new file mode 100644 index 00000000..7529318b --- /dev/null +++ b/addtags/mzta-add-tags.js @@ -0,0 +1,22 @@ +/* + * ThunderAI [https://micz.it/thunderbird-addon-thunderai/] + * Copyright (C) 2024 Mic (m@micz.it) + + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + + +document.addEventListener('DOMContentLoaded', async () => { + i18n.updateDocument(); +}); \ No newline at end of file