updated strings for zip notifications

This commit is contained in:
Rob Weber 2014-08-01 14:36:10 -05:00
parent 45b6cea057
commit a1c91ef51c
3 changed files with 5 additions and 3 deletions

View File

@ -78,4 +78,6 @@
<string id="30084">None (Silent)</string>
<string id="30085">Version Warning</string>
<string id="30086">This version of XBMC is different than the one used to create the archive</string>
<string id="30087">Compress Archives</string>
<string id="30088">Copying Zip Archive</string>
</strings>

View File

@ -247,7 +247,7 @@ class XbmcBackup:
self.xbmc_vfs.set_root(xbmc.translatePath("special://temp/"))
self.remote_vfs = self.saved_remote_vfs
self.progressBar.updateProgress(98, "Copying Zip Archive")
self.progressBar.updateProgress(98, utils.getString(30088))
self.backupFiles(fileManager.getFiles(),self.xbmc_vfs, self.remote_vfs)
#delete the temp zip file
@ -261,7 +261,7 @@ class XbmcBackup:
#catch for if the restore point is actually a zip file
if(self.restore_point.split('.')[-1] == 'zip'):
self.progressBar.updateProgress(0, "Copying Zip Archive")
self.progressBar.updateProgress(2, utils.getString(30088))
utils.log("copying zip file: " + self.restore_point)
#set root to data dir home

View File

@ -6,7 +6,7 @@
<setting id="remote_path" type="folder" label="30020" visible="eq(-2,0)" />
<setting id="dropbox_key" type="text" label="30028" visible="eq(-3,2)" default="" />
<setting id="dropbox_secret" type="text" label="30029" visible="eq(-4,2)" default="" />
<setting id="compress_backups" type="bool" label="Zip Archives" default="false" />
<setting id="compress_backups" type="bool" label="30087" default="false" />
<setting id="backup_rotation" type="number" label="30026" default="0" />
<setting id="progress_mode" type="enum" label="30022" lvalues="30082|30083|30084" default="0" />
</category>