removed skorba debug fix open in localization
This commit is contained in:
		
							parent
							
								
									772373a52d
								
							
						
					
					
						commit
						e21c537d4e
					
				
							
								
								
									
										13
									
								
								Core.py
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								Core.py
									
									
									
									
									
								
							| @ -1615,7 +1615,7 @@ class Core: | |||||||
|                 (self.localize('Download via Libtorrent'), |                 (self.localize('Download via Libtorrent'), | ||||||
|                  'XBMC.RunPlugin(%s)' % ('%s?action=%s&url=%s') % ( |                  'XBMC.RunPlugin(%s)' % ('%s?action=%s&url=%s') % ( | ||||||
|                  sys.argv[0], 'downloadLibtorrent', urllib.quote_plus(link))), |                  sys.argv[0], 'downloadLibtorrent', urllib.quote_plus(link))), | ||||||
|                 (self.localize('Open (no return)'), |                 (self.localize('Open'), | ||||||
|                  'XBMC.Container.Update(%s)' % ('%s?action=%s%s') % ( |                  'XBMC.Container.Update(%s)' % ('%s?action=%s%s') % ( | ||||||
|                  sys.argv[0], 'openTorrent', link_url)), |                  sys.argv[0], 'openTorrent', link_url)), | ||||||
|             ] |             ] | ||||||
| @ -1815,13 +1815,10 @@ class Core: | |||||||
|         clAliceblue = '[COLOR FFF0F8FF]%s[/COLOR]' |         clAliceblue = '[COLOR FFF0F8FF]%s[/COLOR]' | ||||||
|         clRed = '[COLOR FFFF0000]%s[/COLOR]' |         clRed = '[COLOR FFFF0000]%s[/COLOR]' | ||||||
| 
 | 
 | ||||||
|         title = title.replace('720p', '[B]720p[/B]') |         title = title.replace('720p', '[B]720p[/B]').replace('1080p', '[B]1080p[/B]') | ||||||
|         title = clWhite % title + chr(10) |         title = clWhite % title | ||||||
|         second = '[I](%s) [S/L: %d/%d] [/I]' % (size, seeds, leechers) + chr(10) |         second = '[I](%s) [S/L: %d/%d] [/I]' % (size, seeds, leechers) | ||||||
|         space = '' |         title += '  ' + second | ||||||
|         for i in range(0, 180 - len(second)): |  | ||||||
|             space += ' ' |  | ||||||
|         title += space + second |  | ||||||
|         return title |         return title | ||||||
| 
 | 
 | ||||||
|     def search(self, params={}): |     def search(self, params={}): | ||||||
|  | |||||||
| @ -224,7 +224,7 @@ def localize(text): | |||||||
|             'Unpause':'Des-pausar', |             'Unpause':'Des-pausar', | ||||||
|             'Pause':'Pausar', |             'Pause':'Pausar', | ||||||
|             'Delete':'Eliminar', |             'Delete':'Eliminar', | ||||||
|             'Open (no return)':'Abrir (sin retorno)', |             'Open':'Abrir', | ||||||
|             'Torrent is seeding. To stop it use Download Status.':'El toorrent esta siendo compartido. Para detenerlo, utiliza el dialogo de descarga.', |             'Torrent is seeding. To stop it use Download Status.':'El toorrent esta siendo compartido. Para detenerlo, utiliza el dialogo de descarga.', | ||||||
|             'Start All':'Iniciar Todo', |             'Start All':'Iniciar Todo', | ||||||
|             'Started All!':'Todo ha sido iniciado', |             'Started All!':'Todo ha sido iniciado', | ||||||
| @ -483,7 +483,7 @@ def localize(text): | |||||||
|             'Unpause':'אל תפסיק', |             'Unpause':'אל תפסיק', | ||||||
|             'Pause':'הפסק', |             'Pause':'הפסק', | ||||||
|             'Delete':'מחק', |             'Delete':'מחק', | ||||||
|             'Open (no return)':'פתח', |             'Open':'פתח', | ||||||
|             'Torrent is seeding. To stop it use Download Status.':'Torrent is seeding. To stop it use Download Status.', |             'Torrent is seeding. To stop it use Download Status.':'Torrent is seeding. To stop it use Download Status.', | ||||||
|             'Start All':'התחל הכל', |             'Start All':'התחל הכל', | ||||||
|             'Started All!':'מיין הכל', |             'Started All!':'מיין הכל', | ||||||
| @ -742,7 +742,7 @@ def localize(text): | |||||||
|             'Unpause':'Újra elindít', |             'Unpause':'Újra elindít', | ||||||
|             'Pause':'Szüneteltet', |             'Pause':'Szüneteltet', | ||||||
|             'Delete':'Eltávolít', |             'Delete':'Eltávolít', | ||||||
|             'Open (no return)':'Megnyitás (no return)', |             'Open':'Megnyitás', | ||||||
|             'Torrent is seeding. To stop it use Download Status.':'Torrent seedelés alatt. Ahhoz, hogy megállítsd használd a Letöltési Állapotot.', |             'Torrent is seeding. To stop it use Download Status.':'Torrent seedelés alatt. Ahhoz, hogy megállítsd használd a Letöltési Állapotot.', | ||||||
|             'Start All':'Összes elindítása', |             'Start All':'Összes elindítása', | ||||||
|             'Started All!':'Összes elindítva!', |             'Started All!':'Összes elindítva!', | ||||||
| @ -1001,7 +1001,7 @@ def localize(text): | |||||||
|             'Unpause':'Возобновить', |             'Unpause':'Возобновить', | ||||||
|             'Pause':'Пауза', |             'Pause':'Пауза', | ||||||
|             'Delete':'Удалить', |             'Delete':'Удалить', | ||||||
|             'Open (no return)':'Открыть (без возврата)', |             'Open':'Открыть', | ||||||
|             'Torrent is seeding. To stop it use Download Status.':'Сидирование. Для остановки используйте Статус Загрузки.', |             'Torrent is seeding. To stop it use Download Status.':'Сидирование. Для остановки используйте Статус Загрузки.', | ||||||
|             'Start All':'Запустить Все', |             'Start All':'Запустить Все', | ||||||
|             'Started All!':'Все Запущены!', |             'Started All!':'Все Запущены!', | ||||||
| @ -1259,7 +1259,7 @@ def localize(text): | |||||||
|             'Unpause':'Відновити', |             'Unpause':'Відновити', | ||||||
|             'Pause':'Пауза', |             'Pause':'Пауза', | ||||||
|             'Delete':'Видалити', |             'Delete':'Видалити', | ||||||
|             'Open (no return)':'Відкрити (без повернення)', |             'Open':'Відкрити', | ||||||
|             'Torrent is seeding. To stop it use Download Status.':'Сідування. Для зупинки використовуйте Статус завантаження.', |             'Torrent is seeding. To stop it use Download Status.':'Сідування. Для зупинки використовуйте Статус завантаження.', | ||||||
|             'Start All':'Запустити все', |             'Start All':'Запустити все', | ||||||
|             'Started All!':'Все запущене!', |             'Started All!':'Все запущене!', | ||||||
|  | |||||||
| @ -332,7 +332,7 @@ class SkorbaLoader: | |||||||
|             iterator = int(s.progress * 100) |             iterator = int(s.progress * 100) | ||||||
|             info['progress'] = iterator |             info['progress'] = iterator | ||||||
|             db.update(title, info) |             db.update(title, info) | ||||||
|             self.debug() |             #self.debug() | ||||||
|         self.session.remove_torrent(self.torrentHandle) |         self.session.remove_torrent(self.torrentHandle) | ||||||
|         return |         return | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user