1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-22 22:16:13 -04:00

New: Portuguese (Brazil) and Spanish (Latino) languages

Closes #5302
This commit is contained in:
Mark McDowall
2022-12-20 17:17:47 -08:00
committed by GitHub
parent a26163b646
commit 17bfcdd325
6 changed files with 130 additions and 21 deletions
@@ -161,6 +161,16 @@ namespace NzbDrone.Core.Parser
languages.Add(Language.Slovak);
}
if (lowerTitle.Contains("brazilian") || lowerTitle.Contains("dublado"))
{
languages.Add(Language.PortugueseBrazil);
}
if (lowerTitle.Contains("latino"))
{
languages.Add(Language.SpanishLatino);
}
var regexLanguages = RegexLanguage(title);
if (regexLanguages.Any())