mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-22 22:15:17 -04:00
Fixed: Latvian and Russian language parsing
Improved support for Latvian with test cases I have encountered in the wild and fixed a case where Russian is not recognized (RU instead of RUS).
This commit is contained in:
@@ -22,7 +22,7 @@ namespace NzbDrone.Core.Parser
|
||||
(?<brazilian>dublado)|
|
||||
(?<greek>greek)|
|
||||
(?<french>\b(?:FR|VO|VF|VFF|VFQ|VFI|VF2|TRUEFRENCH|FRE|FRA)\b)|
|
||||
(?<russian>\brus\b)|
|
||||
(?<russian>\b(?:rus|ru)\b)|
|
||||
(?<english>\beng\b)|
|
||||
(?<hungarian>\b(?:HUNDUB|HUN)\b)|
|
||||
(?<hebrew>\b(?:HebDub|HebDubbed)\b)|
|
||||
@@ -30,7 +30,7 @@ namespace NzbDrone.Core.Parser
|
||||
(?<chinese>\[(?:CH[ST]|BIG5|GB)\]|简|繁|字幕)|
|
||||
(?<ukrainian>(?:(?:\dx)?UKR))|
|
||||
(?<spanish>\b(?:español|castellano)\b)|
|
||||
(?<latvian>\bLV\b)|
|
||||
(?<latvian>\b(?:lat|lav|lv)\b)|
|
||||
(?<telugu>\btel\b)|
|
||||
(?<vietnamese>\bVIE\b)",
|
||||
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.IgnorePatternWhitespace);
|
||||
|
||||
Reference in New Issue
Block a user