Update libs

This commit is contained in:
Antoine Bertin
2012-06-24 23:28:38 +02:00
parent 2d05aafc04
commit 88b71c8116
157 changed files with 15686 additions and 2017 deletions
Executable → Regular
+2 -1
View File
@@ -116,6 +116,7 @@ lng_exceptions = { 'unknown': ('und', None),
'cn': ('chi', None),
'chs': ('chi', None),
'jp': ('jpn', None),
'scc': ('srp', None),
'scr': ('hrv', None)
}
@@ -248,7 +249,7 @@ class Language(object):
def opensubtitles(self):
if self.lang == 'por' and self.country and self.country.alpha2 == 'br':
return 'pob'
elif self.lang in ['gre', 'srp']:
elif self.lang in ['gre', 'eus', 'ice', 'srp']:
return self.alpha3term
return self.alpha3