mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-17 21:26:22 -04:00
Add ReplaceGermanUmlauts method
This commit is contained in:
@@ -586,6 +586,19 @@ namespace NzbDrone.Core.Parser
|
||||
return realResult;
|
||||
}
|
||||
|
||||
public static string ReplaceGermanUmlauts(string s)
|
||||
{
|
||||
var t = s;
|
||||
t = t.Replace("ä", "ae");
|
||||
t = t.Replace("ö", "oe");
|
||||
t = t.Replace("ü", "ue");
|
||||
t = t.Replace("Ä", "Ae");
|
||||
t = t.Replace("Ö", "Oe");
|
||||
t = t.Replace("Ü", "Ue");
|
||||
t = t.Replace("ß", "ss");
|
||||
return t;
|
||||
}
|
||||
|
||||
public static string ParseSeriesName(string title)
|
||||
{
|
||||
Logger.Debug("Parsing string '{0}'", title);
|
||||
|
||||
Reference in New Issue
Block a user