From a366e20e6228e7f42a842a1e8b9cbd0e84fc8cb7 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Tue, 19 Nov 2024 08:08:29 +0100 Subject: [PATCH] Setup up "Dual Speakers" rules correctly for Netflix - thx Looi :) --- .../NetflixQualityController.cs | 18 +++++++++++++++++- src/ui/Forms/NetflixFixErrors.cs | 1 - 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/libse/NetflixQualityCheck/NetflixQualityController.cs b/src/libse/NetflixQualityCheck/NetflixQualityController.cs index 595d400b5..158fcb8bf 100644 --- a/src/libse/NetflixQualityCheck/NetflixQualityController.cs +++ b/src/libse/NetflixQualityCheck/NetflixQualityController.cs @@ -132,24 +132,40 @@ namespace Nikse.SubtitleEdit.Core.NetflixQualityCheck { case "ar": // Arabic case "pt": // Brazilian Portuguese + return DialogType.DashBothLinesWithSpace; case "cs": // Czech + return DialogType.DashBothLinesWithSpace; case "fr": // French + return DialogType.DashBothLinesWithSpace; case "hu": // Hungarian + return DialogType.DashBothLinesWithSpace; case "in": // Indonesian + return DialogType.DashBothLinesWithSpace; case "it": // Italian + return DialogType.DashBothLinesWithSpace; case "ko": // Korean + return DialogType.DashBothLinesWithSpace; case "ms": // Malay + return DialogType.DashBothLinesWithSpace; case "pl": // Polish + return DialogType.DashBothLinesWithSpace; case "ro": // Romanian + return DialogType.DashBothLinesWithSpace; case "ru": // Russian + return DialogType.DashBothLinesWithSpace; case "sk": // Slovak + return DialogType.DashBothLinesWithSpace; case "es": // Spanish + return DialogType.DashBothLinesWithSpace; case "th": // Thai + return DialogType.DashBothLinesWithSpace; case "vi": // Vietnamese return DialogType.DashBothLinesWithSpace; - case "nl": // Dutch + case "nl": // Dutch + return DialogType.DashSecondLineWithoutSpace; case "fi": // Finnish case "he": // Hebrew + return DialogType.DashSecondLineWithoutSpace; case "sr": // Serbian return DialogType.DashSecondLineWithoutSpace; case "bg": // Bulgarian diff --git a/src/ui/Forms/NetflixFixErrors.cs b/src/ui/Forms/NetflixFixErrors.cs index 077ab0bcd..111ba8cb6 100644 --- a/src/ui/Forms/NetflixFixErrors.cs +++ b/src/ui/Forms/NetflixFixErrors.cs @@ -10,7 +10,6 @@ using System.Diagnostics; using System.Globalization; using System.IO; using System.Linq; -using System.Threading.Tasks; using System.Windows.Forms; using static Nikse.SubtitleEdit.Forms.FixCommonErrors;