diff --git a/CHANGELOG.md b/CHANGELOG.md
index fb519acd..93170ed3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,7 +9,7 @@
- [ChatGPT API][Ollama API][OpenAI Comp API] Added a special prompt to apply tag to emails [#183].
- Default prompts text has been translated [#185].
- - Data placeholder {%full_tags_list%} for the full available tags list added [#197].
+ - Data placeholder {%tags_full_list%} for the full available tags list added [#197].
- Data placeholder {%tags_current_email%} for the single mail tags list added [#198].
- User survey link added [#202].
- [OpenAI Comp API] Added a button in the options page to manually insert the model [#205].
diff --git a/_locales/de/messages.json b/_locales/de/messages.json
index 7aa0970e..7b07be6b 100644
--- a/_locales/de/messages.json
+++ b/_locales/de/messages.json
@@ -767,7 +767,7 @@
"message": "E-Mail-Tags",
"description": ""
},
- "placeholder_full_tags_list": {
+ "placeholder_tags_full_list": {
"message": "Vorhandene Tags",
"description": ""
},
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 56398ceb..a41f2c60 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -767,7 +767,7 @@
"message": "Mail tags",
"description": ""
},
- "placeholder_full_tags_list": {
+ "placeholder_tags_full_list": {
"message": "Existing tags",
"description": ""
},
diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json
index 20cbbd05..f2cc3ee0 100644
--- a/_locales/fr/messages.json
+++ b/_locales/fr/messages.json
@@ -767,7 +767,7 @@
"message": "Tags de courriels",
"description": ""
},
- "placeholder_full_tags_list": {
+ "placeholder_tags_full_list": {
"message": "Tags existants",
"description": ""
},
diff --git a/_locales/it/messages.json b/_locales/it/messages.json
index b6acf3f8..e9fa1d8b 100644
--- a/_locales/it/messages.json
+++ b/_locales/it/messages.json
@@ -767,7 +767,7 @@
"message": "Tag delle email",
"description": ""
},
- "placeholder_full_tags_list": {
+ "placeholder_tags_full_list": {
"message": "Tag esistenti",
"description": ""
},
diff --git a/_locales/pl/messages.json b/_locales/pl/messages.json
index f9776688..ff6efd16 100644
--- a/_locales/pl/messages.json
+++ b/_locales/pl/messages.json
@@ -767,7 +767,7 @@
"message": "Tagi e-maila",
"description": ""
},
- "placeholder_full_tags_list": {
+ "placeholder_tags_full_list": {
"message": "IstniejÄ…ce tagi",
"description": ""
},
diff --git a/_locales/pt-br/messages.json b/_locales/pt-br/messages.json
index afdc06fc..2e21f57a 100644
--- a/_locales/pt-br/messages.json
+++ b/_locales/pt-br/messages.json
@@ -767,7 +767,7 @@
"message": "Tags do e-mail",
"description": ""
},
- "placeholder_full_tags_list": {
+ "placeholder_tags_full_list": {
"message": "Tags existentes",
"description": ""
},
diff --git a/js/mzta-menus.js b/js/mzta-menus.js
index 553a8c58..cbb251ad 100644
--- a/js/mzta-menus.js
+++ b/js/mzta-menus.js
@@ -116,7 +116,7 @@ export class mzta_Menus {
}
let fullPrompt = '';
- let full_tags_list = await getTagsList();
+ let tags_full_list = await getTagsList();
let curr_messages = null;
switch(tabs[0].type){
@@ -170,11 +170,11 @@ export class mzta_Menus {
finalSubs['junk_score'] = curr_message.junkScore;
break;
case 'tags_current_email':
- let tags_current_email_array = await transformTagsLabels(curr_message.tags, full_tags_list[1]);
+ let tags_current_email_array = await transformTagsLabels(curr_message.tags, tags_full_list[1]);
finalSubs['tags_current_email'] = tags_current_email_array.join(", ");
break;
- case 'full_tags_list':
- finalSubs['full_tags_list'] = full_tags_list[0];
+ case 'tags_full_list':
+ finalSubs['tags_full_list'] = tags_full_list[0];
break;
default: // TODO Manage custom placeholders https://github.com/micz/ThunderAI/issues/156
break;
@@ -235,7 +235,7 @@ export class mzta_Menus {
return {ok:'0'};
}
this.logger.log("tags_current_email: " + tags_current_email);
- console.log(">>>>>>>>>>>> full_tags_list: " + JSON.stringify(full_tags_list));
+ console.log(">>>>>>>>>>>> tags_full_list: " + JSON.stringify(tags_full_list));
browser.tabs.sendMessage(tabs[0].id, {command: "getTags", tags: tags_current_email, messageId: curr_message.id});
return {ok:'1'};
break;
diff --git a/js/mzta-placeholders.js b/js/mzta-placeholders.js
index 862b1019..194f2be9 100644
--- a/js/mzta-placeholders.js
+++ b/js/mzta-placeholders.js
@@ -104,8 +104,8 @@ const defaultPlaceholders = [
is_default: "1",
},
{
- id: 'full_tags_list',
- name: "__MSG_placeholder_full_tags_list__",
+ id: 'tags_full_list',
+ name: "__MSG_placeholder_tags_full_list__",
default_value: "",
type: 0,
is_default: "1",
diff --git a/options/mzta-release-notes.html b/options/mzta-release-notes.html
index b0dec420..29782de0 100644
--- a/options/mzta-release-notes.html
+++ b/options/mzta-release-notes.html
@@ -11,7 +11,7 @@
- [ChatGPT API][Ollama API][OpenAI Comp API] Added a special prompt to apply tag to emails [#183].
- Default prompts text has been translated [#185].
- - Data placeholder {%full_tags_list%} for the full available tags list added [#197].
+ - Data placeholder {%tags_full_list%} for the full available tags list added [#197].
- Data placeholder {%tags_current_email%} for the single mail tags list added [#198].
- User survey link added [#202].
- Polish (pl) translation added, thanks to neexpl.