projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[utils] Add language codes replaced in 1989 revision of ISO 639 to ISO639Utils (close...
[youtube-dl]
/
youtube_dl
/
utils.py
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 62e769fd5188a532b710a1bddbce9af8eef660ee..64b524d2fafa9b8e65a862ce7f2acb0cb59f31db 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-2968,6
+2968,7
@@
class ISO639Utils(object):
'gv': 'glv',
'ha': 'hau',
'he': 'heb',
'gv': 'glv',
'ha': 'hau',
'he': 'heb',
+ 'iw': 'heb', # Replaced by he in 1989 revision
'hi': 'hin',
'ho': 'hmo',
'hr': 'hrv',
'hi': 'hin',
'ho': 'hmo',
'hr': 'hrv',
@@
-2977,6
+2978,7
@@
class ISO639Utils(object):
'hz': 'her',
'ia': 'ina',
'id': 'ind',
'hz': 'her',
'ia': 'ina',
'id': 'ind',
+ 'in': 'ind', # Replaced by id in 1989 revision
'ie': 'ile',
'ig': 'ibo',
'ii': 'iii',
'ie': 'ile',
'ig': 'ibo',
'ii': 'iii',
@@
-3091,6
+3093,7
@@
class ISO639Utils(object):
'wo': 'wol',
'xh': 'xho',
'yi': 'yid',
'wo': 'wol',
'xh': 'xho',
'yi': 'yid',
+ 'ji': 'yid', # Replaced by he yi 1989 revision
'yo': 'yor',
'za': 'zha',
'zh': 'zho',
'yo': 'yor',
'za': 'zha',
'zh': 'zho',