From 8523b50d4eca2a9faba46f30f5c488e2aa44ee08 Mon Sep 17 00:00:00 2001 From: Barbudor Date: Thu, 17 Jun 2021 19:02:58 +0200 Subject: [PATCH] FSMan: add file deletion confirmation --- tasmota/language/af_AF.h | 1 + tasmota/language/bg_BG.h | 1 + tasmota/language/cs_CZ.h | 1 + tasmota/language/de_DE.h | 1 + tasmota/language/el_GR.h | 1 + tasmota/language/en_GB.h | 1 + tasmota/language/es_ES.h | 1 + tasmota/language/fr_FR.h | 9 +++++---- tasmota/language/fy_NL.h | 1 + tasmota/language/he_HE.h | 1 + tasmota/language/hu_HU.h | 1 + tasmota/language/it_IT.h | 1 + tasmota/language/ko_KO.h | 1 + tasmota/language/nl_NL.h | 1 + tasmota/language/pl_PL.h | 1 + tasmota/language/pt_BR.h | 1 + tasmota/language/pt_PT.h | 1 + tasmota/language/ru_RU.h | 1 + tasmota/language/sk_SK.h | 1 + tasmota/language/sv_SE.h | 1 + tasmota/language/tr_TR.h | 1 + tasmota/language/uk_UA.h | 1 + tasmota/language/vi_VN.h | 1 + tasmota/language/zh_CN.h | 1 + tasmota/language/zh_TW.h | 1 + tasmota/xdrv_50_filesystem.ino | 2 +- 26 files changed, 30 insertions(+), 5 deletions(-) diff --git a/tasmota/language/af_AF.h b/tasmota/language/af_AF.h index 330d462ed..f60cd0444 100644 --- a/tasmota/language/af_AF.h +++ b/tasmota/language/af_AF.h @@ -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:" diff --git a/tasmota/language/bg_BG.h b/tasmota/language/bg_BG.h index 930525540..33a4b3e26 100644 --- a/tasmota/language/bg_BG.h +++ b/tasmota/language/bg_BG.h @@ -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 "усилване:" diff --git a/tasmota/language/cs_CZ.h b/tasmota/language/cs_CZ.h index fe78ec6bc..e3fea7beb 100644 --- a/tasmota/language/cs_CZ.h +++ b/tasmota/language/cs_CZ.h @@ -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:" diff --git a/tasmota/language/de_DE.h b/tasmota/language/de_DE.h index eeb1b05a0..11cc97456 100644 --- a/tasmota/language/de_DE.h +++ b/tasmota/language/de_DE.h @@ -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:" diff --git a/tasmota/language/el_GR.h b/tasmota/language/el_GR.h index dbb0bb5cb..8f8e18974 100644 --- a/tasmota/language/el_GR.h +++ b/tasmota/language/el_GR.h @@ -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:" diff --git a/tasmota/language/en_GB.h b/tasmota/language/en_GB.h index f7063e4dc..ba101fd4e 100644 --- a/tasmota/language/en_GB.h +++ b/tasmota/language/en_GB.h @@ -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:" diff --git a/tasmota/language/es_ES.h b/tasmota/language/es_ES.h index 360fda36d..7f73934d0 100644 --- a/tasmota/language/es_ES.h +++ b/tasmota/language/es_ES.h @@ -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:" diff --git a/tasmota/language/fr_FR.h b/tasmota/language/fr_FR.h index 7d0154754..cedf77d31 100644 --- a/tasmota/language/fr_FR.h +++ b/tasmota/language/fr_FR.h @@ -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 . */ @@ -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:" diff --git a/tasmota/language/fy_NL.h b/tasmota/language/fy_NL.h index e2e058904..9ba2b4daf 100644 --- a/tasmota/language/fy_NL.h +++ b/tasmota/language/fy_NL.h @@ -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:" diff --git a/tasmota/language/he_HE.h b/tasmota/language/he_HE.h index c016817ac..75fb110f9 100644 --- a/tasmota/language/he_HE.h +++ b/tasmota/language/he_HE.h @@ -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:" diff --git a/tasmota/language/hu_HU.h b/tasmota/language/hu_HU.h index 76510b2ca..f0cf4d6c7 100644 --- a/tasmota/language/hu_HU.h +++ b/tasmota/language/hu_HU.h @@ -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:" diff --git a/tasmota/language/it_IT.h b/tasmota/language/it_IT.h index 0c61e6080..c73612508 100644 --- a/tasmota/language/it_IT.h +++ b/tasmota/language/it_IT.h @@ -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:" diff --git a/tasmota/language/ko_KO.h b/tasmota/language/ko_KO.h index 01a900993..07bf79d50 100644 --- a/tasmota/language/ko_KO.h +++ b/tasmota/language/ko_KO.h @@ -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:" diff --git a/tasmota/language/nl_NL.h b/tasmota/language/nl_NL.h index 8248319d5..e998fda83 100644 --- a/tasmota/language/nl_NL.h +++ b/tasmota/language/nl_NL.h @@ -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:" diff --git a/tasmota/language/pl_PL.h b/tasmota/language/pl_PL.h index 30b44cc7b..a60f35d3b 100644 --- a/tasmota/language/pl_PL.h +++ b/tasmota/language/pl_PL.h @@ -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:" diff --git a/tasmota/language/pt_BR.h b/tasmota/language/pt_BR.h index cead1dd7e..b6acd03ba 100644 --- a/tasmota/language/pt_BR.h +++ b/tasmota/language/pt_BR.h @@ -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:" diff --git a/tasmota/language/pt_PT.h b/tasmota/language/pt_PT.h index 1d7405e46..6ddcfa2c8 100644 --- a/tasmota/language/pt_PT.h +++ b/tasmota/language/pt_PT.h @@ -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:" diff --git a/tasmota/language/ru_RU.h b/tasmota/language/ru_RU.h index 39ace4cd1..dd1f51026 100644 --- a/tasmota/language/ru_RU.h +++ b/tasmota/language/ru_RU.h @@ -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:" diff --git a/tasmota/language/sk_SK.h b/tasmota/language/sk_SK.h index b2b1fe7cf..2ff278050 100644 --- a/tasmota/language/sk_SK.h +++ b/tasmota/language/sk_SK.h @@ -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:" diff --git a/tasmota/language/sv_SE.h b/tasmota/language/sv_SE.h index 9db6a70c3..828b13f4a 100644 --- a/tasmota/language/sv_SE.h +++ b/tasmota/language/sv_SE.h @@ -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:" diff --git a/tasmota/language/tr_TR.h b/tasmota/language/tr_TR.h index 88f994cae..0e4e837c1 100644 --- a/tasmota/language/tr_TR.h +++ b/tasmota/language/tr_TR.h @@ -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:" diff --git a/tasmota/language/uk_UA.h b/tasmota/language/uk_UA.h index b49545bf3..d13226b9e 100644 --- a/tasmota/language/uk_UA.h +++ b/tasmota/language/uk_UA.h @@ -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:" diff --git a/tasmota/language/vi_VN.h b/tasmota/language/vi_VN.h index cf932e10a..0d406ab48 100644 --- a/tasmota/language/vi_VN.h +++ b/tasmota/language/vi_VN.h @@ -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:" diff --git a/tasmota/language/zh_CN.h b/tasmota/language/zh_CN.h index 525fd4378..19c8656f2 100644 --- a/tasmota/language/zh_CN.h +++ b/tasmota/language/zh_CN.h @@ -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:" diff --git a/tasmota/language/zh_TW.h b/tasmota/language/zh_TW.h index c25cf3c50..a9abbd760 100644 --- a/tasmota/language/zh_TW.h +++ b/tasmota/language/zh_TW.h @@ -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:" diff --git a/tasmota/xdrv_50_filesystem.ino b/tasmota/xdrv_50_filesystem.ino index bb3eb2c1b..87d722474 100644 --- a/tasmota/xdrv_50_filesystem.ino +++ b/tasmota/xdrv_50_filesystem.ino @@ -577,7 +577,7 @@ const char UFS_FORM_SDC_HREF[] PROGMEM = #ifdef GUI_TRASH_FILE const char UFS_FORM_SDC_HREFdel[] PROGMEM = //"🗑"; // 🗑️ - "🔥"; // 🔥 + "🔥"; // 🔥 #endif // GUI_TRASH_FILE #ifdef GUI_EDIT_FILE