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 528eb4c76c
commit 509b8de8e0
13 changed files with 38 additions and 26 deletions

View file

@ -80,13 +80,13 @@
"customPrompts_form_label_enabled": {
"message": "Povoleno"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Uložit vše"
},
"customPrompts_do_reply": {
"message": "Odpovědět"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Přidat nový"
},
"customPrompts_close_button": {

View file

@ -120,10 +120,10 @@
"customPrompts_unsaved_changes": {
"message": "Es gibt ungespeicherte Änderungen!"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Alle speichern"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Neu hinzufügen"
},
"customPrompts_btnAddNewCommit": {

View file

@ -167,11 +167,11 @@
"message": "There are unsaved changes!",
"description": ""
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Save All",
"description": ""
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Add New",
"description": ""
},
@ -1563,5 +1563,17 @@
"customDataPH_manageDataPH": {
"message": "Manage Data Placeholders",
"description": ""
},
"customDataPH_manageDataPH_info_default": {
"message": "You can import and export the custom data placeholders. Existing data placeholders with the same ID will be overwritten. Placeholders with new IDs will be added.",
"description": ""
},
"customDataPH_ExportAll": {
"message": "Export all custom data placeholders",
"description": ""
},
"customDataPH_Import": {
"message": "Import new data placeholders",
"description": ""
}
}

View file

@ -20,10 +20,10 @@
"customPrompts_form_required_fields": {
"message": "Postulataj kampoj"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Konservi ĉion"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Aldoni novan"
},
"chatgpt_btn_retry": {

View file

@ -120,10 +120,10 @@
"customPrompts_unsaved_changes": {
"message": "Il y a des modifications non enregistrées !"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Tout enregistrer"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Ajouter nouveau"
},
"customPrompts_btnAddNewCommit": {

View file

@ -120,10 +120,10 @@
"customPrompts_unsaved_changes": {
"message": "Ima nespremljenih promjena!"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Spremi sve"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Dodaj novo"
},
"customPrompts_btnAddNewCommit": {

View file

@ -120,10 +120,10 @@
"customPrompts_unsaved_changes": {
"message": "Ci sono modifiche non salvate!"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Salva Tutto"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Aggiungi Nuovo"
},
"customPrompts_btnAddNewCommit": {

View file

@ -120,10 +120,10 @@
"customPrompts_unsaved_changes": {
"message": "Istnieją niezapisane zmiany!"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Zapisz wszystko"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Dodaj nowe"
},
"customPrompts_btnAddNewCommit": {

View file

@ -120,10 +120,10 @@
"customPrompts_unsaved_changes": {
"message": "Existem alterações não salvas!"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Salvar Tudo"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Adicionar Novo"
},
"customPrompts_btnAddNewCommit": {

View file

@ -110,10 +110,10 @@
"customPrompts_btnDelete_confirmText": {
"message": "Вы уверены, что хотите удалить этот элемент?"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "Сохранить все"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "Добавить новый"
},
"customPrompts_btnAddNewCommit": {

View file

@ -38,13 +38,13 @@
"customPrompts_form_label_need_signature": {
"message": "始终添加签名"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "新增"
},
"chatgpt_win_job_completed": {
"message": "完成了!"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "保存所有变动"
},
"extensionDescription": {

View file

@ -113,10 +113,10 @@
"customPrompts_unsaved_changes": {
"message": "有未儲存的變動!"
},
"customPrompts_btnSaveAll": {
"btnSaveAll_string": {
"message": "儲存全部"
},
"customPrompts_btnNew": {
"btnNew_string": {
"message": "新增"
},
"customPrompts_btnAddNewCommit": {

View file

@ -19,9 +19,9 @@
<button id="btnImport">__MSG_customPrompts_Import__</button>
</div>
<div id="command_palette">
<button id="btnSaveAll" disabled>__MSG_customPrompts_btnSaveAll__</button>
<button id="btnSaveAll" disabled>__MSG_btnSaveAll_string__</button>
<span id="msgDisplay"></span>
<button id="btnNew">__MSG_customPrompts_btnNew__</button>
<button id="btnNew">__MSG_btnNew_string__</button>
</div>
<div id="formNew">
<table class="width_all">