From 7e820c9ad7993f4c9b860b8de68f765f0f74c365 Mon Sep 17 00:00:00 2001 From: robweber Date: Sun, 28 Apr 2024 10:35:24 -0500 Subject: [PATCH] part of #230 --- resources/language/resource.language.en_gb/strings.po | 8 ++++++++ resources/lib/backup.py | 1 + 2 files changed, 9 insertions(+) diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 39eee0a..9e1b236 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -629,3 +629,11 @@ msgstr "" msgctxt "#30161" msgid "Amend a string to the end of each backup folder or ZIP file" msgstr "" + +msgctxt "#30162" +msgid "this could take some time" +msgstr "" + +msgctxt "#30163" +msgid "Current folder" +msgstr "" diff --git a/resources/lib/backup.py b/resources/lib/backup.py index dba1010..14cc54a 100644 --- a/resources/lib/backup.py +++ b/resources/lib/backup.py @@ -316,6 +316,7 @@ class XbmcBackup: self.xbmc_vfs.set_root(xbmcvfs.translatePath(aDir['path'])) if(self.remote_vfs.exists(self.remote_vfs.root_path + aDir['name'] + '/')): # walk the directory + self.progressBar.updateProgress(0, f"{utils.getString(30049)}....{utils.getString(30162)}\n{utils.getString(30163)}: {aDir['name']}") fileManager.walkTree(self.remote_vfs.root_path + aDir['name'] + '/') self.transferSize = self.transferSize + fileManager.fileSize()