pull/1/head
DiMartinoXBMC 2015-07-12 16:48:29 +03:00
parent 55886aa6ad
commit 545e5d48e0
3 changed files with 5 additions and 5 deletions

View File

@ -90,7 +90,7 @@ class Core:
def sectionMenu(self): def sectionMenu(self):
if self.__settings__.getSetting('plugin_name')!=self.__plugin__: if self.__settings__.getSetting('plugin_name')!=self.__plugin__:
if self.__plugin__ == 'Torrenter v.2.3.1': if self.__plugin__ == 'Torrenter v.2.3.1':
first_run_230(self.__settings__.getSetting('delete_russian')=='true') #first_run_230(self.__settings__.getSetting('delete_russian')=='true')
first_run_231() first_run_231()
if self.__settings__.getSetting('delete_russian')!='false': if self.__settings__.getSetting('delete_russian')!='false':
not_russian=delete_russian(ok=self.__settings__.getSetting('delete_russian')=='true', action='delete') not_russian=delete_russian(ok=self.__settings__.getSetting('delete_russian')=='true', action='delete')

View File

@ -252,7 +252,7 @@ def localize(text):
'But you can use torrent-client control functions.':'Но все остальные функции кроме прямого стриминга с торрента работают.', 'But you can use torrent-client control functions.':'Но все остальные функции кроме прямого стриминга с торрента работают.',
'I added custom searchers to Torrenter v2!':'Я добавил внешние серчеры для трекеров в стиле Pulsar!', 'I added custom searchers to Torrenter v2!':'Я добавил внешние серчеры для трекеров в стиле Pulsar!',
'Now you can use your login on trackers or write and install your own searcher!':'Теперь можно использовать свой логин или даже написать и установить свой серчер.', 'Now you can use your login on trackers or write and install your own searcher!':'Теперь можно использовать свой логин или даже написать и установить свой серчер.',
'Would you like to install %s from "MyShows.me Kodi Repo" in Programs (Scripts) section?':'Хотите установить %s из "MyShows.me Kodi Repo" в Программах (Скрипты)?', 'Would you like to install %s from "MyShows.me Kodi Repo" in Programs section?':'Хотите установить %s из "MyShows.me Kodi Repo" в Программах?',
'Open installation window?':'Открыть окно установки?', 'Open installation window?':'Открыть окно установки?',
'Android Support':'Поддержка Android', 'Android Support':'Поддержка Android',
'Android has no temprorary folder':'У Android отсутствует стандартная временная папка', 'Android has no temprorary folder':'У Android отсутствует стандартная временная папка',

View File

@ -1775,7 +1775,7 @@ def first_run_230(delete_russian):
__settings__.setSetting('first_run_230','True') __settings__.setSetting('first_run_230','True')
if not delete_russian: if not delete_russian:
yes=xbmcgui.Dialog().yesno('< %s >' % Localization.localize('Torrenter Update 2.3.0'), yes=xbmcgui.Dialog().yesno('< %s >' % Localization.localize('Torrenter Update 2.3.0'),
Localization.localize('Would you like to install %s from "MyShows.me Kodi Repo" in Programs (Scripts) section?') % 'RuTrackerOrg', Localization.localize('Would you like to install %s from "MyShows.me Kodi Repo" in Programs section?') % 'RuTrackerOrg',
Localization.localize('Open installation window?')) Localization.localize('Open installation window?'))
if yes: if yes:
xbmc.executebuiltin('Dialog.Close(all,true)') xbmc.executebuiltin('Dialog.Close(all,true)')
@ -1790,7 +1790,7 @@ def first_run_231():
yes=xbmcgui.Dialog().yesno('< %s >' % Localization.localize('Torrenter Update 2.3.1'), yes=xbmcgui.Dialog().yesno('< %s >' % Localization.localize('Torrenter Update 2.3.1'),
Localization.localize('You have no installed or active searchers! More info in Search Control Window!'), Localization.localize('You have no installed or active searchers! More info in Search Control Window!'),
Localization.localize('Would you like to install %s from "MyShows.me Kodi Repo" in Programs (Scripts) section?') % '',) Localization.localize('Would you like to install %s from "MyShows.me Kodi Repo" in Programs section?') % '',)
if yes: if yes:
xbmc.executebuiltin('Dialog.Close(all,true)') xbmc.executebuiltin('Dialog.Close(all,true)')
xbmc.executebuiltin('XBMC.ActivateWindow(Addonbrowser,addons://search/%s)' % ('Torrenter Searcher')) xbmc.executebuiltin('XBMC.ActivateWindow(Addonbrowser,addons://search/%s)' % ('Torrenter Searcher'))
@ -1798,7 +1798,7 @@ def first_run_231():
def noActiveSerachers(): def noActiveSerachers():
yes=xbmcgui.Dialog().yesno('< %s >' % Localization.localize('Torrenter v2'), yes=xbmcgui.Dialog().yesno('< %s >' % Localization.localize('Torrenter v2'),
Localization.localize('You have no installed or active searchers! More info in Search Control Window!'), Localization.localize('You have no installed or active searchers! More info in Search Control Window!'),
Localization.localize('Would you like to install %s from "MyShows.me Kodi Repo" in Programs (Scripts) section?') % '',) Localization.localize('Would you like to install %s from "MyShows.me Kodi Repo" in Programs section?') % '',)
if yes: if yes:
xbmc.executebuiltin('Dialog.Close(all,true)') xbmc.executebuiltin('Dialog.Close(all,true)')
xbmc.executebuiltin('XBMC.ActivateWindow(Addonbrowser,addons://search/%s)' % ('Torrenter Searcher')) xbmc.executebuiltin('XBMC.ActivateWindow(Addonbrowser,addons://search/%s)' % ('Torrenter Searcher'))