[addon] add more language flags

This commit is contained in:
TheBeastLT
2021-02-15 13:56:36 +01:00
parent 9a8612e2e6
commit 180668821c
3 changed files with 3333 additions and 28 deletions

View File

@@ -5,6 +5,7 @@ const languageMapping = {
'dual audio': 'Dual Audio', 'dual audio': 'Dual Audio',
'english': '🇬🇧', 'english': '🇬🇧',
'japanese': '🇯🇵', 'japanese': '🇯🇵',
'russian': '🇷🇺',
'korean': '🇰🇷', 'korean': '🇰🇷',
'chinese': '🇨🇳', 'chinese': '🇨🇳',
'french': '🇫🇷', 'french': '🇫🇷',
@@ -13,16 +14,17 @@ const languageMapping = {
'portuguese': '🇵🇹', 'portuguese': '🇵🇹',
'spanish': '🇪🇸', 'spanish': '🇪🇸',
'italian': '🇮🇹', 'italian': '🇮🇹',
'russian': '🇷🇺',
'hindi': '🇮🇳', 'hindi': '🇮🇳',
'telugu': '🇮🇳', 'telugu': '🇮🇳',
'tamil': '🇮🇳', 'tamil': '🇮🇳',
'polish': '🇵🇱', 'polish': '🇵🇱',
'lithuanian': '🇱🇹', 'lithuanian': '🇱🇹',
'czech': '🇨🇿', 'czech': '🇨🇿',
'slovakian': '🇸🇰',
'hungarian': '🇭🇺', 'hungarian': '🇭🇺',
'romanian': '🇷🇴', 'romanian': '🇷🇴',
'croatian': '🇭🇷', 'croatian': '🇭🇷',
'ukrainian': '🇺🇦',
'greek': '🇬🇷', 'greek': '🇬🇷',
'danish': '🇩🇰', 'danish': '🇩🇰',
'finnish': '🇫🇮', 'finnish': '🇫🇮',
@@ -30,7 +32,10 @@ const languageMapping = {
'norwegian': '🇳🇴', 'norwegian': '🇳🇴',
'turkish': '🇹🇷', 'turkish': '🇹🇷',
'arabic': '🇸🇦', 'arabic': '🇸🇦',
'hebrew': '🇮🇱' 'hebrew': '🇮🇱',
'vietnamese': '🇻🇳',
'indonesian': '🇮🇩',
'thai': '🇹🇭'
} }
function mapLanguages(languages) { function mapLanguages(languages) {

3350
addon/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -18,7 +18,7 @@
"magnet-uri": "^5.1.7", "magnet-uri": "^5.1.7",
"named-queue": "^2.2.1", "named-queue": "^2.2.1",
"needle": "^2.2.4", "needle": "^2.2.4",
"parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#e8866fdd3f5659c20847b926fb5d297f7634ad26", "parse-torrent-title": "git://github.com/TheBeastLT/parse-torrent-title.git#354953afa5108954c87d76c8985f0bb97dcb2499",
"pg": "^7.8.2", "pg": "^7.8.2",
"pg-hstore": "^2.3.2", "pg-hstore": "^2.3.2",
"premiumize-api": "^1.0.3", "premiumize-api": "^1.0.3",