added localized strings

This commit is contained in:
angedam
2018-08-14 16:21:13 +02:00
parent c58e16d097
commit 49e32e1f34
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ def test_video_exists(page_url):
if 'Were Sorry!' in data:
data = httptools.downloadpage(page_url.replace("/embed/", "/f/"), headers=header, cookies=False).data
if 'Were Sorry!' in data:
return False, "[Openload] El archivo no existe o ha sido borrado"
return False, config.get_localized_string(70449) % "Openload"
return True, ""

View File

@@ -10,7 +10,7 @@ def test_video_exists(page_url):
data = httptools.downloadpage(page_url).data
if "File was deleted" in data:
return False, "[speedvideo] El archivo no existe o ha sido borrado"
return False, config.get_localized_string(70449) % "Speedvideo"
return True, ""

View File

@@ -10,7 +10,7 @@ def test_video_exists(page_url):
data = httptools.downloadpage(page_url).data
if "We are unable to find the video" in data:
return False, "[streamango] El archivo no existe o ha sido borrado"
return False, config.get_localized_string(70449) % "Streamango"
return True, ""