diff --git a/scripts/backup.py b/scripts/backup.py index f02a032..865b739 100644 --- a/scripts/backup.py +++ b/scripts/backup.py @@ -451,6 +451,7 @@ def backup(self): if SourceStorageType in ['usb', 'internal','nvme', 'camera', 'cloud', 'cloud_rsync']: self.SourceDevice = lib_storage.storage(StorageName=SourceStorageName, Role=lib_storage.role_Source, WaitForDevice=True, DeviceIdentifierPresetThis=Identifier, DeviceIdentifierPresetOther=self.TargetDevice.DeviceIdentifier) + self.__display.message([f":{self.__lan.l('box_backup_mounting_target')}", f":{self.__lan.l(f'box_backup_mode_{self.TargetDevice.StorageType}')} {self.TargetDevice.CloudServiceName}"]) self.SourceDevice.mount() elif SourceStorageType in ['thumbnails', 'database', 'exif']: @@ -532,7 +533,7 @@ def backup(self): if not self.SourceDevice.mounted(): self.__log.message(f"remount source device {SourceStorageName} {self.SourceDevice.CloudServiceName} {self.SourceDevice.DeviceIdentifier}",3) - self.__display.message([f"s=a:{self.__lan.l('box_backup_remounting_source')}"]) + self.__display.message([f"s=a:{self.__lan.l('box_backup_mounting_target')}", f"s=a:{self.__lan.l(f'box_backup_mode_{self.SourceDevice.StorageType}')} {self.SourceDevice.CloudServiceName}"]) if not self.SourceDevice.mount(TimeOutActive=True): self.__reporter.add_error('Err.: Remounting source device failed!') @@ -546,7 +547,7 @@ def backup(self): if "Err.: Lost device!" in ErrorsOld: if not self.TargetDevice.mounted(): self.__log.message(f"remount target device {self.TargetDevice.StorageType} {self.TargetDevice.CloudServiceName} {self.TargetDevice.DeviceIdentifier}",3) - self.__display.message([f"s=a:{self.__lan.l('box_backup_remounting_target')}"]) + self.__display.message([f"s=a:{self.__lan.l('box_backup_mounting_target')}", f"s=a:{self.__lan.l(f'box_backup_mode_{self.TargetDevice.StorageType}')} {self.TargetDevice.CloudServiceName}"]) if not self.TargetDevice.mount(TimeOutActive=True): self.__reporter.add_error('Err.: Remounting target device failed!') @@ -582,17 +583,17 @@ def backup(self): #define progress object progress = lib_backup.progressmonitor( - setup = self.__setup, - display = self.__display, - log = self.__log, - lan = self.__lan, - FilesToProcess = FilesToProcess, + setup = self.__setup, + display = self.__display, + log = self.__log, + lan = self.__lan, + FilesToProcess = FilesToProcess, FilesToProcess_possible_more = FilesToProcess_possible_more, - DisplayLine1 = DisplayLine1, - DisplayLine2 = DisplayLine2, - SourceDevice = self.SourceDevice, - TargetDevice = self.TargetDevice, - vpn = self.vpn + DisplayLine1 = DisplayLine1, + DisplayLine2 = DisplayLine2, + SourceDevice = self.SourceDevice, + TargetDevice = self.TargetDevice, + vpn = self.vpn ) SyncStartTime = lib_system.get_uptime_sec() diff --git a/scripts/lang/de.json b/scripts/lang/de.json index cb208c6..9f9f6e4 100644 --- a/scripts/lang/de.json +++ b/scripts/lang/de.json @@ -531,9 +531,9 @@ "rename_files": { "renaming_files": "Umbenennen von Dateien" }, - "remounting": { - "source": "Quelle wieder einbinden...", - "target": "Ziel wieder einbinden..." + "mounting": { + "source": "Quelle einbinden", + "target": "Ziel einbinden" } }, "cronip": { diff --git a/scripts/lang/en.json b/scripts/lang/en.json index d97eb8f..777d5ab 100644 --- a/scripts/lang/en.json +++ b/scripts/lang/en.json @@ -136,9 +136,9 @@ "rename_files": { "renaming_files": "Renaming files" }, - "remounting": { - "source": "Remount source...", - "target": "Remount target..." + "mounting": { + "source": "Mount source", + "target": "Mount target" } }, "poweroff": { diff --git a/scripts/lang/es.json b/scripts/lang/es.json index d2e1933..ddd5b23 100644 --- a/scripts/lang/es.json +++ b/scripts/lang/es.json @@ -531,9 +531,9 @@ "rename_files": { "renaming_files": "Cambiar el nombre de los archivos" }, - "remounting": { - "source": "Reintegrar fuente...", - "target": "Volver a montar el objetivo..." + "mounting": { + "source": "Integrar fuente", + "target": "Integrar objetivo" } }, "cronip": { diff --git a/scripts/lang/fr.json b/scripts/lang/fr.json index d714d31..ab17503 100644 --- a/scripts/lang/fr.json +++ b/scripts/lang/fr.json @@ -531,9 +531,9 @@ "rename_files": { "renaming_files": "Renommer des fichiers" }, - "remounting": { - "source": "Réintégrer la source...", - "target": "Remonter la cible..." + "mounting": { + "source": "Monter la source", + "target": "Monter la cible" } }, "cronip": {