mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(filters): support Language filtering (#632)
* feat(filters): add support for language * feat(filters): add db migrations and repo * feat(filters): fix failing tests * feat(filters): fix failing tests
This commit is contained in:
parent
3c4711efa0
commit
5c402b6d6c
11 changed files with 120 additions and 8 deletions
|
@ -154,6 +154,61 @@ export const originOptions = [
|
|||
|
||||
export const ORIGIN_OPTIONS = originOptions.map(v => ({ value: v, label: v, key: v }));
|
||||
|
||||
export const languageOptions = [
|
||||
"BALTIC",
|
||||
"BRAZiLiAN",
|
||||
"BULGARiAN",
|
||||
"CHiNESE",
|
||||
"CHS",
|
||||
"CHT",
|
||||
"CZECH",
|
||||
"DANiSH",
|
||||
"DUBBED",
|
||||
"DKSUBS",
|
||||
"DUTCH",
|
||||
"ENGLiSH",
|
||||
"ESTONiAN",
|
||||
"FLEMiSH",
|
||||
"FiNNiSH",
|
||||
"FRENCH",
|
||||
"GERMAN",
|
||||
"GREEK",
|
||||
"HAiTiAN",
|
||||
"HARDSUB",
|
||||
"Hardcoded",
|
||||
"HEBREW",
|
||||
"HebSub",
|
||||
"HiNDi",
|
||||
"HUNGARiAN",
|
||||
"iCELANDiC",
|
||||
"iTALiAN",
|
||||
"JAPANESE",
|
||||
"KOREAN",
|
||||
"LATiN",
|
||||
"MANDARiN",
|
||||
"MULTi",
|
||||
"MULTILANG",
|
||||
"MULTiSUB",
|
||||
"MULTiSUBS",
|
||||
"NORDiC",
|
||||
"NORWEGiAN",
|
||||
"POLiSH",
|
||||
"PORTUGUESE",
|
||||
"ROMANiAN",
|
||||
"RUSSiAN",
|
||||
"SPANiSH",
|
||||
"SUBBED",
|
||||
"SUBFORCED",
|
||||
"SUBPACK",
|
||||
"SWEDiSH",
|
||||
"SYNCED",
|
||||
"TURKiSH",
|
||||
"UKRAiNiAN",
|
||||
"UNSUBBED"
|
||||
];
|
||||
|
||||
export const LANGUAGE_OPTIONS = languageOptions.map(v => ({ value: v, label: v, key: v }));
|
||||
|
||||
export interface RadioFieldsetOption {
|
||||
label: string;
|
||||
description: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue