[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',
'english': '🇬🇧',
'japanese': '🇯🇵',
'russian': '🇷🇺',
'korean': '🇰🇷',
'chinese': '🇨🇳',
'french': '🇫🇷',
@@ -13,16 +14,17 @@ const languageMapping = {
'portuguese': '🇵🇹',
'spanish': '🇪🇸',
'italian': '🇮🇹',
'russian': '🇷🇺',
'hindi': '🇮🇳',
'telugu': '🇮🇳',
'tamil': '🇮🇳',
'polish': '🇵🇱',
'lithuanian': '🇱🇹',
'czech': '🇨🇿',
'slovakian': '🇸🇰',
'hungarian': '🇭🇺',
'romanian': '🇷🇴',
'croatian': '🇭🇷',
'ukrainian': '🇺🇦',
'greek': '🇬🇷',
'danish': '🇩🇰',
'finnish': '🇫🇮',
@@ -30,7 +32,10 @@ const languageMapping = {
'norwegian': '🇳🇴',
'turkish': '🇹🇷',
'arabic': '🇸🇦',
'hebrew': '🇮🇱'
'hebrew': '🇮🇱',
'vietnamese': '🇻🇳',
'indonesian': '🇮🇩',
'thai': '🇹🇭'
}
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",
"named-queue": "^2.2.1",
"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-hstore": "^2.3.2",
"premiumize-api": "^1.0.3",