From 051cd2d0d5c3eed35e79f810f7b99c5112ddc8e8 Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Tue, 17 Dec 2024 23:23:16 +0100 Subject: [PATCH] Adds manual backup creation --- DATABASE.md | 7 -- .../interfaces/DatabaseBackupInterface.java | 1 + .../controller/api/DatabaseController.java | 67 ++++++++++++++----- src/main/resources/messages_ar_AR.properties | 2 + src/main/resources/messages_az_AZ.properties | 2 + src/main/resources/messages_bg_BG.properties | 2 + src/main/resources/messages_ca_CA.properties | 2 + src/main/resources/messages_cs_CZ.properties | 2 + src/main/resources/messages_da_DK.properties | 2 + src/main/resources/messages_de_DE.properties | 2 + src/main/resources/messages_el_GR.properties | 2 + src/main/resources/messages_en_GB.properties | 2 + src/main/resources/messages_en_US.properties | 2 + src/main/resources/messages_es_ES.properties | 2 + src/main/resources/messages_eu_ES.properties | 2 + src/main/resources/messages_fa_IR.properties | 2 + src/main/resources/messages_fr_FR.properties | 2 + src/main/resources/messages_ga_IE.properties | 2 + src/main/resources/messages_hi_IN.properties | 2 + src/main/resources/messages_hr_HR.properties | 2 + src/main/resources/messages_hu_HU.properties | 2 + src/main/resources/messages_id_ID.properties | 2 + src/main/resources/messages_it_IT.properties | 2 + src/main/resources/messages_ja_JP.properties | 2 + src/main/resources/messages_ko_KR.properties | 2 + src/main/resources/messages_nl_NL.properties | 2 + src/main/resources/messages_no_NB.properties | 2 + src/main/resources/messages_pl_PL.properties | 2 + src/main/resources/messages_pt_BR.properties | 2 + src/main/resources/messages_pt_PT.properties | 2 + src/main/resources/messages_ro_RO.properties | 2 + src/main/resources/messages_ru_RU.properties | 2 + src/main/resources/messages_sk_SK.properties | 2 + .../resources/messages_sr_LATN_RS.properties | 2 + src/main/resources/messages_sv_SE.properties | 2 + src/main/resources/messages_th_TH.properties | 2 + src/main/resources/messages_tr_TR.properties | 2 + src/main/resources/messages_uk_UA.properties | 2 + src/main/resources/messages_vi_VN.properties | 2 + src/main/resources/messages_zh_CN.properties | 2 + src/main/resources/messages_zh_TW.properties | 2 + src/main/resources/templates/database.html | 1 + 42 files changed, 128 insertions(+), 24 deletions(-) diff --git a/DATABASE.md b/DATABASE.md index e8e0c838..c37c598b 100644 --- a/DATABASE.md +++ b/DATABASE.md @@ -1,12 +1,5 @@ # New Database Backup and Import Functionality -> [!IMPORTANT] -> **Full activation will take place on approximately January 5th, 2025!** - -Why is the waiting time six months? - -There are users who only install updates sporadically; if they skip the preparation, it can/will lead to data loss in the database. - ## Functionality Overview The newly introduced feature enhances the application with robust database backup and import capabilities. This feature is designed to ensure data integrity and provide a straightforward way to manage database backups. Here's how it works: diff --git a/src/main/java/stirling/software/SPDF/config/interfaces/DatabaseBackupInterface.java b/src/main/java/stirling/software/SPDF/config/interfaces/DatabaseBackupInterface.java index 3ad11f2a..9d0e094a 100644 --- a/src/main/java/stirling/software/SPDF/config/interfaces/DatabaseBackupInterface.java +++ b/src/main/java/stirling/software/SPDF/config/interfaces/DatabaseBackupInterface.java @@ -6,6 +6,7 @@ import java.util.List; import stirling.software.SPDF.utils.FileInfo; public interface DatabaseBackupInterface { + void exportDatabase() throws IOException; boolean importDatabase(); diff --git a/src/main/java/stirling/software/SPDF/controller/api/DatabaseController.java b/src/main/java/stirling/software/SPDF/controller/api/DatabaseController.java index 2f7e207b..efff6e92 100644 --- a/src/main/java/stirling/software/SPDF/controller/api/DatabaseController.java +++ b/src/main/java/stirling/software/SPDF/controller/api/DatabaseController.java @@ -25,6 +25,7 @@ import org.springframework.web.servlet.mvc.support.RedirectAttributes; import io.swagger.v3.oas.annotations.Hidden; import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.tags.Tag; import lombok.extern.slf4j.Slf4j; @@ -34,24 +35,28 @@ import stirling.software.SPDF.config.security.database.DatabaseBackupHelper; @Controller @RequestMapping("/api/v1/database") @PreAuthorize("hasRole('ROLE_ADMIN')") -@Tag(name = "Database", description = "Database APIs") +@Tag(name = "Database", description = "Database APIs for backup, import, and management") public class DatabaseController { @Autowired DatabaseBackupHelper databaseBackupHelper; - @Hidden - @PostMapping(consumes = "multipart/form-data", value = "import-database") @Operation( - summary = "Import database backup", - description = "This endpoint imports a database backup from a SQL file.") + summary = "Import a database backup file", + description = "Uploads and imports a database backup SQL file.") + @PostMapping(consumes = "multipart/form-data", value = "import-database") public String importDatabase( - @RequestParam("fileInput") MultipartFile file, RedirectAttributes redirectAttributes) - throws IllegalArgumentException, IOException { + @Parameter(description = "SQL file to import", required = true) + @RequestParam("fileInput") + MultipartFile file, + RedirectAttributes redirectAttributes) + throws IOException { + if (file == null || file.isEmpty()) { redirectAttributes.addAttribute("error", "fileNullOrEmpty"); return "redirect:/database"; } log.info("Received file: {}", file.getOriginalFilename()); + Path tempTemplatePath = Files.createTempFile("backup_", ".sql"); try (InputStream in = file.getInputStream()) { Files.copy(in, tempTemplatePath, StandardCopyOption.REPLACE_EXISTING); @@ -69,9 +74,15 @@ public class DatabaseController { } @Hidden + @Operation( + summary = "Import database backup by filename", + description = "Imports a database backup file from the server using its file name.") @GetMapping("/import-database-file/{fileName}") - public String importDatabaseFromBackupUI(@PathVariable String fileName) - throws IllegalArgumentException, IOException { + public String importDatabaseFromBackupUI( + @Parameter(description = "Name of the file to import", required = true) @PathVariable + String fileName) + throws IOException { + if (fileName == null || fileName.isEmpty()) { return "redirect:/database?error=fileNullOrEmpty"; } @@ -85,6 +96,7 @@ public class DatabaseController { return "redirect:/database?error=fileNotFound"; } log.info("Received file: {}", fileName); + if (databaseBackupHelper.importDatabaseFromUI(fileName)) { log.info("File {} imported to database", fileName); return "redirect:/database?infoMessage=importIntoDatabaseSuccessed"; @@ -93,12 +105,14 @@ public class DatabaseController { } @Hidden - @GetMapping("/delete/{fileName}") @Operation( summary = "Delete a database backup file", - description = - "This endpoint deletes a database backup file with the specified file name.") - public String deleteFile(@PathVariable String fileName) { + description = "Deletes a specified database backup file from the server.") + @GetMapping("/delete/{fileName}") + public String deleteFile( + @Parameter(description = "Name of the file to delete", required = true) @PathVariable + String fileName) { + if (fileName == null || fileName.isEmpty()) { throw new IllegalArgumentException("File must not be null or empty"); } @@ -117,12 +131,13 @@ public class DatabaseController { } @Hidden - @GetMapping("/download/{fileName}") @Operation( summary = "Download a database backup file", - description = - "This endpoint downloads a database backup file with the specified file name.") - public ResponseEntity downloadFile(@PathVariable String fileName) { + description = "Downloads the specified database backup file from the server.") + @GetMapping("/download/{fileName}") + public ResponseEntity downloadFile( + @Parameter(description = "Name of the file to download", required = true) @PathVariable + String fileName) { if (fileName == null || fileName.isEmpty()) { throw new IllegalArgumentException("File must not be null or empty"); } @@ -141,4 +156,22 @@ public class DatabaseController { .build(); } } + + @Operation( + summary = "Create a database backup", + description = + "This endpoint triggers the creation of a database backup and redirects to the" + + " database management page.") + @GetMapping("/createDatabaseBackup") + public String createDatabaseBackup() { + try { + log.info("Starting database backup creation..."); + databaseBackupHelper.exportDatabase(); + log.info("Database backup successfully created."); + } catch (IOException e) { + log.error("Error creating database backup: {}", e.getMessage(), e); + return "redirect:/database?error=" + e.getMessage(); + } + return "redirect:/database?infoMessage=backupCreated"; + } } diff --git a/src/main/resources/messages_ar_AR.properties b/src/main/resources/messages_ar_AR.properties index 954ce64b..b12a12ed 100644 --- a/src/main/resources/messages_ar_AR.properties +++ b/src/main/resources/messages_ar_AR.properties @@ -238,11 +238,13 @@ database.creationDate=تاريخ الإنشاء database.fileSize=حجم الملف database.deleteBackupFile=حذف ملف النسخ الاحتياطي database.importBackupFile=استيراد ملف النسخ الاحتياطي +database.createBackupFile=Create Backup File database.downloadBackupFile=تنزيل ملف النسخ الاحتياطي database.info_1=عند استيراد البيانات، من الضروري ضمان الهيكل الصحيح. إذا كنت غير متأكد مما تفعله، اطلب المشورة والدعم من محترف. يمكن أن يؤدي الخطأ في الهيكل إلى حدوث أعطال في التطبيق، حتى عدم القدرة على تشغيل التطبيق بالكامل. database.info_2=لا يهم اسم الملف عند التحميل. سيتم إعادة تسميته بعد ذلك لاتباع التنسيق backup_user_yyyyMMddHHmm.sql، مما يضمن اتساق تسمية متناسق. database.submit=استيراد النسخة الاحتياطية database.importIntoDatabaseSuccessed=تم استيراد قاعدة البيانات بنجاح +database.backupCreated=Database backup successful database.fileNotFound=لم يتم العثور على الملف database.fileNullOrEmpty=يجب ألا يكون الملف فارغًا أو خاليًا database.failedImportFile=فشل استيراد الملف diff --git a/src/main/resources/messages_az_AZ.properties b/src/main/resources/messages_az_AZ.properties index dcffafa6..9a4cae6a 100644 --- a/src/main/resources/messages_az_AZ.properties +++ b/src/main/resources/messages_az_AZ.properties @@ -238,11 +238,13 @@ database.creationDate=Yaradılma tarixi database.fileSize=Fayl Ölçüsü database.deleteBackupFile=Yedək Faylını Sil database.importBackupFile=Yedək Faylını Daxil Et +database.createBackupFile=Create Backup File database.downloadBackupFile=Yedək Faylını Yüklə database.info_1=Məlumatı daxil edərkən doğru strukturun mövcudluğundan əmin olmaq vacibdir. Əgər nə etdiyinizdən əmin deyilsinizsə, professional birindən məsləhət və yardım alın. Strukturdakı xəta proqramdakı nasazlıqlardan proqramı çalışdırma qabiliyyətinin tamamilə aradan qalxmasına qədər bir sıra problemlərə səbəb ola bilər. database.info_2=Faylın adı fayl yüklənərkən önəmli deyildir. Faylın adı sonradan sabit adlandırmanın varlığından əmin olmaq məqsədilə backup_user_yyyyMMddHHmm.sql tərzində formata dəyişdiriləcəkdir. database.submit=Yedəkləməni Daxil Et database.importIntoDatabaseSuccessed=Verilənlər bazasına daxil etmə uğurla nəticələndi +database.backupCreated=Database backup successful database.fileNotFound=Fayl Tapılmadı database.fileNullOrEmpty=Fayl boş və ya "null" olmamalıdır database.failedImportFile=Faylı daxil etmək alınmadı diff --git a/src/main/resources/messages_bg_BG.properties b/src/main/resources/messages_bg_BG.properties index 8c6b510f..fb4796e5 100644 --- a/src/main/resources/messages_bg_BG.properties +++ b/src/main/resources/messages_bg_BG.properties @@ -238,11 +238,13 @@ database.creationDate=Дата на създаване database.fileSize=Размер на файла database.deleteBackupFile=Изтриване на архивен файл database.importBackupFile=Импортиране на архивен файл +database.createBackupFile=Create Backup File database.downloadBackupFile=Изтеглете архивен файл database.info_1=Когато импортирате данни, е от решаващо значение да осигурите правилната структура. Ако не сте сигурни в това, което правите, потърсете съвет и подкрепа от професионалист. Грешка в структурата може да причини неизправност на приложението, включително пълна невъзможност за стартиране на приложението. database.info_2=Името на файла няма значение при качване. След това ще бъде преименуван, за да следва формата backup_user_yyyyMMddHHmm.sql, осигурявайки последователна конвенция за именуване. database.submit=Импортиране на резервно копие database.importIntoDatabaseSuccessed=Импортирането в базата данни бе успешно +database.backupCreated=Database backup successful database.fileNotFound=Файлът не е намерен database.fileNullOrEmpty=Файлът не трябва да е нулев или празен database.failedImportFile=Неуспешно импортиране на файл diff --git a/src/main/resources/messages_ca_CA.properties b/src/main/resources/messages_ca_CA.properties index 2cf560b1..96e429a3 100644 --- a/src/main/resources/messages_ca_CA.properties +++ b/src/main/resources/messages_ca_CA.properties @@ -238,11 +238,13 @@ database.creationDate=Data de Creació database.fileSize=Mida del Fitxer database.deleteBackupFile=Elimina el Fitxer de Còpia de Seguretat database.importBackupFile=Importa el Fitxer de Còpia de Seguretat +database.createBackupFile=Create Backup File database.downloadBackupFile=Descarrega el Fitxer de Còpia de Seguretat database.info_1=Quan importis dades, és crucial assegurar-se que l'estructura sigui correcta. Si no estàs segur del que fas, busca l'assessorament d'un professional. Un error en l'estructura pot causar malfuncionaments de l'aplicació, fins i tot impossibilitar-ne l'execució. database.info_2=El nom del fitxer no importa quan es puja. Es renombrarà després per seguir el format backup_user_yyyyMMddHHmm.sql, assegurant una convenció de nomenclatura consistent. database.submit=Importa la Còpia de Seguretat database.importIntoDatabaseSuccessed=Importació a la base de dades completada amb èxit +database.backupCreated=Database backup successful database.fileNotFound=Fitxer no trobat database.fileNullOrEmpty=El fitxer no ha de ser nul o buit database.failedImportFile=Error en la importació del fitxer diff --git a/src/main/resources/messages_cs_CZ.properties b/src/main/resources/messages_cs_CZ.properties index fbf4b21f..553ec40e 100644 --- a/src/main/resources/messages_cs_CZ.properties +++ b/src/main/resources/messages_cs_CZ.properties @@ -238,11 +238,13 @@ database.creationDate=Datum vytvoření database.fileSize=Velikost souboru database.deleteBackupFile=Smazat záložní soubor database.importBackupFile=Import zálohy souboru +database.createBackupFile=Create Backup File database.downloadBackupFile=Stáhnout zálohový soubor database.info_1=Při importu dat je důležité zajistit správnou strukturu. Pokud jste nejistí, jak se chovat, hledajte konzultaci a podporu od profesionala. Chyba v struktuře může vést k selhání aplikace, dokonce i k tomu, že by aplikace nemohla být spuštěna. database.info_2=Název souboru nezáleží při nahrávání. Bude jeho zpětně znovu pojmenován podle formáту backup_user_yyyyMMddHHmm.sql, což zajišťuje konzistentní pravidlo označení. database.submit=Import zálohy database.importIntoDatabaseSuccessed=Import do databáze byl úspěšný +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=Soubor nemůže být null nebo prázdný database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_da_DK.properties b/src/main/resources/messages_da_DK.properties index ad383ff8..9ab36d58 100644 --- a/src/main/resources/messages_da_DK.properties +++ b/src/main/resources/messages_da_DK.properties @@ -238,11 +238,13 @@ database.creationDate=Oprettelsesdato database.fileSize=Filstørrelse database.deleteBackupFile=Slet Backup-fil database.importBackupFile=Importér Backup-fil +database.createBackupFile=Create Backup File database.downloadBackupFile=Download Backup-fil database.info_1=Ved import af data er det afgørende at sikre den korrekte struktur. Hvis du er usikker på, hvad du gør, søg råd og støtte fra en professionel. En fejl i strukturen kan forårsage applikationsfejl, op til og med fuldstændig manglende evne til at køre applikationen. database.info_2=Filnavnet er ligegyldigt ved upload. Det vil blive omdøbt bagefter for at følge formatet backup_user_yyyyMMddHHmm.sql, hvilket sikrer en konsistent navngivningskonvention. database.submit=Importér Backup database.importIntoDatabaseSuccessed=Import i database lykkedes +database.backupCreated=Database backup successful database.fileNotFound=Fil ikke fundet database.fileNullOrEmpty=Fil må ikke være null eller tom database.failedImportFile=Kunne ikke importere fil diff --git a/src/main/resources/messages_de_DE.properties b/src/main/resources/messages_de_DE.properties index 432bed09..3681c221 100644 --- a/src/main/resources/messages_de_DE.properties +++ b/src/main/resources/messages_de_DE.properties @@ -238,11 +238,13 @@ database.creationDate=Erstellungsdatum database.fileSize=Dateigröße database.deleteBackupFile=Sicherungsdatei löschen database.importBackupFile=Sicherungsdatei importieren +database.createBackupFile=Sicherungsdatei erstellen database.downloadBackupFile=Sicherungsdatei herunterladen database.info_1=Beim Importieren der Daten ist es von größter Bedeutung, die korrekte Struktur zu gewährleisten. Wenn Sie nicht sicher sind, was Sie tun, suchen Sie Rat und Unterstützung von einem Fachmann. Ein Fehler in der Struktur kann zu Fehlfunktionen der Anwendung führen, bis hin zur vollständigen Nicht-Lauffähigkeit der Anwendung. database.info_2=Der Dateiname spielt beim Hochladen keine Rolle. Dieser wird nachträglich in das Format backup_user_yyyyMMddHHmm.sql geändert, um eine einheitliche Benennung zu gewährleisten. database.submit=Sicherungsdatei importieren database.importIntoDatabaseSuccessed=Import in die Datenbank erfolgreich +database.backupCreated=Datenbanksicherung erfolgreich database.fileNotFound=Datei nicht gefunden database.fileNullOrEmpty=Datei darf nicht null oder leer sein database.failedImportFile=Dateiimport fehlgeschlagen diff --git a/src/main/resources/messages_el_GR.properties b/src/main/resources/messages_el_GR.properties index 9c2e427d..cefb83e1 100644 --- a/src/main/resources/messages_el_GR.properties +++ b/src/main/resources/messages_el_GR.properties @@ -238,11 +238,13 @@ database.creationDate=Ημερομηνία δημιουργίας database.fileSize=Μέγεθος αρχείου database.deleteBackupFile=Διαγραφή Προγράμματος Ανασυγκρότησης database.importBackupFile=Εισάγωντας Προγράμματος Ανασυγκρότησης +database.createBackupFile=Create Backup File database.downloadBackupFile=Κατέβασμα Προγράμματος Ανασυγκρότησης database.info_1=Όταν εισάγετε δεδομένα, είναι σημαντικό να εξασφαλίσετε τη σωστή μορφοποίηση. Αν δεν είστε σίγουροι για το ποια πράγματα κάνετε, αιτήστε υποβολή και υποστήριξη από ευελίκτω. Μια σφάλμα στη μορφοποίηση μπορεί να προκαλέσει καταστάσεις λάθους στην εφαρμογή, αν όχι ολόκληρη την αποχώρηση της εφαρμογής. database.info_2=Το ονόμα του αρχείου δεν έχει σημασία όταν ξεκινάτε μια επέμβαση. Αλλαγήται αργότερα για να ακολουθήσει το σχήμα backup_ωςώντας_YYYYMMDDHHmm.sql, επιτρέποντας μια συνεχές κατάληψη ονόματος. database.submit=Εισάγωντας Προγράμματος Ανασυγκρότησης database.importIntoDatabaseSuccessed=Τελείωση εισαγωγής στη βάση δεδομένων. +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=Το αρχείο δεν μπορεί να είναι τυχόν ή κενό. database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_en_GB.properties b/src/main/resources/messages_en_GB.properties index 4056f972..73e56c9d 100644 --- a/src/main/resources/messages_en_GB.properties +++ b/src/main/resources/messages_en_GB.properties @@ -238,11 +238,13 @@ database.creationDate=Creation Date database.fileSize=File Size database.deleteBackupFile=Delete Backup File database.importBackupFile=Import Backup File +database.createBackupFile=Create Backup File database.downloadBackupFile=Download Backup File database.info_1=When importing data, it is crucial to ensure the correct structure. If you are unsure of what you are doing, seek advice and support from a professional. An error in the structure can cause application malfunctions, up to and including the complete inability to run the application. database.info_2=The file name does not matter when uploading. It will be renamed afterward to follow the format backup_user_yyyyMMddHHmm.sql, ensuring a consistent naming convention. database.submit=Import Backup database.importIntoDatabaseSuccessed=Import into database successed +database.backupCreated=Database backup successful database.fileNotFound=File not found database.fileNullOrEmpty=File must not be null or empty database.failedImportFile=Failed to import file diff --git a/src/main/resources/messages_en_US.properties b/src/main/resources/messages_en_US.properties index dbd67e2c..99095e19 100644 --- a/src/main/resources/messages_en_US.properties +++ b/src/main/resources/messages_en_US.properties @@ -238,11 +238,13 @@ database.creationDate=Creation Date database.fileSize=File Size database.deleteBackupFile=Delete Backup File database.importBackupFile=Import Backup File +database.createBackupFile=Create Backup File database.downloadBackupFile=Download Backup File database.info_1=When importing data, it is crucial to ensure the correct structure. If you are unsure of what you are doing, seek advice and support from a professional. An error in the structure can cause application malfunctions, up to and including the complete inability to run the application. database.info_2=The file name does not matter when uploading. It will be renamed afterward to follow the format backup_user_yyyyMMddHHmm.sql, ensuring a consistent naming convention. database.submit=Import Backup database.importIntoDatabaseSuccessed=Import into database successed +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=File must not be null or empty database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_es_ES.properties b/src/main/resources/messages_es_ES.properties index d1c50df7..d21c2e60 100644 --- a/src/main/resources/messages_es_ES.properties +++ b/src/main/resources/messages_es_ES.properties @@ -238,11 +238,13 @@ database.creationDate=Fecha de creación database.fileSize=Tamaño de archivo database.deleteBackupFile=Eliminar archivo de copia de seguridad database.importBackupFile=Importar archivo de copia de seguridad +database.createBackupFile=Create Backup File database.downloadBackupFile=Descargar archivo de copia de seguridad database.info_1=Al importar datos, es fundamental garantizar la estructura correcta. Si no está seguro de lo que está haciendo, busque consejo y apoyo de un profesional. Un error en la estructura puede causar un mal funcionamiento de la aplicación, incluyendo la imposibilidad total de ejecutar la aplicación. database.info_2=El nombre del archivo no importa al cargarlo. Posteriormente se le cambiará el nombre para que siga el formato backup_user_yyyyMMddHHmm.sql, lo que garantiza una convención de nomenclatura coherente. database.submit=Importar Copia de Seguridad database.importIntoDatabaseSuccessed=Importación a la base de datos ha sido exitosa +database.backupCreated=Database backup successful database.fileNotFound=Archivo no encontrado database.fileNullOrEmpty=El archivo no debe ser nulo o vacío. database.failedImportFile=Archivo de importación fallido diff --git a/src/main/resources/messages_eu_ES.properties b/src/main/resources/messages_eu_ES.properties index aebd93e3..f5d65e4f 100644 --- a/src/main/resources/messages_eu_ES.properties +++ b/src/main/resources/messages_eu_ES.properties @@ -238,11 +238,13 @@ database.creationDate=Creation Date database.fileSize=File Size database.deleteBackupFile=Delete Backup File database.importBackupFile=Import Backup File +database.createBackupFile=Create Backup File database.downloadBackupFile=Download Backup File database.info_1=When importing data, it is crucial to ensure the correct structure. If you are unsure of what you are doing, seek advice and support from a professional. An error in the structure can cause application malfunctions, up to and including the complete inability to run the application. database.info_2=The file name does not matter when uploading. It will be renamed afterward to follow the format backup_user_yyyyMMddHHmm.sql, ensuring a consistent naming convention. database.submit=Import Backup database.importIntoDatabaseSuccessed=Import into database successed +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=File must not be null or empty database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_fa_IR.properties b/src/main/resources/messages_fa_IR.properties index 13c0a09d..ce7781da 100644 --- a/src/main/resources/messages_fa_IR.properties +++ b/src/main/resources/messages_fa_IR.properties @@ -238,11 +238,13 @@ database.creationDate=تاریخ ایجاد database.fileSize=اندازه فایل database.deleteBackupFile=حذف فایل پشتیبان database.importBackupFile=وارد کردن فایل پشتیبان +database.createBackupFile=Create Backup File database.downloadBackupFile=دانلود فایل پشتیبان database.info_1=هنگام وارد کردن داده‌ها، اطمینان از ساختار صحیح ضروری است. اگر مطمئن نیستید چه کاری انجام می‌دهید، از یک متخصص مشاوره و پشتیبانی دریافت کنید. خطا در ساختار می‌تواند باعث اختلالات برنامه شود، حتی تا حدی که برنامه به طور کامل قادر به اجرا نباشد. database.info_2=نام فایل هنگام آپلود مهم نیست. پس از آن برای پیروی از قالب backup_user_yyyyMMddHHmm.sql تغییر نام داده می‌شود تا یک قرارداد نام‌گذاری ثابت را تضمین کند. database.submit=وارد کردن پشتیبان database.importIntoDatabaseSuccessed=وارد کردن در پایگاه داده موفقیت‌آمیز بود +database.backupCreated=Database backup successful database.fileNotFound=فایل پیدا نشد database.fileNullOrEmpty=فایل نباید خالی یا تهی باشد database.failedImportFile=وارد کردن فایل ناموفق بود diff --git a/src/main/resources/messages_fr_FR.properties b/src/main/resources/messages_fr_FR.properties index 90f670c3..5f907ba9 100644 --- a/src/main/resources/messages_fr_FR.properties +++ b/src/main/resources/messages_fr_FR.properties @@ -238,11 +238,13 @@ database.creationDate=Date de Création database.fileSize=Taille du Fichier database.deleteBackupFile=Supprimer le fichier de sauvegarde database.importBackupFile=Importer le fichier de sauvegarde +database.createBackupFile=Create Backup File database.downloadBackupFile=Télécharger le fichier de sauvegarde database.info_1=Lors de l'importation des données, il est crucial de garantir la structure correcte. Si vous n'êtes pas sûr de ce que vous faites, sollicitez un avis et un soutien d'un professionnel. Une erreur dans la structure peut entraîner des dysfonctionnements de l'application, allant jusqu'à l'incapacité totale d'exécuter l'application. database.info_2=Le nom du fichier ne fait pas de différence lors de l'upload. Il sera renommé ultérieurement selon le format backup_user_yyyyMMddHHmm.sql, assurant ainsi une convention de nommage cohérente. database.submit=Importer la sauvegarde database.importIntoDatabaseSuccessed=Importation dans la base de données réussie +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=Fichier ne peut pas être null ou vide database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_ga_IE.properties b/src/main/resources/messages_ga_IE.properties index 087924ef..42ef0095 100644 --- a/src/main/resources/messages_ga_IE.properties +++ b/src/main/resources/messages_ga_IE.properties @@ -238,11 +238,13 @@ database.creationDate=Dáta Cruthaithe database.fileSize=Méid an Chomhaid database.deleteBackupFile=Scrios Comhad Cúltaca database.importBackupFile=Iompórtáil Comhad Cúltaca +database.createBackupFile=Create Backup File database.downloadBackupFile=Íoslódáil an comhad cúltaca database.info_1=Agus sonraí á n-allmhairiú, tá sé ríthábhachtach an struchtúr ceart a chinntiú. Mura bhfuil tú cinnte faoina bhfuil ar siúl agat, iarr comhairle agus tacaíocht ó ghairmí. Féadfaidh earráid sa struchtúr a bheith ina chúis le mífheidhmeanna iarratais, suas go dtí agus lena n-áirítear an neamhábaltacht iomlán an t-iarratas a rith. database.info_2=Ní hionann ainm an chomhaid agus é á uaslódáil. Déanfar é a athainmniú ina dhiaidh sin chun an fhormáid backup_user_yyyyMMddHHmm.sql a leanúint, ag cinntiú go bhfuil coinbhinsiún ainmniúcháin comhsheasmhach ann. database.submit=Iompórtáil Cúltaca database.importIntoDatabaseSuccessed=D'éirigh leis an allmhairiú isteach sa bhunachar sonraí +database.backupCreated=Database backup successful database.fileNotFound=Comhad gan aimsiú database.fileNullOrEmpty=Níor cheart go mbeadh an comhad ar neamhní nó folamh database.failedImportFile=Theip ar iompórtáil an chomhaid diff --git a/src/main/resources/messages_hi_IN.properties b/src/main/resources/messages_hi_IN.properties index 957238e0..581f04b1 100644 --- a/src/main/resources/messages_hi_IN.properties +++ b/src/main/resources/messages_hi_IN.properties @@ -238,11 +238,13 @@ database.creationDate=Creation Date database.fileSize=File Size database.deleteBackupFile=Delete Backup File database.importBackupFile=Import Backup File +database.createBackupFile=Create Backup File database.downloadBackupFile=Download Backup File database.info_1=When importing data, it is crucial to ensure the correct structure. If you are unsure of what you are doing, seek advice and support from a professional. An error in the structure can cause application malfunctions, up to and including the complete inability to run the application. database.info_2=The file name does not matter when uploading. It will be renamed afterward to follow the format backup_user_yyyyMMddHHmm.sql, ensuring a consistent naming convention. database.submit=Import Backup database.importIntoDatabaseSuccessed=Import into database successed +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=File must not be null or empty database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_hr_HR.properties b/src/main/resources/messages_hr_HR.properties index f22c1272..efd24b4c 100644 --- a/src/main/resources/messages_hr_HR.properties +++ b/src/main/resources/messages_hr_HR.properties @@ -238,11 +238,13 @@ database.creationDate=Datum stvaranja database.fileSize=Veličina datoteke database.deleteBackupFile=Obriši zadao sažeto datoteke database.importBackupFile=Uvezi sažeto datoteku +database.createBackupFile=Create Backup File database.downloadBackupFile=Preuzmi sažeto datoteku database.info_1=Kada uvažavate podatke, je ključno sigurno imati ispravan struktur. Ako niste sigurni šta uradite, tražite savjet i podršku od professionala. Greška u strukturi može uzrokovati greške u aplikaciji, do i uključujući potpunu nevjerojatnost funkcionalnosti aplikacije. database.info_2=Ime datoteke nije relevantno prijevezi. Buduće bit će ponovno oznaceno za određeni format backup_user_yyyyMMddHHmm.sql, čime se osigurava konzistentna nazivnica. database.submit=Uvezi sažeto database.importIntoDatabaseSuccessed=Uvez u bazu podataka uspio +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=Datoteka ne smije biti null ili prazna database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_hu_HU.properties b/src/main/resources/messages_hu_HU.properties index 0ac19e2f..c847e646 100644 --- a/src/main/resources/messages_hu_HU.properties +++ b/src/main/resources/messages_hu_HU.properties @@ -238,11 +238,13 @@ database.creationDate=Létrehozás dátuma database.fileSize=Fájlszámítás database.deleteBackupFile=Visszaulasztó fájl törlése database.importBackupFile=Bemérsz visszaulastó fájl +database.createBackupFile=Create Backup File database.downloadBackupFile=Bemérő fájlet letöltés database.info_1=A bemeneti adatok bemérésekor fontos, hogy az helyes struktúrát biztosítsa. Ha nem tudja mit csinál, kérjen támogatást egy szakembertől. Az erőforrás hibája okozhat alkalmazás-ismerséleti gondokat, és viszontig, hogy az alkalmazás teljesen nem fut. database.info_2=A fájl neve nem jelent részt a feltöltés során. Később újra néven lesz átalakítva egy konzisztens nevésrendszert követve, a formátum: visszaulasztó_user_yyyyMMddHHmm.sql. database.submit=Bemérsz visszaulastó fájl database.importIntoDatabaseSuccessed=Adatbázisba importálva sikeresen +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=Fájlnull vagy üres nélkül nem lehet folytatni database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_id_ID.properties b/src/main/resources/messages_id_ID.properties index 4acf4dd4..d7fd7bda 100644 --- a/src/main/resources/messages_id_ID.properties +++ b/src/main/resources/messages_id_ID.properties @@ -238,11 +238,13 @@ database.creationDate=Tanggal Pembuatan database.fileSize=Ukuran Berkas database.deleteBackupFile=Hapus Berkas Cadangan database.importBackupFile=Impor Berkas Cadangan +database.createBackupFile=Create Backup File database.downloadBackupFile=Unduh Berkas Cadangan database.info_1=Ketika mengimpor data, sangat penting untuk memastikan struktur yang benar. Jika Anda tidak yakin dengan apa yang Anda lakukan, cari nasihat dan dukungan dari seorang profesional. Kesalahan dalam struktur dapat menyebabkan malfungsi aplikasi, bahkan hingga tidak dapat menjalankan aplikasi sama sekali. database.info_2=Nama berkas tidak menjadi masalah saat mengunggah. Nama berkas akan diubah setelahnya mengikuti format backup_user_yyyyMMddHHmm.sql, memastikan konsistensi dalam penamaan. database.submit=Impor Cadangan database.importIntoDatabaseSuccessed=Impor ke database berhasil +database.backupCreated=Database backup successful database.fileNotFound=Berkas tidak Ditemukan database.fileNullOrEmpty=Berkas tidak boleh null atau kosong database.failedImportFile=Impor Berkas Gagal diff --git a/src/main/resources/messages_it_IT.properties b/src/main/resources/messages_it_IT.properties index d2b422c2..ebe4494e 100644 --- a/src/main/resources/messages_it_IT.properties +++ b/src/main/resources/messages_it_IT.properties @@ -238,11 +238,13 @@ database.creationDate=Data di creazione database.fileSize=Dimensione database.deleteBackupFile=Elimina file di backup database.importBackupFile=Importa file di backup +database.createBackupFile=Create Backup File database.downloadBackupFile=Scarica il file di backup database.info_1=Quando si importano i dati, è fondamentale garantire la struttura corretta. Se non sei sicuro di quello che stai facendo, chiedi consiglio e supporto a un professionista. Un errore nella struttura può causare malfunzionamenti dell'applicazione, fino alla completa impossibilità di eseguire l'applicazione. database.info_2=Il nome del file non ha importanza durante il caricamento. Verrà rinominato in seguito per seguire il formato backup_user__yyyyMMddHHmm.sql,garantendo una convenzione di denominazione coerente. database.submit=Importa Backup database.importIntoDatabaseSuccessed=L'importazione nel database è avvenuta con successo +database.backupCreated=Database backup successful database.fileNotFound=File non trovato database.fileNullOrEmpty=Il file non deve essere nullo o vuoto database.failedImportFile=Importazione file non riuscita diff --git a/src/main/resources/messages_ja_JP.properties b/src/main/resources/messages_ja_JP.properties index efaae957..e5bef7b4 100644 --- a/src/main/resources/messages_ja_JP.properties +++ b/src/main/resources/messages_ja_JP.properties @@ -238,11 +238,13 @@ database.creationDate=作成日 database.fileSize=ファイルサイズ database.deleteBackupFile=バックアップファイルの削除 database.importBackupFile=バックアップファイルをインポート +database.createBackupFile=Create Backup File database.downloadBackupFile=バックアップファイルをダウンロード database.info_1=データをインポートする際には、正しい構造を確保することが極めて重要です。不明な点がある場合は、専門家のアドバイスやサポートを受けてください。構造上のエラーは、アプリケーションの誤動作を引き起こす可能性があります。 database.info_2=ファイル名はアップロード時には関係ありません。アップロード後にbackup_user_yyyyMMddHHmm.sqlという形式にリネームされ、一貫した命名規則が保証されます。 database.submit=バックアップをインポート database.importIntoDatabaseSuccessed=データベースへのインポートに成功 +database.backupCreated=Database backup successful database.fileNotFound=ファイルが見つかりません database.fileNullOrEmpty=ファイルは null または空であってはなりません database.failedImportFile=ファイルのインポートに失敗 diff --git a/src/main/resources/messages_ko_KR.properties b/src/main/resources/messages_ko_KR.properties index d418fb1e..5ad547ec 100644 --- a/src/main/resources/messages_ko_KR.properties +++ b/src/main/resources/messages_ko_KR.properties @@ -238,11 +238,13 @@ database.creationDate=생성 날짜 database.fileSize=파일 크기 database.deleteBackupFile=백업 파일 삭제 database.importBackupFile=백업 파일 가져오기 +database.createBackupFile=Create Backup File database.downloadBackupFile=백업 파일 다운로드 database.info_1=데이터를 가져올 때 적절한 구조가 중요합니다. 자신이 무엇을 하는지 확실하지 않다면 전문가의 조언과 지원을 청하는 것이 좋습니다. 구조에 오류가 있으면 애플리케이션 기능 실패나 애플리케이션이 완전히 작동하지 못하게 되는 등의 문제를 초래할 수 있습니다. database.info_2=업로드 시 파일 이름은 중요하지 않습니다. 후에 backup_user_yyyyMMddHHmm.sql 형식으로 다시 지정되어 일관된 이름 규칙을 유지합니다. database.submit=백업 가져오기 database.importIntoDatabaseSuccessed=데이터베이스에 성공적으로 가져왔습니다 +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=파일은 null이나 빈 상태로 될 수 없습니다 database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_nl_NL.properties b/src/main/resources/messages_nl_NL.properties index 63425f1a..11885d9d 100644 --- a/src/main/resources/messages_nl_NL.properties +++ b/src/main/resources/messages_nl_NL.properties @@ -238,11 +238,13 @@ database.creationDate=Creatiedatum database.fileSize=Bestandsgrootte database.deleteBackupFile=Backupbestand verwijderen database.importBackupFile=Backupbestand importeren +database.createBackupFile=Create Backup File database.downloadBackupFile=Backupbestand downloaden database.info_1=Bij het importeren van gegevens is het cruciaal om de juiste structuur te zorgen voor. Als je niet zeker bent van wat je doet, raadpleeg dan advies en ondersteuning bij een professionele. Een fout in de structuur kan leiden tot toepassingsfouten, waarmee wellicht zelfs de volledige uitvoerbaarheid van de toepassing belemmerd wordt. database.info_2=De bestandsnaam maakt geen verschil bij het uploaden. Hij zal later worden herbewoond om de indeling backup_user_yyyyMMddHHmm.sql te volgen, waardoor een consistente bestandsnaamconventie waarborgd wordt. database.submit=Backup importeren database.importIntoDatabaseSuccessed=Importeer naar database succesvol +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=Bestand mag niet null of leeg zijn database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_no_NB.properties b/src/main/resources/messages_no_NB.properties index 25bd2d4a..f7e41b53 100644 --- a/src/main/resources/messages_no_NB.properties +++ b/src/main/resources/messages_no_NB.properties @@ -238,11 +238,13 @@ database.creationDate=Opprettelsesdato database.fileSize=Filstørrelse database.deleteBackupFile=Slett sikkerhetskopifil database.importBackupFile=Importer sikkerhetskopifil +database.createBackupFile=Create Backup File database.downloadBackupFile=Last ned sikkerhetskopifil database.info_1=Når du importerer data, er det avgjørende å sikre riktig struktur. Hvis du er usikker på hva du gjør, bør du søke råd og støtte fra en profesjonell. En feil i strukturen kan føre til applikasjonsfeil, inkludert fullstendig manglende evne til å kjøre applikasjonen. database.info_2=Filnavnet spiller ingen rolle ved opplasting. Det vil bli omdøpt etterpå for å følge formatet backup_user_yyyyMMddHHmm.sql, for å sikre en konsekvent navnekonvensjon. database.submit=Importer sikkerhetskopi database.importIntoDatabaseSuccessed=Import til database vellykket +database.backupCreated=Database backup successful database.fileNotFound=Fil ikke funnet database.fileNullOrEmpty=Fil må ikke være tom eller null database.failedImportFile=Import av fil mislyktes diff --git a/src/main/resources/messages_pl_PL.properties b/src/main/resources/messages_pl_PL.properties index 2e142b82..1b2f9c8e 100644 --- a/src/main/resources/messages_pl_PL.properties +++ b/src/main/resources/messages_pl_PL.properties @@ -238,11 +238,13 @@ database.creationDate=Data utworzenia database.fileSize=Rozmiar pliku database.deleteBackupFile=Usuń plik kopii zapasowej database.importBackupFile=Importuj plik kopii zapasowej +database.createBackupFile=Create Backup File database.downloadBackupFile=Pobierz plik kopii zapasowej database.info_1=Podczas importowania danych, ważne jest, aby upewnić się, że struktura jest poprawna. Jeśli nie jesteś pewien, co robisz, skontaktuj się z profesjonalistą. Błąd w strukturze może spowodować awarie aplikacji, aż do całkowitej niemożności jej uruchomienia. database.info_2=Nazwa pliku nie ma znaczenia podczas przesyłania. Zostanie on później przemianowany, aby przestrzegać formatu backup_user_yyyyMMddHHmm.sql, zapewniając spójną konwencję nazewnictwa. database.submit=Importuj kopię zapasową database.importIntoDatabaseSuccessed=Import do bazy danych zakończony sukcesem +database.backupCreated=Database backup successful database.fileNotFound=Plik nie znaleziony database.fileNullOrEmpty=Plik nie może być pusty database.failedImportFile=Nie udało się zaimportować pliku diff --git a/src/main/resources/messages_pt_BR.properties b/src/main/resources/messages_pt_BR.properties index e5431c41..f5184d4a 100644 --- a/src/main/resources/messages_pt_BR.properties +++ b/src/main/resources/messages_pt_BR.properties @@ -238,11 +238,13 @@ database.creationDate=Data de Criação database.fileSize=Tamanho do Arquivo database.deleteBackupFile=Apagar arquivo de backup database.importBackupFile=Importar arquivo de backup +database.createBackupFile=Create Backup File database.downloadBackupFile=Baixar arquivo de backup database.info_1=Ao importar dados, é crucial garantir a estrutura correta. Se você não tem certeza do que está fazendo procure auxílio de um profissional. Um erro na estrutura pode ocasionar em mau funcionamento da aplicação, incluindo a impossibilidade da aplicação ser executada. database.info_2=O nome do arquivo não importa ao enviar. Ele será renomeado em seguida para seguir o formato backup_usuario_yyyyMMddHHmm.sql, garantindo uma convenção de nomes coerente. database.submit=Importar Backup database.importIntoDatabaseSuccessed=Importação para o banco de dados bem sucedida +database.backupCreated=Database backup successful database.fileNotFound=Arquivo não encontrado database.fileNullOrEmpty=O arquivo não pode estar nulo ou vazio database.failedImportFile=Falha ao importar arquivo diff --git a/src/main/resources/messages_pt_PT.properties b/src/main/resources/messages_pt_PT.properties index f8e3a126..86457f79 100644 --- a/src/main/resources/messages_pt_PT.properties +++ b/src/main/resources/messages_pt_PT.properties @@ -238,11 +238,13 @@ database.creationDate=Data de Criação database.fileSize=Tamanho do Ficheiro database.deleteBackupFile=Apagar Ficheiro de Backup database.importBackupFile=Importar Ficheiro de Backup +database.createBackupFile=Create Backup File database.downloadBackupFile=Baixar Ficheiro de Backup database.info_1=Ao importar dados, é crucial assegurar a estrutura correta. Se não estiver seguro do que está a fazer, busque conselhos e apoio de um profissional. Um erro na estrutura pode causar mal funcionamento da aplicação, até mesmo o impossibilitar de executá-la. database.info_2=O nome do ficheiro não importa ao carregar. Será renomeado posteriormente para seguir o formato backup_user_yyyyMMddHHmm.sql, garantindo uma convenção de nomenclatura consistente. database.submit=Importar Backup database.importIntoDatabaseSuccessed=Importação no banco de dados concluída com sucesso +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=O ficheiro não pode ser nulo ou vazio database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_ro_RO.properties b/src/main/resources/messages_ro_RO.properties index e8547092..0e8b3226 100644 --- a/src/main/resources/messages_ro_RO.properties +++ b/src/main/resources/messages_ro_RO.properties @@ -238,11 +238,13 @@ database.creationDate=Data Creării database.fileSize=Dimensiune Fișier database.deleteBackupFile=Șterge Fișier de Backup database.importBackupFile=Importă Fișier de Backup +database.createBackupFile=Create Backup File database.downloadBackupFile=Descarcă Fișier de Backup database.info_1=Când importați date, este crucial să vă asigurați de structura corectă. Dacă nu sunteți sigur de ceea ce faceți, cereți sfaturi și suport de la un profesionist. O eroare în structură poate cauza defecțiuni ale aplicației, până la incapacitatea completă de a rula aplicația. database.info_2=Numele fișierului nu contează la încărcare. Va fi redenumit ulterior pentru a urma formatul backup_user_aaaallzzoomm.sql, asigurând o convenție de denumire consecventă. database.submit=Importă Backup database.importIntoDatabaseSuccessed=Importul în baza de date a reușit +database.backupCreated=Database backup successful database.fileNotFound=Fișierul nu a fost găsit database.fileNullOrEmpty=Fișierul nu trebuie să fie nul sau gol database.failedImportFile=Importul Fișierului a Eșuat diff --git a/src/main/resources/messages_ru_RU.properties b/src/main/resources/messages_ru_RU.properties index 55f20961..6bd9331d 100644 --- a/src/main/resources/messages_ru_RU.properties +++ b/src/main/resources/messages_ru_RU.properties @@ -238,11 +238,13 @@ database.creationDate=Дата создания database.fileSize=Размер файла database.deleteBackupFile=Удалить резервную копию файла database.importBackupFile=Импортировать резервную копию файла +database.createBackupFile=Create Backup File database.downloadBackupFile=Скачать резервную копию файла database.info_1=При импорте данных важно убедиться в правильной структуре. Если вы не уверены, что делаете, обратитесь за профессиональной помощью и поддержкой. Ошибка в структуре может привести к сбоям приложений, вплоть до полного их отказа от работы. database.info_2=Имя файла не имеет значения при загрузке. Оно будет переименовано позже в формат backup_user_yyyyMMddHHmm.sql для обеспечения единообразия названий. database.submit=Импортировать резервную копию database.importIntoDatabaseSuccessed=Импорт в базу данных выполнен успешно +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=Файл не должен быть пустым или NULL database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_sk_SK.properties b/src/main/resources/messages_sk_SK.properties index 4a3e09c6..66da4214 100644 --- a/src/main/resources/messages_sk_SK.properties +++ b/src/main/resources/messages_sk_SK.properties @@ -238,11 +238,13 @@ database.creationDate=Creation Date database.fileSize=File Size database.deleteBackupFile=Delete Backup File database.importBackupFile=Import Backup File +database.createBackupFile=Create Backup File database.downloadBackupFile=Download Backup File database.info_1=When importing data, it is crucial to ensure the correct structure. If you are unsure of what you are doing, seek advice and support from a professional. An error in the structure can cause application malfunctions, up to and including the complete inability to run the application. database.info_2=The file name does not matter when uploading. It will be renamed afterward to follow the format backup_user_yyyyMMddHHmm.sql, ensuring a consistent naming convention. database.submit=Import Backup database.importIntoDatabaseSuccessed=Import into database successed +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=File must not be null or empty database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_sr_LATN_RS.properties b/src/main/resources/messages_sr_LATN_RS.properties index eca99560..a6019545 100644 --- a/src/main/resources/messages_sr_LATN_RS.properties +++ b/src/main/resources/messages_sr_LATN_RS.properties @@ -238,11 +238,13 @@ database.creationDate=Creation Date database.fileSize=File Size database.deleteBackupFile=Delete Backup File database.importBackupFile=Import Backup File +database.createBackupFile=Create Backup File database.downloadBackupFile=Download Backup File database.info_1=When importing data, it is crucial to ensure the correct structure. If you are unsure of what you are doing, seek advice and support from a professional. An error in the structure can cause application malfunctions, up to and including the complete inability to run the application. database.info_2=The file name does not matter when uploading. It will be renamed afterward to follow the format backup_user_yyyyMMddHHmm.sql, ensuring a consistent naming convention. database.submit=Import Backup database.importIntoDatabaseSuccessed=Import into database successed +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=File must not be null or empty database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_sv_SE.properties b/src/main/resources/messages_sv_SE.properties index 006ef41d..ec26aaa1 100644 --- a/src/main/resources/messages_sv_SE.properties +++ b/src/main/resources/messages_sv_SE.properties @@ -238,11 +238,13 @@ database.creationDate=Skapelsedatum database.fileSize=Filstorlek database.deleteBackupFile=Ta bort säkerhetskopieringsfil database.importBackupFile=Importera säkerhetskopieringsfil +database.createBackupFile=Create Backup File database.downloadBackupFile=Ladda ner säkerhetskopieringsfil database.info_1=Vid import av data är det avgörande att säkerställa korrekt struktur. Om du är osäker på vad du gör, sök råd och stöd från en professionell. Ett fel i strukturen kan orsaka funktionsfel i applikationen, upp till och inklusive fullständig oförmåga att köra applikationen. database.info_2=Filnamnet spelar ingen roll vid uppladdning. Det kommer att döpas om efteråt för att följa formatet backup_user_yyyyMMddHHmm.sql, vilket säkerställer en konsekvent namngivningskonvention. database.submit=Importera säkerhetskopia database.importIntoDatabaseSuccessed=Import till databas lyckades +database.backupCreated=Database backup successful database.fileNotFound=Filen hittades inte database.fileNullOrEmpty=Filen får inte vara null eller tom database.failedImportFile=Misslyckades med att importera fil diff --git a/src/main/resources/messages_th_TH.properties b/src/main/resources/messages_th_TH.properties index 1d60581e..ccf3fdd5 100644 --- a/src/main/resources/messages_th_TH.properties +++ b/src/main/resources/messages_th_TH.properties @@ -238,11 +238,13 @@ database.creationDate=วันที่สร้าง database.fileSize=ขนาดไฟล์ database.deleteBackupFile=ลบไฟล์สำรอง database.importBackupFile=นำเข้าไฟล์สำรอง +database.createBackupFile=Create Backup File database.downloadBackupFile=ดาวน์โหลดไฟล์สำรอง database.info_1=เมื่อนำเข้าข้อมูล จำเป็นต้องแน่ใจว่าโครงสร้างถูกต้อง หากไม่แน่ใจว่ากำลังทำอะไรอยู่ ควรขอคำแนะนำและความช่วยเหลือจากมืออาชีพ ความผิดพลาดในโครงสร้างอาจทำให้เกิดข้อบกพร่องในการทำงานของแอปพลิเคชันจนถึงขั้นไม่สามารถรันแอปพลิเคชันได้เลย database.info_2=ชื่อไฟล์ไม่สำคัญเมื่ออัปโหลด จะถูกเปลี่ยนชื่อภายหลังให้เป็นรูปแบบ backup_user_yyyyMMddHHmm.sql เพื่อให้มีการตั้งชื่อที่สอดคล้องกัน database.submit=นำเข้าสำรอง database.importIntoDatabaseSuccessed=การนำเข้าในฐานข้อมูลสำเร็จ +database.backupCreated=Database backup successful database.fileNotFound=ไม่พบไฟล์ database.fileNullOrEmpty=ไฟล์ต้องไม่ว่างเปล่าหรือไม่มีข้อมูล database.failedImportFile=การนำเข้าไฟล์ล้มเหลว diff --git a/src/main/resources/messages_tr_TR.properties b/src/main/resources/messages_tr_TR.properties index d6c75076..5b546bc3 100644 --- a/src/main/resources/messages_tr_TR.properties +++ b/src/main/resources/messages_tr_TR.properties @@ -238,11 +238,13 @@ database.creationDate=Oluşturulma Tarihi database.fileSize=Dosya Boyutu database.deleteBackupFile=Yedekleme Dosyasını Sil database.importBackupFile=Yedekleme Dosyasını İçe Aktar +database.createBackupFile=Create Backup File database.downloadBackupFile=Yedekleme Dosyasını İndir database.info_1=Verileri içe aktarırken, yapının doğru olduğundan emin olmak çok önemlidir. Ne yaptığınızdan emin değilseniz, bir uzmandan tavsiye ve destek alın. Yapıdaki bir hata, uygulamanın tamamen çalıştırılamaması da dahil olmak üzere uygulama sorunlarına neden olabilir. database.info_2=Karşıya yüklerken dosya adı önemli değildir. Daha sonra yedekleme_kullanıcısı_yyyyAAggSdd.sql biçiminde yeniden adlandırılacak ve tutarlı bir adlandırma kuralı sağlanacaktır. database.submit=Yedeklemeyi İçe Aktar database.importIntoDatabaseSuccessed=Veri tabanına başarıyla aktarıldı +database.backupCreated=Database backup successful database.fileNotFound=Dosya bulunamadı database.fileNullOrEmpty=Dosya yok veya boş olmamalıdır database.failedImportFile=Dosya İçe Aktarılamadı diff --git a/src/main/resources/messages_uk_UA.properties b/src/main/resources/messages_uk_UA.properties index 7a96d49e..fcab3ea1 100644 --- a/src/main/resources/messages_uk_UA.properties +++ b/src/main/resources/messages_uk_UA.properties @@ -238,11 +238,13 @@ database.creationDate=Creation Date database.fileSize=File Size database.deleteBackupFile=Delete Backup File database.importBackupFile=Import Backup File +database.createBackupFile=Create Backup File database.downloadBackupFile=Download Backup File database.info_1=When importing data, it is crucial to ensure the correct structure. If you are unsure of what you are doing, seek advice and support from a professional. An error in the structure can cause application malfunctions, up to and including the complete inability to run the application. database.info_2=The file name does not matter when uploading. It will be renamed afterward to follow the format backup_user_yyyyMMddHHmm.sql, ensuring a consistent naming convention. database.submit=Import Backup database.importIntoDatabaseSuccessed=Import into database successed +database.backupCreated=Database backup successful database.fileNotFound=File not Found database.fileNullOrEmpty=File must not be null or empty database.failedImportFile=Failed Import File diff --git a/src/main/resources/messages_vi_VN.properties b/src/main/resources/messages_vi_VN.properties index 1b97853f..2200c7eb 100644 --- a/src/main/resources/messages_vi_VN.properties +++ b/src/main/resources/messages_vi_VN.properties @@ -238,11 +238,13 @@ database.creationDate=Ngày tạo database.fileSize=Kích thước tệp database.deleteBackupFile=Xóa tệp sao lưu database.importBackupFile=Nhập tệp sao lưu +database.createBackupFile=Create Backup File database.downloadBackupFile=Tải xuống tệp sao lưu database.info_1=Khi nhập dữ liệu, điều quan trọng là phải đảm bảo cấu trúc chính xác. Nếu bạn không chắc chắn về những gì bạn đang làm, hãy tìm kiếm lời khuyên và hỗ trợ từ một chuyên gia. Lỗi trong cấu trúc có thể gây ra sự cố ứng dụng, thậm chí là không thể chạy ứng dụng hoàn toàn. database.info_2=Tên tệp không quan trọng khi tải lên. Nó sẽ được đổi tên sau đó để tuân theo định dạng backup_user_yyyyMMddHHmm.sql, đảm bảo quy ước đặt tên nhất quán. database.submit=Nhập bản sao lưu database.importIntoDatabaseSuccessed=Nhập vào cơ sở dữ liệu thành công +database.backupCreated=Database backup successful database.fileNotFound=Không tìm thấy tệp database.fileNullOrEmpty=Tệp không được để trống hoặc rỗng database.failedImportFile=Không thể nhập tệp diff --git a/src/main/resources/messages_zh_CN.properties b/src/main/resources/messages_zh_CN.properties index 6f3f67da..1653fa11 100644 --- a/src/main/resources/messages_zh_CN.properties +++ b/src/main/resources/messages_zh_CN.properties @@ -238,11 +238,13 @@ database.creationDate=创建时间 database.fileSize=文件大小 database.deleteBackupFile=删除备份文件 database.importBackupFile=导入备份文件 +database.createBackupFile=Create Backup File database.downloadBackupFile=下载备份文件 database.info_1=导入数据时,确保结构正确至关重要。如果您不确定自己在做什么,请寻求专业人士的建议和支持。结构错误会导致应用程序故障,甚至完全无法运行应用程序。 database.info_2=上传文件时,文件名并不重要。上传后,文件名将重命名为 backup_user_yyyyMMddHHmm.sql,以确保命名规范的一致性。 database.submit=导入备份 database.importIntoDatabaseSuccessed=导入数据库成功 +database.backupCreated=Database backup successful database.fileNotFound=未找到文件 database.fileNullOrEmpty=文件不能为空 database.failedImportFile=导入文件失败 diff --git a/src/main/resources/messages_zh_TW.properties b/src/main/resources/messages_zh_TW.properties index 6938f683..741ec44d 100644 --- a/src/main/resources/messages_zh_TW.properties +++ b/src/main/resources/messages_zh_TW.properties @@ -238,11 +238,13 @@ database.creationDate=建立日期 database.fileSize=檔案大小 database.deleteBackupFile=刪除備份檔案 database.importBackupFile=匯入備份檔案 +database.createBackupFile=Create Backup File database.downloadBackupFile=下載備份檔案 database.info_1=在匯入資料時,確保正確的結構至關重要。如果您不確定自己在做什麼,請尋求專業人士的建議和支援。結構錯誤可能會導致應用程式故障,甚至完全無法執行應用程式。 database.info_2=上傳時檔案名稱並不重要。上傳後將重新命名為 backup_user_yyyyMMddHHmm.sql 格式,以確保命名規範一致。 database.submit=匯入備份 database.importIntoDatabaseSuccessed=成功匯入資料庫 +database.backupCreated=Database backup successful database.fileNotFound=找不到檔案 database.fileNullOrEmpty=檔案不得為空或空白 database.failedImportFile=匯入檔案失敗 diff --git a/src/main/resources/templates/database.html b/src/main/resources/templates/database.html index 1a86a4fc..dd36bac4 100644 --- a/src/main/resources/templates/database.html +++ b/src/main/resources/templates/database.html @@ -42,6 +42,7 @@
DB-Version
+ Create Backup File