private string adjustUmlauts(string input) { UmlautAction ua = readUmlautUsage(); if (ua == UmlautAction.Use && language == Helper.Languages.German) { input = transformDoubleLetterToUmalauts(input); } else if (ua == UmlautAction.Dont_Use) { input = replaceUmlautsAndSpecialChars(input); } return(input); }
private UmlautAction readUmlautUsage() { UmlautAction ua = umlautUsage; if (ua == UmlautAction.Unset) { ua = Helper.ReadEnum <UmlautAction>(Config.Umlaute); if (ua == UmlautAction.Unset) { ua = UmlautAction.Ignore; } } return(ua); }
private UmlautAction readUmlautUsage() { UmlautAction ua = umlautAction; if (ua == UmlautAction.Unset) { ua = Helper.ReadEnum <UmlautAction>(ConfigKeyConstants.DIACRITIC_STRATEGY_KEY); if (ua == UmlautAction.Unset) { ua = UmlautAction.Ignore; } } return(ua); }
private void initMembers() { source = new Filepath(); destination = new Filepath(); nameOfSeries = ""; nameOfEpisode = ""; season = -1; episode = -1; isVideofile = false; isSubtitle = false; processingRequested = true; isMovie = false; umlautUsage = UmlautAction.Unset; casing = Case.Unset; createDirectoryStructure = DirectoryStructure.Unset; language = Helper.Languages.None; ExtractedNameLevel = 0; }
private void initMembers() { originalPath = new Filepath(); destinationPath = new Filepath(); showname = ""; episodeTitle = ""; seasonNr = -1; episodeNr = -1; isVideoFile = false; isSubtitleFile = false; processingRequested = true; isMovie = false; umlautAction = UmlautAction.Unset; caseAction = CaseAction.Unset; directoryStructureAction = DirectoryStructureAction.Unset; language = Helper.Languages.None; ExtractedNameLevel = 0; }