Refactor localization keys for prompts to use a consistent naming convention and update related HTML references

This commit is contained in:
Mic 2025-06-15 23:12:00 +02:00
parent b7d9dda158
commit 528eb4c76c
18 changed files with 27 additions and 23 deletions

View file

@ -41,7 +41,7 @@
"prompt_this": {
"message": "Zeptat se"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "Další informace"
},
"customPrompts_start_saving": {

View file

@ -39,7 +39,7 @@
"customPrompts_managePrompts": {
"message": "Eingabeaufforderungen verwalten"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "Informationen"
},
"customPrompts_managePrompts_info_default": {

View file

@ -51,7 +51,7 @@
"message": "Manage Prompts",
"description": ""
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "More info",
"description": ""
},
@ -1559,5 +1559,9 @@
"prefs_OptionText_add_tags_exclusions_exact_match_Info": {
"message": "If checked, the tags in the exclusion list will be matched exactly, otherwise they will be matched partially.",
"description": ""
},
"customDataPH_manageDataPH": {
"message": "Manage Data Placeholders",
"description": ""
}
}

View file

@ -8,7 +8,7 @@
"prompt_rewrite_formal": {
"message": "Reverki formale"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "Pliaj informoj"
},
"customPrompts_managePrompts": {

View file

@ -39,7 +39,7 @@
"customPrompts_managePrompts": {
"message": "Gérer les prompts"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "Informations"
},
"customPrompts_managePrompts_info_default": {

View file

@ -39,7 +39,7 @@
"customPrompts_managePrompts": {
"message": "Upravljaj upitima"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "Više informacija"
},
"customPrompts_managePrompts_info_default": {

View file

@ -39,7 +39,7 @@
"customPrompts_managePrompts": {
"message": "Gestisci i prompt"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "Informazioni"
},
"customPrompts_managePrompts_info_default": {

View file

@ -39,7 +39,7 @@
"customPrompts_managePrompts": {
"message": "Zarządzaj poleceniami"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "Więcej informacji"
},
"customPrompts_managePrompts_info_default": {

View file

@ -39,7 +39,7 @@
"customPrompts_managePrompts": {
"message": "Gerenciar Prompts"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "Mais informações"
},
"customPrompts_managePrompts_info_default": {

View file

@ -26,7 +26,7 @@
"ChatGPT_Models_Fetch": {
"message": "Обновить список моделей ChatGPT"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "Дополнительная информация"
},
"customPrompts_btnEdit": {

View file

@ -65,7 +65,7 @@
"customPrompts_managePrompts": {
"message": "管理提示词"
},
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "更多信息"
},
"customPrompts_managePrompts_info_default": {

View file

@ -1,5 +1,5 @@
{
"customPrompts_managePrompts_help": {
"more_info_string": {
"message": "更多資訊"
},
"prompt_reply_advanced": {

View file

@ -12,7 +12,7 @@
<td colspan="2"><div>__MSG_prefs_SurveyLinkText__<br><a href="https://forms.gle/1qK2wcbuhaRzhwyt9">__MSG_prefs_SurveyLinkText2__</a></div></td>
</tr>
<tr id="owl_warning">
<td colspan="2"><div class="warning">__MSG_prefs_OptionText_owl_warning__ <a href="https://micz.it/thunderbird-addon-thunderai/owl/">__MSG_customPrompts_managePrompts_help__</a></div></td>
<td colspan="2"><div class="warning">__MSG_prefs_OptionText_owl_warning__ <a href="https://micz.it/thunderbird-addon-thunderai/owl/">__MSG_more_info_string__</a></div></td>
</tr>
<tr id="hyprland_warning">
<td colspan="2" style="text-align:center;" class="warning"><b>__MSG_hyprland_warning__</b></td>
@ -297,7 +297,7 @@
</tr>
<tr class="conntype_ollama_api" id="ollama_api_cors_warning">
<td colspan="2" style="text-align:center;">
__MSG_remember_CORS__ [<a href="https://micz.it/thunderbird-addon-thunderai/ollama-cors-information/">__MSG_customPrompts_managePrompts_help__</a>]
__MSG_remember_CORS__ [<a href="https://micz.it/thunderbird-addon-thunderai/ollama-cors-information/">__MSG_more_info_string__</a>]
<br><br><b>__MSG_CORS_alternative_1__</b>
<br>__MSG_CORS_alternative_2__
<br><br><button id="btnGiveAllUrlsPermission_ollama_api">__MSG_CORS_give_allurls_perm__</button>
@ -365,7 +365,7 @@
</tr>
<tr class="conntype_openai_comp_api" id="openai_comp_api_cors_warning">
<td colspan="2" style="text-align:center;">
__MSG_maybe_CORS_openai_comp__ [<a href="https://micz.it/thunderbird-addon-thunderai/ollama-cors-information/">__MSG_customPrompts_managePrompts_help__</a>]
__MSG_maybe_CORS_openai_comp__ [<a href="https://micz.it/thunderbird-addon-thunderai/ollama-cors-information/">__MSG_more_info_string__</a>]
<br><br><b>__MSG_CORS_alternative_1__</b>
<br>__MSG_CORS_alternative_2__
<br><br><button id="btnGiveAllUrlsPermission_openai_comp_api">__MSG_CORS_give_allurls_perm__</button>
@ -542,7 +542,7 @@
</table>
<div id="btn_custom_prompts">
<button id="btnManagePrompts">__MSG_prefs_OptionText_btnManagePrompts__</button>
<br>__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_customPrompts_managePrompts_help__</a>
<br>__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_more_info_string__</a>
<br><button id="btnManageCustomDataPH">__MSG_prefs_OptionText_btnManageCustomDataPH__</button>
</div>
<div id="miczDescription">
@ -550,7 +550,7 @@
<p>
<span class="conntype_chatgpt_web">__MSG_prefsInfoDesc_1__<br></span>
<span class="conntype_chatgpt_api">__MSG_prefsInfoDesc_2__<br></span>
<span class="conntype_ollama_api">__MSG_prefsInfoDesc_3__ [<a href="https://micz.it/thunderbird-addon-thunderai/ollama-cors-information/">__MSG_customPrompts_managePrompts_help__</a>]<br></span>
<span class="conntype_ollama_api">__MSG_prefsInfoDesc_3__ [<a href="https://micz.it/thunderbird-addon-thunderai/ollama-cors-information/">__MSG_more_info_string__</a>]<br></span>
<span class="conntype_openai_comp_api">__MSG_prefsInfoDesc_4__</span>
<br><span>__MSG_prefsInfoDesc_5__
<br>__MSG_prefsInfoDesc_6__</span>

View file

@ -98,7 +98,7 @@
</table>
<div id="addtags_prompt_container">
<span class="section_title">__MSG_AddTags_prompt_text_title__</span><span id="addtags_prompt_unsaved" class="unsaved hidden"> __MSG_customPrompts_unsaved_changes__</span>
<br><span class="infoline">__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_customPrompts_managePrompts_help__</a>
<br><span class="infoline">__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_more_info_string__</a>
<br>__MSG_prefs_OptionText_btnManagePrompts_infoline3__
<br><b>__MSG_prefs_OptionText_AdvancedPromptResponse_infoline2__</b></span>
<br>

View file

@ -11,8 +11,8 @@
<h1 class="page_title">__MSG_customPrompts_managePrompts__</h1>
<p>__MSG_customPrompts_managePrompts_info_default__<br>
__MSG_customPrompts_managePrompts_info_default_2__<br>
__MSG_customPrompts_managePrompts_info_default_3__ <a href="https://micz.it/thunderbird-addon-thunderai/custom-prompts/">__MSG_customPrompts_managePrompts_help__</a>
<br>__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_customPrompts_managePrompts_help__</a></p>
__MSG_customPrompts_managePrompts_info_default_3__ <a href="https://micz.it/thunderbird-addon-thunderai/custom-prompts/">__MSG_more_info_string__</a>
<br>__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_more_info_string__</a></p>
</div>
<div id="import_export">
<button id="btnExportAll">__MSG_customPrompts_ExportAll__</button><br>

View file

@ -57,7 +57,7 @@
</table>
<div id="get_calendar_event_container">
<span class="section_title">__MSG_GetCalendarEvent_prompt_text_title__</span><span id="get_calendar_event_prompt_unsaved" class="unsaved hidden"> __MSG_customPrompts_unsaved_changes__</span>
<br><span class="infoline">__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_customPrompts_managePrompts_help__</a>
<br><span class="infoline">__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_more_info_string__</a>
<br><b>__MSG_prefs_OptionText_AdvancedPromptResponse_infoline2__</b></span>
<br>
<div class="autocomplete-container">

View file

@ -57,7 +57,7 @@
</table>
<div id="get_task_container">
<span class="section_title">__MSG_GetCalendarEvent_prompt_text_title__</span><span id="get_task_prompt_unsaved" class="unsaved hidden"> __MSG_customPrompts_unsaved_changes__</span>
<br><span class="infoline">__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_customPrompts_managePrompts_help__</a>
<br><span class="infoline">__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_more_info_string__</a>
<br><b>__MSG_prefs_OptionText_AdvancedPromptResponse_infoline2__</b></span>
<br>
<div class="autocomplete-container">

View file

@ -34,7 +34,7 @@
</table>
<div id="spamfilter_container">
<span class="section_title">__MSG_SpamFilter_prompt_text_title__</span><span id="spamfilter_prompt_unsaved" class="unsaved hidden"> __MSG_customPrompts_unsaved_changes__</span>
<br><span class="infoline">__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_customPrompts_managePrompts_help__</a>
<br><span class="infoline">__MSG_prefs_OptionText_btnManagePrompts_infoline__ <a href="https://micz.it/thunderbird-addon-thunderai/data-placeholders/">__MSG_more_info_string__</a>
<br><b>__MSG_prefs_OptionText_AdvancedPromptResponse_infoline2__</b></span>
<br>
<div class="autocomplete-container">