diff --git a/authorize_cloud.py b/authorize_cloud.py index 1edbd65..51ffe9b 100644 --- a/authorize_cloud.py +++ b/authorize_cloud.py @@ -9,15 +9,15 @@ if(utils.getSetting('remote_selection') == '2'): authorizer = DropboxAuthorizer() if(authorizer.authorize()): - xbmcgui.Dialog().ok("Backup","Dropbox is authorized") + xbmcgui.Dialog().ok("Backup",utils.getString(30027) + ' ' + utils.getString(30106)) else: - xbmcgui.Dialog().ok("Backup","Error Authorizing Dropbox") + xbmcgui.Dialog().ok("Backup",utils.getString(30107) + ' ' + utils.getString(30027)) #google drive elif(utils.getSetting('remote_selection') == '3'): authorizer = GoogleDriveAuthorizer() if(authorizer.authorize()): - xbmcgui.Dialog().ok("Backup","Google Drive is authorized") + xbmcgui.Dialog().ok("Backup",utils.getString(30098) + ' ' + utils.getString(30106)) else: - xbmcgui.Dialog().ok("Backup","Error Authorizing Google Drive") + xbmcgui.Dialog().ok("Backup",utils.getString(30107) + ' ' + utils.getString(30098)) diff --git a/resources/language/English/strings.xml b/resources/language/English/strings.xml index be70a60..0b2c3fa 100644 --- a/resources/language/English/strings.xml +++ b/resources/language/English/strings.xml @@ -96,4 +96,7 @@ Click OK to enter code Google Drive Validation Code Authorize Now + Authorize this remote service in the settings first + is authorized + error authorizing diff --git a/resources/lib/vfs.py b/resources/lib/vfs.py index 54000e6..7311bff 100644 --- a/resources/lib/vfs.py +++ b/resources/lib/vfs.py @@ -130,7 +130,7 @@ class DropboxFileSystem(Vfs): self.client = authorizer.getClient() else: #tell the user to go back and run the authorizer - xbmcgui.Dialog().ok(utils.getString(30010),"Authorize this remote service in the settings first") + xbmcgui.Dialog().ok(utils.getString(30010),utils.getString(30105)) sys.exit() def listdir(self,directory): @@ -243,7 +243,7 @@ class GoogleDriveFilesystem(Vfs): self.drive = authorizer.getClient() else: #tell the user to go back and run the authorizer - xbmcgui.Dialog().ok(utils.getString(30010),"Authorize this remote service in the settings first") + xbmcgui.Dialog().ok(utils.getString(30010),utils.getString(30105)) sys.exit() #make sure we have the folder we need