From f6f949415c4d81c3849650b7e4b6a366bf874223 Mon Sep 17 00:00:00 2001 From: Volodymyr Medvid <1663640+medvid@users.noreply.github.com> Date: Fri, 21 Jan 2022 16:40:39 +0200 Subject: [PATCH] Fix Ukrainian language mappings --- src/NzbDrone.Core/Languages/Language.cs | 2 +- src/NzbDrone.Core/Parser/IsoLanguages.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Languages/Language.cs b/src/NzbDrone.Core/Languages/Language.cs index 87b64a469..9e5e98236 100644 --- a/src/NzbDrone.Core/Languages/Language.cs +++ b/src/NzbDrone.Core/Languages/Language.cs @@ -102,7 +102,7 @@ namespace NzbDrone.Core.Languages public static Language Bulgarian => new Language(29, "Bulgarian"); public static Language PortugueseBR => new Language(30, "Portuguese (Brazil)"); public static Language Arabic => new Language(31, "Arabic"); - public static Language Ukrainian => new Language(32, "Unkrainian"); + public static Language Ukrainian => new Language(32, "Ukrainian"); public static Language Persian => new Language(33, "Persian"); public static Language Bengali => new Language(34, "Bengali"); public static Language Any => new Language(-1, "Any"); diff --git a/src/NzbDrone.Core/Parser/IsoLanguages.cs b/src/NzbDrone.Core/Parser/IsoLanguages.cs index f02909ad3..1469a5a60 100644 --- a/src/NzbDrone.Core/Parser/IsoLanguages.cs +++ b/src/NzbDrone.Core/Parser/IsoLanguages.cs @@ -40,7 +40,7 @@ namespace NzbDrone.Core.Parser new IsoLanguage("ro", "", "ron", "Romanian", Language.Romanian), new IsoLanguage("pt", "br", "", "Portuguese (Brazil)", Language.PortugueseBR), new IsoLanguage("ar", "", "ara", "Arabic", Language.Arabic), - new IsoLanguage("uk", "", "uar", "Ukrainian", Language.Ukrainian), + new IsoLanguage("uk", "", "ukr", "Ukrainian", Language.Ukrainian), new IsoLanguage("fa", "", "fas", "Persian", Language.Persian), new IsoLanguage("be", "", "ben", "Bengali", Language.Bengali) };