mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-10-31 22:44:32 +01:00
[utils] Add language codes replaced in 1989 revision of ISO 639 to ISO639Utils (closes #18765)
This commit is contained in:
parent
de0359c0af
commit
b7acc83550
@ -2968,6 +2968,7 @@ class ISO639Utils(object):
|
|||||||
'gv': 'glv',
|
'gv': 'glv',
|
||||||
'ha': 'hau',
|
'ha': 'hau',
|
||||||
'he': 'heb',
|
'he': 'heb',
|
||||||
|
'iw': 'heb', # Replaced by he in 1989 revision
|
||||||
'hi': 'hin',
|
'hi': 'hin',
|
||||||
'ho': 'hmo',
|
'ho': 'hmo',
|
||||||
'hr': 'hrv',
|
'hr': 'hrv',
|
||||||
@ -2977,6 +2978,7 @@ class ISO639Utils(object):
|
|||||||
'hz': 'her',
|
'hz': 'her',
|
||||||
'ia': 'ina',
|
'ia': 'ina',
|
||||||
'id': 'ind',
|
'id': 'ind',
|
||||||
|
'in': 'ind', # Replaced by id in 1989 revision
|
||||||
'ie': 'ile',
|
'ie': 'ile',
|
||||||
'ig': 'ibo',
|
'ig': 'ibo',
|
||||||
'ii': 'iii',
|
'ii': 'iii',
|
||||||
@ -3091,6 +3093,7 @@ class ISO639Utils(object):
|
|||||||
'wo': 'wol',
|
'wo': 'wol',
|
||||||
'xh': 'xho',
|
'xh': 'xho',
|
||||||
'yi': 'yid',
|
'yi': 'yid',
|
||||||
|
'ji': 'yid', # Replaced by he yi 1989 revision
|
||||||
'yo': 'yor',
|
'yo': 'yor',
|
||||||
'za': 'zha',
|
'za': 'zha',
|
||||||
'zh': 'zho',
|
'zh': 'zho',
|
||||||
|
Loading…
Reference in New Issue
Block a user