From 96d0a91d16dbf2f1067df4e9b69ded09e2e62054 Mon Sep 17 00:00:00 2001 From: niksedk Date: Mon, 21 Jun 2021 12:22:58 +0200 Subject: [PATCH] Work on language tags --- src/ui/Forms/Assa/ApplyCustomStyles.cs | 1 + src/ui/Forms/Assa/TagHistory.Designer.cs | 2 +- src/ui/Forms/Assa/TagHistory.cs | 3 ++- src/ui/Languages/da-DK.xml | 9 +++++++++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/ui/Forms/Assa/ApplyCustomStyles.cs b/src/ui/Forms/Assa/ApplyCustomStyles.cs index 9013db71d..509e90b11 100644 --- a/src/ui/Forms/Assa/ApplyCustomStyles.cs +++ b/src/ui/Forms/Assa/ApplyCustomStyles.cs @@ -45,6 +45,7 @@ namespace Nikse.SubtitleEdit.Forms.Assa radioButtonAdvancedSelection_CheckedChanged(null, null); Text = LanguageSettings.Current.AssaOverrideTags.ApplyCustomTags; + buttonHistory.Text = LanguageSettings.Current.AssaOverrideTags.History; labelOverrideTags.Text = LanguageSettings.Current.AssaOverrideTags.TagsToApply; radioButtonAdvancedSelection.Text = LanguageSettings.Current.AssaOverrideTags.AdvancedSelection; radioButtonSelectedLines.Text = string.Format(LanguageSettings.Current.AssaOverrideTags.SelectedLinesX, _selectedIndices.Length); diff --git a/src/ui/Forms/Assa/TagHistory.Designer.cs b/src/ui/Forms/Assa/TagHistory.Designer.cs index 1b16d1d38..9042941ff 100644 --- a/src/ui/Forms/Assa/TagHistory.Designer.cs +++ b/src/ui/Forms/Assa/TagHistory.Designer.cs @@ -1,7 +1,7 @@  namespace Nikse.SubtitleEdit.Forms.Assa { - partial class TagHistory + sealed partial class TagHistory { /// /// Required designer variable. diff --git a/src/ui/Forms/Assa/TagHistory.cs b/src/ui/Forms/Assa/TagHistory.cs index 84d7bc9af..a70e233bf 100644 --- a/src/ui/Forms/Assa/TagHistory.cs +++ b/src/ui/Forms/Assa/TagHistory.cs @@ -4,7 +4,7 @@ using System.Windows.Forms; namespace Nikse.SubtitleEdit.Forms.Assa { - public partial class TagHistory : Form + public sealed partial class TagHistory : Form { public string HistoryStyle { get; private set; } @@ -14,6 +14,7 @@ namespace Nikse.SubtitleEdit.Forms.Assa InitializeComponent(); UiUtil.FixFonts(this); + Text = LanguageSettings.Current.AssaOverrideTags.History; buttonOK.Text = LanguageSettings.Current.General.Ok; buttonCancel.Text = LanguageSettings.Current.General.Cancel; UiUtil.FixLargeFonts(this, buttonOK); diff --git a/src/ui/Languages/da-DK.xml b/src/ui/Languages/da-DK.xml index 46644b700..ef756f6af 100644 --- a/src/ui/Languages/da-DK.xml +++ b/src/ui/Languages/da-DK.xml @@ -176,6 +176,15 @@ Bemærk: Kontroller ledig diskplads. Fjern en vedhæftet fil? Fjern {0} vedhæftede filer? + + Anvend tilpassede tags + Historie + Tags der skal anvendes + Anved på + + Valgte linjer: {0} + Avanceret valg + Lyd til tekst Udtræk lyd ved hjælp af {0}...