mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-12-22 14:05:23 +01:00
added new strings
This commit is contained in:
parent
af11c1a990
commit
a7044cd17c
@ -30,6 +30,13 @@
|
||||
<string id="30035">Config Files</string>
|
||||
<string id="30036">Custom Directory 1</string>
|
||||
<string id="30037">Custom Directory 2</string>
|
||||
<string id="30038">Advanced Settings Detected</string>
|
||||
<string id="30039">The advancedsettings file should be restored first</string>
|
||||
<string id="30040">Select Yes to restore this file and restart XBMC</string>
|
||||
<string id="30041">Select No to continue</string>
|
||||
<string id="30042">Resume Restore</string>
|
||||
<string id="30043">XBMC Backup has detected an unfinished restore</string>
|
||||
<string id="30044">Would you like to continue?</string>
|
||||
<string id="30045">Error: Remote path doesn't exist</string>
|
||||
<string id="30046">Starting</string>
|
||||
<string id="30047">Local Dir</string>
|
||||
@ -61,4 +68,6 @@
|
||||
<string id="30074">First Day of Month</string>
|
||||
<string id="30075">Custom Schedule</string>
|
||||
<string id="30076">Shutdown After Backup</string>
|
||||
<string id="30077">Restart XBMC</string>
|
||||
<string id="30078">You should restart XBMC to continue</string>
|
||||
</strings>
|
||||
|
@ -193,7 +193,7 @@ class XbmcBackup:
|
||||
#check for the existance of an advancedsettings file
|
||||
if(self.remote_vfs.exists(self.remote_vfs.root_path + "userdata/advancedsettings.xml") and not self.skip_advanced):
|
||||
#let the user know there is an advanced settings file present
|
||||
restartXbmc = xbmcgui.Dialog().yesno("Advanced Settings Detected","The advancedsettings file should be restored first","Select Yes to restore this file and restart XBMC", "Select No to continue")
|
||||
restartXbmc = xbmcgui.Dialog().yesno(utils.getString(30038),utils.getString(30039),utils.getString(30040), utils.getString(30041))
|
||||
|
||||
if(restartXbmc):
|
||||
#add only this file to the file list
|
||||
@ -204,7 +204,7 @@ class XbmcBackup:
|
||||
self._createResumeBackupFile()
|
||||
|
||||
#do not continue running
|
||||
xbmcgui.Dialog().ok("Restart XBMC","You should restart XBMC to continue")
|
||||
xbmcgui.Dialog().ok(utils.getString(30077),utils.getString(30078))
|
||||
|
||||
return
|
||||
|
||||
|
@ -115,7 +115,7 @@ class BackupScheduler:
|
||||
self.restore_point = rFile.read()
|
||||
rFile.close()
|
||||
xbmcvfs.delete(xbmc.translatePath(utils.data_dir() + "resume.txt"))
|
||||
shouldContinue = xbmcgui.Dialog().yesno("Resume Restore","XBMC Backup has detected an unfinished restore","Would you like to continue?")
|
||||
shouldContinue = xbmcgui.Dialog().yesno(utils.getString(30042),utils.getString(30043),utils.getString(30044))
|
||||
|
||||
return shouldContinue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user