From 50d4864987a1e199390b16e2a0ec4b5f5b6e6ed1 Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Sat, 14 Sep 2024 11:31:30 +0200 Subject: [PATCH] Minor fix for Cavena890 save options Missing check for Romanian --- SubtitleEdit.sln.DotSettings | 1 + src/ui/Forms/Cavena890SaveOptions.cs | 3 +++ src/ui/Forms/PacEncoding.cs | 1 - 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/SubtitleEdit.sln.DotSettings b/SubtitleEdit.sln.DotSettings index b49c68f42..42630314a 100644 --- a/SubtitleEdit.sln.DotSettings +++ b/SubtitleEdit.sln.DotSettings @@ -24,6 +24,7 @@ True True True + True True True True diff --git a/src/ui/Forms/Cavena890SaveOptions.cs b/src/ui/Forms/Cavena890SaveOptions.cs index f412f6eb5..7dd686f55 100644 --- a/src/ui/Forms/Cavena890SaveOptions.cs +++ b/src/ui/Forms/Cavena890SaveOptions.cs @@ -106,6 +106,9 @@ namespace Nikse.SubtitleEdit.Forms case 6: Configuration.Settings.SubtitleSettings.CurrentCavena89LanguageId = Cavena890.LanguageIdRussian; break; + case 7: + Configuration.Settings.SubtitleSettings.CurrentCavena89LanguageId = Cavena890.LanguageIdRomanian; + break; default: Configuration.Settings.SubtitleSettings.CurrentCavena89LanguageId = Cavena890.LanguageIdEnglish; break; diff --git a/src/ui/Forms/PacEncoding.cs b/src/ui/Forms/PacEncoding.cs index e0503207c..acbf6c3d9 100644 --- a/src/ui/Forms/PacEncoding.cs +++ b/src/ui/Forms/PacEncoding.cs @@ -4,7 +4,6 @@ using Nikse.SubtitleEdit.Logic; using System; using System.Text; using System.Windows.Forms; -using static System.Net.Mime.MediaTypeNames; namespace Nikse.SubtitleEdit.Forms {