mirror of https://github.com/arendst/Tasmota.git
FSMan: add file deletion confirmation
This commit is contained in:
parent
52d31f2250
commit
8523b50d4e
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "versterking:"
|
||||
|
|
|
@ -938,6 +938,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "усилване:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "neue-datei.txt"
|
||||
#define D_CREATE_NEW_FILE "Neue Datei erstellen und bearbeiten"
|
||||
#define D_EDIT_FILE "Datei bearbeiten"
|
||||
#define D_CONFIRM_FILE_DEL "Löschen der Datei bestätigen"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "Umgebung:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "nuevo.txt"
|
||||
#define D_CREATE_NEW_FILE "Crear y editar un archivo nuevo"
|
||||
#define D_EDIT_FILE "Editar Archivo"
|
||||
#define D_CONFIRM_FILE_DEL "Confirmar la eliminación del archivo"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "Ganancia:"
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
/*
|
||||
fr-FR.h - localization for French - France for Tasmota
|
||||
|
||||
|
||||
Copyright (C) 2021 Olivier Francais
|
||||
|
||||
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
@ -938,6 +938,7 @@
|
|||
#define D_NEW_FILE "nouveau-fichier.txt"
|
||||
#define D_CREATE_NEW_FILE "Créer and modifier un nouveau fichier"
|
||||
#define D_EDIT_FILE "Modification de fichier"
|
||||
#define D_CONFIRM_FILE_DEL "Confirmez la suppression du fichier"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "nyereség:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "nuovofile.txt"
|
||||
#define D_CREATE_NEW_FILE "Crea e modifica nuovo file"
|
||||
#define D_EDIT_FILE "Modifica file"
|
||||
#define D_CONFIRM_FILE_DEL "Conferma eliminazione file"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "guadagno:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "nowyplik.txt"
|
||||
#define D_CREATE_NEW_FILE "Utwórz i edytuj nowy plik"
|
||||
#define D_EDIT_FILE "Edytuj Plik"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "wejście:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "khuếch đại:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -939,6 +939,7 @@
|
|||
#define D_NEW_FILE "newfile.txt"
|
||||
#define D_CREATE_NEW_FILE "Create and edit new file"
|
||||
#define D_EDIT_FILE "Edit File"
|
||||
#define D_CONFIRM_FILE_DEL "Confirm file deletion"
|
||||
|
||||
//xsns_67_as3935.ino
|
||||
#define D_AS3935_GAIN "gain:"
|
||||
|
|
|
@ -577,7 +577,7 @@ const char UFS_FORM_SDC_HREF[] PROGMEM =
|
|||
#ifdef GUI_TRASH_FILE
|
||||
const char UFS_FORM_SDC_HREFdel[] PROGMEM =
|
||||
//"<a href=ufsd?delete=%s/%s>🗑</a>"; // 🗑️
|
||||
"<a href=ufsd?delete=%s/%s>🔥</a>"; // 🔥
|
||||
"<a href=ufsd?delete=%s/%s onclick=\"return confirm('" D_CONFIRM_FILE_DEL "')\">🔥</a>"; // 🔥
|
||||
#endif // GUI_TRASH_FILE
|
||||
|
||||
#ifdef GUI_EDIT_FILE
|
||||
|
|
Loading…
Reference in New Issue