If no default language is set in the options, the language present in the text sent to ChatGPT will be used [#53].
+
Added the functionality to import and export custom prompts [#65].
+
Showing the currently used prompt name in the ChatGPT window [#20].
+
Version 1.1.4 - 28/06/2024
Added an option to import text with formatting from ChatGPT, set to false by default [#70], [#77].
diff --git a/_locales/de/messages.json b/_locales/de/messages.json
index c4fba4f3..6486dfc2 100644
--- a/_locales/de/messages.json
+++ b/_locales/de/messages.json
@@ -55,6 +55,14 @@
"message": "Die Standard-Eingabeaufforderungen sind nicht bearbeitbar. Sie können sie deaktivieren, dann den Text der Eingabeaufforderung kopieren und in eine neue einfügen, um eine modifizierte Version zu erstellen.",
"description": ""
},
+ "customPrompts_managePrompts_info_default_2": {
+ "message": "Sie können die Prompts importieren und exportieren. Bestehende Prompts mit derselben ID werden überschrieben. Prompts mit neuen IDs werden hinzugefügt.",
+ "description": ""
+ },
+ "customPrompts_managePrompts_info_default_3": {
+ "message": "Wenn alles korrekt ist, klicken Sie nach dem Import auf die Schaltfläche 'Alle speichern'.",
+ "description": ""
+ },
"customPrompts_start_saving": {
"message": "Eingabeaufforderungen werden gespeichert...",
"description": ""
@@ -342,5 +350,37 @@
"TranslateLink": {
"message": "Finde es heraus!",
"description": ""
+ },
+ "customPrompts_ExportAll": {
+ "message": "Alle Prompts exportieren",
+ "description": ""
+ },
+ "customPrompts_Import": {
+ "message": "Neue Prompts importieren",
+ "description": ""
+ },
+ "importPrompts_confirmText": {
+ "message": "Sie sind dabei, neue Prompts zu importieren.",
+ "description": ""
+ },
+ "customPrompts_start_import": {
+ "message": "Import von benutzerdefinierten Prompts startet...",
+ "description": ""
+ },
+ "customPrompts_import_completed": {
+ "message": "Import von benutzerdefinierten Prompts abgeschlossen! Sie müssen auf die Schaltfläche 'Alle speichern' klicken, um Ihre Änderungen zu speichern.",
+ "description": ""
+ },
+ "importPrompts_invalidFile": {
+ "message": "Die Datei, die Sie importieren möchten, ist keine gültige Datei für benutzerdefinierte Prompts.",
+ "description": ""
+ },
+ "importPrompts_invalidPrompts": {
+ "message": "Die Datei, die Sie importieren möchten, enthält keine gültigen Prompts.",
+ "description": ""
+ },
+ "currently_used_prompt": {
+ "message": "Derzeit verwendeter Prompt-Name",
+ "description": ""
}
}
\ No newline at end of file
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 03b4400d..82ee1781 100644
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -55,6 +55,14 @@
"message": "The default prompts are not editable. You can disable them, then copy the prompt text and paste it into a new one to create a modified version.",
"description": ""
},
+ "customPrompts_managePrompts_info_default_2": {
+ "message": "You can import and export the prompts. Existing prompts with the same ID will be overwritten. Prompts with new IDs will be added.",
+ "description": ""
+ },
+ "customPrompts_managePrompts_info_default_3": {
+ "message": "If everything is correct, after the import click on the 'Save All' button.",
+ "description": ""
+ },
"customPrompts_start_saving": {
"message": "Saving prompts...",
"description": ""
@@ -342,5 +350,37 @@
"TranslateLink": {
"message": "Find out how!",
"description": ""
+ },
+ "customPrompts_ExportAll": {
+ "message": "Export all prompts",
+ "description": ""
+ },
+ "customPrompts_Import": {
+ "message": "Import new prompts",
+ "description": ""
+ },
+ "importPrompts_confirmText": {
+ "message": "You are about to import new prompts.",
+ "description": ""
+ },
+ "customPrompts_start_import": {
+ "message": "Starting custom prompts import...",
+ "description": ""
+ },
+ "customPrompts_import_completed": {
+ "message": "Custom prompts import completed! You need to click on the 'Save All' button to save your changes.",
+ "description": ""
+ },
+ "importPrompts_invalidFile": {
+ "message": "The file you're trying to import is not a valid custom prompts file.",
+ "description": ""
+ },
+ "importPrompts_invalidPrompts": {
+ "message": "The file you're trying to import does not contain any valid prompts.",
+ "description": ""
+ },
+ "currently_used_prompt": {
+ "message": "Currently used prompt name",
+ "description": ""
}
}
\ No newline at end of file
diff --git a/_locales/fr/messages.json b/_locales/fr/messages.json
index 7f38cda4..76919b58 100644
--- a/_locales/fr/messages.json
+++ b/_locales/fr/messages.json
@@ -1,7 +1,7 @@
{
"extensionDescription": {
"message": "Utilisez ChatGPT pour améliorer vos emails !",
- "description": "Description de l'extension."
+ "description": "Description de l'extension."
},
"menu_title": {
"message": "IA",
@@ -55,6 +55,14 @@
"message": "Les invites par défaut ne sont pas modifiables. Vous pouvez les désactiver, puis copier le texte de l'invite et le coller dans une nouvelle pour créer une version modifiée.",
"description": ""
},
+ "customPrompts_managePrompts_info_default_2": {
+ "message": "Vous pouvez importer et exporter les prompts. Les prompts existantes avec le même ID seront écrasées. Les prompts avec de nouveaux ID seront ajoutées.",
+ "description": ""
+ },
+ "customPrompts_managePrompts_info_default_3": {
+ "message": "Si tout est correct, après l'importation, cliquez sur le bouton 'Tout enregistrer'.",
+ "description": ""
+ },
"customPrompts_start_saving": {
"message": "Enregistrement des prompts...",
"description": ""
@@ -342,5 +350,37 @@
"TranslateLink": {
"message": "Découvrez comment !",
"description": ""
+ },
+ "customPrompts_ExportAll": {
+ "message": "Exporter toutes les prompts",
+ "description": ""
+ },
+ "customPrompts_Import": {
+ "message": "Importer de nouvelles prompts",
+ "description": ""
+ },
+ "importPrompts_confirmText": {
+ "message": "Vous êtes sur le point d'importer de nouvelles prompts.",
+ "description": ""
+ },
+ "customPrompts_start_import": {
+ "message": "Début de l'importation des prompts personnalisées...",
+ "description": ""
+ },
+ "customPrompts_import_completed": {
+ "message": "Importation des prompts personnalisées terminée ! Vous devez cliquer sur le bouton 'Enregistrer tout' pour enregistrer vos modifications.",
+ "description": ""
+ },
+ "importPrompts_invalidFile": {
+ "message": "Le fichier que vous essayez d'importer n'est pas un fichier de prompts personnalisées valide.",
+ "description": ""
+ },
+ "importPrompts_invalidPrompts": {
+ "message": "Le fichier que vous essayez d'importer ne contient aucune prompt valide.",
+ "description": ""
+ },
+ "currently_used_prompt": {
+ "message": "Nom du prompt actuellement utilisé",
+ "description": ""
}
}
\ No newline at end of file
diff --git a/_locales/it/messages.json b/_locales/it/messages.json
index 6808acfb..3fee6be5 100644
--- a/_locales/it/messages.json
+++ b/_locales/it/messages.json
@@ -51,6 +51,18 @@
"message": "Informazioni",
"description": ""
},
+ "customPrompts_managePrompts_info_default": {
+ "message": "I prompt predefiniti non sono modificabili. Puoi disattivarli, quindi copiare il testo del prompt e incollarlo in uno nuovo per crearne una versione modificata.",
+ "description": ""
+ },
+ "customPrompts_managePrompts_info_default_2": {
+ "message": "Puoi importare ed esportare i prompt. I prompt esistenti con lo stesso ID verranno sovrascritti. I prompt con nuovi ID verranno aggiunti.",
+ "description": ""
+ },
+ "customPrompts_managePrompts_info_default_3": {
+ "message": "Se tutto è corretto, dopo l'importazione fai clic sul pulsante 'Salva Tutto'.",
+ "description": ""
+ },
"customPrompts_start_saving": {
"message": "Salvataggio prompt in corso...",
"description": ""
@@ -67,10 +79,6 @@
"message": "Salvataggio prompt di base...",
"description": ""
},
- "customPrompts_managePrompts_info_default": {
- "message": "I prompt predefiniti non sono modificabili. Puoi disattivarli, quindi copiare il testo del prompt e incollarlo in uno nuovo per crearne una versione modificata.",
- "description": ""
- },
"customPrompts_saving_custom_prompts": {
"message": "Salvataggio prompt personalizzati...",
"description": ""
@@ -207,6 +215,14 @@
"message": "Chiudi",
"description": ""
},
+ "chatgpt_textarea_not_found_error": {
+ "message": "C'è stato un errore nell'invio del prompt a ChatGPT, per favore riprova. Se il problema persiste, per favore controlla lo stato del servizio.",
+ "description": ""
+ },
+ "chatgpt_sendbutton_not_found_error": {
+ "message": "Premi il pulsante per inviare il prompt a ChatGPT.",
+ "description": ""
+ },
"chatgpt_user_not_logged_in": {
"message": "Non sei connesso a ChatGPT. Effettua l'accesso con le tue credenziali, chiudi la finestra di ChatGPT e poi ripeti l'azione che avevi tentato. Rimarrai connesso in seguito.",
"description": ""
@@ -259,14 +275,6 @@
"message": "Larghezza",
"description": ""
},
- "chatgpt_textarea_not_found_error": {
- "message": "C'è stato un errore nell'invio del prompt a ChatGPT, per favore riprova. Se il problema persiste, per favore controlla lo stato del servizio.",
- "description": ""
- },
- "chatgpt_sendbutton_not_found_error": {
- "message": "Premi il pulsante per inviare il prompt a ChatGPT.",
- "description": ""
- },
"prefs_OptionText_default_sign_name": {
"message": "Nome da utilizzare per la firma",
"description": ""
@@ -342,5 +350,37 @@
"TranslateLink": {
"message": "Scopri come!",
"description": ""
+ },
+ "customPrompts_ExportAll": {
+ "message": "Esporta tutti i prompt",
+ "description": ""
+ },
+ "customPrompts_Import": {
+ "message": "Importa i nuovi prompt",
+ "description": ""
+ },
+ "importPrompts_confirmText": {
+ "message": "Stai per importare nuovi prompt.",
+ "description": ""
+ },
+ "customPrompts_start_import": {
+ "message": "Inizio importazione dei prompt personalizzati...",
+ "description": ""
+ },
+ "customPrompts_import_completed": {
+ "message": "Importazione dei prompt personalizzati completata! È necessario fare clic sul pulsante 'Salva Tutto' per salvare le modifiche.",
+ "description": ""
+ },
+ "importPrompts_invalidFile": {
+ "message": "Il file che stai cercando di importare non è un file valido di prompt personalizzati.",
+ "description": ""
+ },
+ "importPrompts_invalidPrompts": {
+ "message": "Il file che stai cercando di importare non contiene alcun prompt valido.",
+ "description": ""
+ },
+ "currently_used_prompt": {
+ "message": "Nome del prompt attualmente utilizzato",
+ "description": ""
}
}
\ No newline at end of file
diff --git a/customprompts/mzta-custom-prompts.css b/customprompts/mzta-custom-prompts.css
index fd043b48..c65acfad 100644
--- a/customprompts/mzta-custom-prompts.css
+++ b/customprompts/mzta-custom-prompts.css
@@ -169,4 +169,15 @@ table .sort.desc {
#txtIdNew, .id_output{
text-transform: lowercase;
+}
+
+#import_export{
+ position: absolute;
+ right:10px;
+ top:10px;
+ text-align: right;
+}
+
+#btnExportAll{
+ margin-bottom: 3px;
}
\ No newline at end of file
diff --git a/customprompts/mzta-custom-prompts.html b/customprompts/mzta-custom-prompts.html
index 60898e93..59e01931 100644
--- a/customprompts/mzta-custom-prompts.html
+++ b/customprompts/mzta-custom-prompts.html
@@ -8,9 +8,15 @@