diff --git a/GoToBible.Providers/ApiProvider.cs b/GoToBible.Providers/ApiProvider.cs index 912f6f1..aae5a23 100644 --- a/GoToBible.Providers/ApiProvider.cs +++ b/GoToBible.Providers/ApiProvider.cs @@ -8,6 +8,7 @@ namespace GoToBible.Providers; using System; using System.Collections.Generic; +using System.Collections.ObjectModel; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; @@ -22,6 +23,48 @@ namespace GoToBible.Providers; /// public abstract class ApiProvider : IProvider { + /// + /// A list of blocked translations that cause unnecessary duplicates. + /// + public static readonly ReadOnlyCollection BlockedTranslations = new List + { + "BibleApi-685d1470fe4d5c3b-01", + "BibleApi-6bab4d6c61b31b80-01", + "BibleApi-7142879509583d59-02", + "BibleApi-7142879509583d59-03", + "BibleApi-7142879509583d59-04", + "BibleApi-926aa5efbc5e04e2-01", + "BibleApi-9879dbb7cfe39e4d-02", + "BibleApi-9879dbb7cfe39e4d-03", + "BibleApi-9879dbb7cfe39e4d-04", + "BibleApi-bba9f40183526463-01", + "BibleApi-de4e12af7f28f599-02", + "BibleApi-f72b840c855f362c-04", + "BibliaApi-asv", + "BibliaApi-kjv", + "BibliaApi-kjv1900", + "BibliaApi-kjvapoc", + "DigitalBiblePlatformApi-AAHWBTN2ET", + "DigitalBiblePlatformApi-EN1ESV", + "DigitalBiblePlatformApi-ENGASV", + "DigitalBiblePlatformApi-ENGESH", + "DigitalBiblePlatformApi-ENGKJV", + "DigitalBiblePlatformApi-ENGREV", + "DigitalBiblePlatformApi-ENGWEB", + }.AsReadOnly(); + + /// + /// Name substitutions to help users of the web application. + /// + public static readonly IReadOnlyDictionary NameSubstitutions = new Dictionary + { + { "The Holy Bible, American Standard Version", "American Standard Version" }, + { "English Standard VersionĀ®", "English Standard Version (2007)" }, + { "New American Standard Bible (NASB)", "New American Standard Bible (1995)" }, + { "King James (Authorised) Version (Ecumenical)", "King James Version" }, + { "TCENT", "Text-Critical English New Testament" }, + }; + /// /// A map of the Bible book codes to the Passage Reference book names. /// diff --git a/GoToBible.Providers/BookHelper.cs b/GoToBible.Providers/BookHelper.cs index 6223cdc..3e64798 100644 --- a/GoToBible.Providers/BookHelper.cs +++ b/GoToBible.Providers/BookHelper.cs @@ -137,14 +137,7 @@ public ChapterReference GetNextChapter(string book, int chapter) public int GetNumberOfChapters(string book) { string bookLower = book.ToLowerInvariant(); - if (this.BookChapters.Contains(bookLower) && this.BookChapters[bookLower] is int chapters) - { - return chapters; - } - else - { - return 0; - } + return this.BookChapters.Contains(bookLower) && this.BookChapters[bookLower] is int chapters ? chapters : 0; } /// diff --git a/GoToBible.Web/Server/Controllers/TranslationsController.cs b/GoToBible.Web/Server/Controllers/TranslationsController.cs index 966c173..57152a4 100644 --- a/GoToBible.Web/Server/Controllers/TranslationsController.cs +++ b/GoToBible.Web/Server/Controllers/TranslationsController.cs @@ -7,8 +7,8 @@ namespace GoToBible.Web.Server.Controllers; using System.Collections.Generic; -using System.Collections.ObjectModel; using GoToBible.Model; +using GoToBible.Providers; using Microsoft.AspNetCore.Mvc; /// @@ -20,47 +20,6 @@ namespace GoToBible.Web.Server.Controllers; [Route("[controller]")] public class TranslationsController : ControllerBase { - /// - /// A list of blocked translations that cause unnecessary duplicates. - /// - private static readonly ReadOnlyCollection BlockedTranslations = new List - { - "BibleApi-685d1470fe4d5c3b-01", - "BibleApi-6bab4d6c61b31b80-01", - "BibleApi-7142879509583d59-02", - "BibleApi-7142879509583d59-03", - "BibleApi-7142879509583d59-04", - "BibleApi-926aa5efbc5e04e2-01", - "BibleApi-9879dbb7cfe39e4d-02", - "BibleApi-9879dbb7cfe39e4d-03", - "BibleApi-9879dbb7cfe39e4d-04", - "BibleApi-bba9f40183526463-01", - "BibleApi-de4e12af7f28f599-02", - "BibleApi-f72b840c855f362c-04", - "BibliaApi-asv", - "BibliaApi-kjv", - "BibliaApi-kjv1900", - "BibliaApi-kjvapoc", - "DigitalBiblePlatformApi-AAHWBTN2ET", - "DigitalBiblePlatformApi-EN1ESV", - "DigitalBiblePlatformApi-ENGASV", - "DigitalBiblePlatformApi-ENGESH", - "DigitalBiblePlatformApi-ENGKJV", - "DigitalBiblePlatformApi-ENGREV", - "DigitalBiblePlatformApi-ENGWEB", - }.AsReadOnly(); - - /// - /// Name substitutions to help users of the web application. - /// - private static readonly IReadOnlyDictionary NameSubstitutions = new Dictionary - { - { "The Holy Bible, American Standard Version", "American Standard Version" }, - { "English Standard VersionĀ®", "English Standard Version (2007)" }, - { "NAS New American Standard Bible", "New American Standard Bible (1995)" }, - { "King James (Authorised) Version (Ecumenical)", "King James Version" }, - }; - /// /// The providers. /// @@ -86,13 +45,13 @@ public async IAsyncEnumerable Get() await foreach (Translation translation in provider.GetTranslationsAsync()) { // Clean up any names we are displaying - if (NameSubstitutions.TryGetValue(translation.Name, out string? translationName)) + if (ApiProvider.NameSubstitutions.TryGetValue(translation.Name, out string? translationName)) { translation.Name = translationName; } // Make sure this isn't a blocked translation - if (!BlockedTranslations.Contains($"{translation.Provider}-{translation.Code}")) + if (!ApiProvider.BlockedTranslations.Contains($"{translation.Provider}-{translation.Code}")) { yield return translation; } diff --git a/GoToBible.Windows/FormMain.Designer.cs b/GoToBible.Windows/FormMain.Designer.cs index 4a43e96..4e924ed 100644 --- a/GoToBible.Windows/FormMain.Designer.cs +++ b/GoToBible.Windows/FormMain.Designer.cs @@ -30,6 +30,7 @@ private void InitializeComponent() this.ToolStripSettings = new System.Windows.Forms.ToolStrip(); this.ToolStripButtonNewWindow = new System.Windows.Forms.ToolStripButton(); this.ToolStripButtonWebBrowser = new System.Windows.Forms.ToolStripButton(); + this.ToolStripButtonApparatusGenerator = new System.Windows.Forms.ToolStripButton(); this.ToolStripSplitButtonSettings = new System.Windows.Forms.ToolStripSplitButton(); this.ToolStripMenuItemInterlinear = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItemIgnoreCase = new System.Windows.Forms.ToolStripMenuItem(); @@ -55,17 +56,11 @@ private void InitializeComponent() this.ToolStripMenuItemDebugMode = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItemDeveloperMode = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItemLegacyBrowser = new System.Windows.Forms.ToolStripMenuItem(); + this.ToolStripMenuItemBlockedTranslations = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripMenuItemSettingsDirectory = new System.Windows.Forms.ToolStripMenuItem(); this.ToolStripNavigate = new System.Windows.Forms.ToolStrip(); this.ToolStripButtonNavigateBack = new System.Windows.Forms.ToolStripButton(); this.ToolStripButtonNavigateForward = new System.Windows.Forms.ToolStripButton(); - this.ToolStripTranslation = new System.Windows.Forms.ToolStrip(); - this.ToolStripLabelPrimaryTranslation = new System.Windows.Forms.ToolStripLabel(); - this.ToolStripComboBoxPrimaryTranslation = new System.Windows.Forms.ToolStripComboBox(); - this.ToolStripButtonExport = new System.Windows.Forms.ToolStripButton(); - this.ToolStripLabelSecondaryTranslation = new System.Windows.Forms.ToolStripLabel(); - this.ToolStripComboBoxSecondaryTranslation = new System.Windows.Forms.ToolStripComboBox(); - this.ToolStripButtonSwap = new System.Windows.Forms.ToolStripButton(); this.ToolStripPassage = new System.Windows.Forms.ToolStrip(); this.ToolStripLabelPassage = new System.Windows.Forms.ToolStripLabel(); this.ToolStripTextBoxPassage = new System.Windows.Forms.ToolStripTextBox(); @@ -73,13 +68,19 @@ private void InitializeComponent() this.ToolStripResource = new System.Windows.Forms.ToolStrip(); this.ToolStripLabelResource = new System.Windows.Forms.ToolStripLabel(); this.ToolStripComboBoxResource = new System.Windows.Forms.ToolStripComboBox(); + this.ToolStripTranslation = new System.Windows.Forms.ToolStrip(); + this.ToolStripLabelPrimaryTranslation = new System.Windows.Forms.ToolStripLabel(); + this.ToolStripComboBoxPrimaryTranslation = new System.Windows.Forms.ToolStripComboBox(); + this.ToolStripButtonExport = new System.Windows.Forms.ToolStripButton(); + this.ToolStripLabelSecondaryTranslation = new System.Windows.Forms.ToolStripLabel(); + this.ToolStripComboBoxSecondaryTranslation = new System.Windows.Forms.ToolStripComboBox(); + this.ToolStripButtonSwap = new System.Windows.Forms.ToolStripButton(); this.FontDialogMain = new System.Windows.Forms.FontDialog(); this.ColourDialogBackground = new System.Windows.Forms.ColorDialog(); this.ToolTipMain = new System.Windows.Forms.ToolTip(this.components); this.FolderBrowserDialogMain = new System.Windows.Forms.FolderBrowserDialog(); this.SaveFileDialogMain = new System.Windows.Forms.SaveFileDialog(); this.ColourDialogHighlight = new System.Windows.Forms.ColorDialog(); - this.ToolStripButtonApparatusGenerator = new System.Windows.Forms.ToolStripButton(); this.ToolStripContainerMain.ContentPanel.SuspendLayout(); this.ToolStripContainerMain.TopToolStripPanel.SuspendLayout(); this.ToolStripContainerMain.SuspendLayout(); @@ -88,9 +89,9 @@ private void InitializeComponent() this.ToolStripExtras.SuspendLayout(); this.ToolStripSettings.SuspendLayout(); this.ToolStripNavigate.SuspendLayout(); - this.ToolStripTranslation.SuspendLayout(); this.ToolStripPassage.SuspendLayout(); this.ToolStripResource.SuspendLayout(); + this.ToolStripTranslation.SuspendLayout(); this.SuspendLayout(); // // ToolStripContainerMain @@ -103,7 +104,7 @@ private void InitializeComponent() // this.ToolStripContainerMain.ContentPanel.Controls.Add(this.SplitContainerMain); this.ToolStripContainerMain.ContentPanel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.ToolStripContainerMain.ContentPanel.Size = new System.Drawing.Size(1183, 439); + this.ToolStripContainerMain.ContentPanel.Size = new System.Drawing.Size(1183, 414); this.ToolStripContainerMain.Location = new System.Drawing.Point(-1, 0); this.ToolStripContainerMain.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); this.ToolStripContainerMain.Name = "ToolStripContainerMain"; @@ -116,9 +117,9 @@ private void InitializeComponent() this.ToolStripContainerMain.TopToolStripPanel.Controls.Add(this.ToolStripExtras); this.ToolStripContainerMain.TopToolStripPanel.Controls.Add(this.ToolStripSettings); this.ToolStripContainerMain.TopToolStripPanel.Controls.Add(this.ToolStripNavigate); - this.ToolStripContainerMain.TopToolStripPanel.Controls.Add(this.ToolStripResource); this.ToolStripContainerMain.TopToolStripPanel.Controls.Add(this.ToolStripPassage); this.ToolStripContainerMain.TopToolStripPanel.Controls.Add(this.ToolStripTranslation); + this.ToolStripContainerMain.TopToolStripPanel.Controls.Add(this.ToolStripResource); // // SplitContainerMain // @@ -127,7 +128,7 @@ private void InitializeComponent() this.SplitContainerMain.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); this.SplitContainerMain.Name = "SplitContainerMain"; this.SplitContainerMain.Panel2Collapsed = true; - this.SplitContainerMain.Size = new System.Drawing.Size(1183, 439); + this.SplitContainerMain.Size = new System.Drawing.Size(1183, 414); this.SplitContainerMain.SplitterDistance = 615; this.SplitContainerMain.SplitterWidth = 7; this.SplitContainerMain.TabIndex = 0; @@ -162,13 +163,13 @@ private void InitializeComponent() this.ToolStripSplitButtonSettings}); this.ToolStripSettings.Location = new System.Drawing.Point(3, 25); this.ToolStripSettings.Name = "ToolStripSettings"; - this.ToolStripSettings.Size = new System.Drawing.Size(144, 25); + this.ToolStripSettings.Size = new System.Drawing.Size(113, 25); this.ToolStripSettings.TabIndex = 3; // // ToolStripButtonNewWindow // this.ToolStripButtonNewWindow.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.ToolStripButtonNewWindow.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonNewWindow.Image"))); + this.ToolStripButtonNewWindow.Image = global::GoToBible.Windows.Properties.Resources.NewWindow; this.ToolStripButtonNewWindow.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonNewWindow.Name = "ToolStripButtonNewWindow"; this.ToolStripButtonNewWindow.Size = new System.Drawing.Size(23, 22); @@ -179,13 +180,23 @@ private void InitializeComponent() // ToolStripButtonWebBrowser // this.ToolStripButtonWebBrowser.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.ToolStripButtonWebBrowser.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonWebBrowser.Image"))); + this.ToolStripButtonWebBrowser.Image = global::GoToBible.Windows.Properties.Resources.WebBrowser; this.ToolStripButtonWebBrowser.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonWebBrowser.Name = "ToolStripButtonWebBrowser"; this.ToolStripButtonWebBrowser.Size = new System.Drawing.Size(23, 22); this.ToolStripButtonWebBrowser.Text = "Open in &Web Browser"; this.ToolStripButtonWebBrowser.Click += new System.EventHandler(this.ToolStripButtonWebBrowser_Click); // + // ToolStripButtonApparatusGenerator + // + this.ToolStripButtonApparatusGenerator.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.ToolStripButtonApparatusGenerator.Image = global::GoToBible.Windows.Properties.Resources.ApparatusGenerator; + this.ToolStripButtonApparatusGenerator.ImageTransparentColor = System.Drawing.Color.Magenta; + this.ToolStripButtonApparatusGenerator.Name = "ToolStripButtonApparatusGenerator"; + this.ToolStripButtonApparatusGenerator.Size = new System.Drawing.Size(23, 22); + this.ToolStripButtonApparatusGenerator.Text = "&Apparatus Generator"; + this.ToolStripButtonApparatusGenerator.Click += new System.EventHandler(this.ToolStripButtonApparatusGenerator_Click); + // // ToolStripSplitButtonSettings // this.ToolStripSplitButtonSettings.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; @@ -197,7 +208,7 @@ private void InitializeComponent() this.ToolStripMenuItemBackgroundColour, this.ToolStripMenuItemEnterApiKeys, this.ToolStripMenuItemConfigure}); - this.ToolStripSplitButtonSettings.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripSplitButtonSettings.Image"))); + this.ToolStripSplitButtonSettings.Image = global::GoToBible.Windows.Properties.Resources.Settings; this.ToolStripSplitButtonSettings.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripSplitButtonSettings.Name = "ToolStripSplitButtonSettings"; this.ToolStripSplitButtonSettings.Size = new System.Drawing.Size(32, 22); @@ -242,7 +253,7 @@ private void InitializeComponent() // ToolStripMenuItemShowItalics // this.ToolStripMenuItemShowItalics.CheckOnClick = true; - this.ToolStripMenuItemShowItalics.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemShowItalics.Image"))); + this.ToolStripMenuItemShowItalics.Image = global::GoToBible.Windows.Properties.Resources.Italic; this.ToolStripMenuItemShowItalics.Name = "ToolStripMenuItemShowItalics"; this.ToolStripMenuItemShowItalics.Size = new System.Drawing.Size(180, 22); this.ToolStripMenuItemShowItalics.Text = "&Show Italics"; @@ -251,7 +262,7 @@ private void InitializeComponent() // // ToolStripMenuItemFontSettings // - this.ToolStripMenuItemFontSettings.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemFontSettings.Image"))); + this.ToolStripMenuItemFontSettings.Image = global::GoToBible.Windows.Properties.Resources.Font; this.ToolStripMenuItemFontSettings.Name = "ToolStripMenuItemFontSettings"; this.ToolStripMenuItemFontSettings.Size = new System.Drawing.Size(180, 22); this.ToolStripMenuItemFontSettings.Text = "&Font Settings"; @@ -260,7 +271,7 @@ private void InitializeComponent() // // ToolStripMenuItemHighlightColour // - this.ToolStripMenuItemHighlightColour.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemHighlightColour.Image"))); + this.ToolStripMenuItemHighlightColour.Image = global::GoToBible.Windows.Properties.Resources.Highlight; this.ToolStripMenuItemHighlightColour.Name = "ToolStripMenuItemHighlightColour"; this.ToolStripMenuItemHighlightColour.Size = new System.Drawing.Size(180, 22); this.ToolStripMenuItemHighlightColour.Text = "&Highlight Colour"; @@ -269,7 +280,7 @@ private void InitializeComponent() // // ToolStripMenuItemBackgroundColour // - this.ToolStripMenuItemBackgroundColour.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemBackgroundColour.Image"))); + this.ToolStripMenuItemBackgroundColour.Image = global::GoToBible.Windows.Properties.Resources.Color; this.ToolStripMenuItemBackgroundColour.Name = "ToolStripMenuItemBackgroundColour"; this.ToolStripMenuItemBackgroundColour.Size = new System.Drawing.Size(180, 22); this.ToolStripMenuItemBackgroundColour.Text = "Background &Colour"; @@ -285,7 +296,7 @@ private void InitializeComponent() this.ToolStripMenuItemEsv, this.ToolStripMenuItemNlt, this.ToolStripMenuItemSql}); - this.ToolStripMenuItemEnterApiKeys.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemEnterApiKeys.Image"))); + this.ToolStripMenuItemEnterApiKeys.Image = global::GoToBible.Windows.Properties.Resources.Languages; this.ToolStripMenuItemEnterApiKeys.Name = "ToolStripMenuItemEnterApiKeys"; this.ToolStripMenuItemEnterApiKeys.Size = new System.Drawing.Size(180, 22); this.ToolStripMenuItemEnterApiKeys.Text = "Enter &API Key..."; @@ -293,7 +304,7 @@ private void InitializeComponent() // // ToolStripMenuItemBibleApi // - this.ToolStripMenuItemBibleApi.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemBibleApi.Image"))); + this.ToolStripMenuItemBibleApi.Image = global::GoToBible.Windows.Properties.Resources.BibleApi; this.ToolStripMenuItemBibleApi.Name = "ToolStripMenuItemBibleApi"; this.ToolStripMenuItemBibleApi.Size = new System.Drawing.Size(186, 22); this.ToolStripMenuItemBibleApi.Text = "&API.Bible"; @@ -302,7 +313,7 @@ private void InitializeComponent() // // ToolStripMenuItemBiblia // - this.ToolStripMenuItemBiblia.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemBiblia.Image"))); + this.ToolStripMenuItemBiblia.Image = global::GoToBible.Windows.Properties.Resources.Biblia; this.ToolStripMenuItemBiblia.Name = "ToolStripMenuItemBiblia"; this.ToolStripMenuItemBiblia.Size = new System.Drawing.Size(186, 22); this.ToolStripMenuItemBiblia.Text = "&Biblia"; @@ -311,7 +322,7 @@ private void InitializeComponent() // // ToolStripMenuItemDigitalBiblePlatform // - this.ToolStripMenuItemDigitalBiblePlatform.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemDigitalBiblePlatform.Image"))); + this.ToolStripMenuItemDigitalBiblePlatform.Image = global::GoToBible.Windows.Properties.Resources.DigitalBiblePlatform; this.ToolStripMenuItemDigitalBiblePlatform.Name = "ToolStripMenuItemDigitalBiblePlatform"; this.ToolStripMenuItemDigitalBiblePlatform.Size = new System.Drawing.Size(186, 22); this.ToolStripMenuItemDigitalBiblePlatform.Text = "&Digital Bible Platform"; @@ -320,7 +331,7 @@ private void InitializeComponent() // // ToolStripMenuItemEsv // - this.ToolStripMenuItemEsv.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemEsv.Image"))); + this.ToolStripMenuItemEsv.Image = global::GoToBible.Windows.Properties.Resources.Esv; this.ToolStripMenuItemEsv.Name = "ToolStripMenuItemEsv"; this.ToolStripMenuItemEsv.Size = new System.Drawing.Size(186, 22); this.ToolStripMenuItemEsv.Text = "&ESV"; @@ -329,7 +340,7 @@ private void InitializeComponent() // // ToolStripMenuItemNlt // - this.ToolStripMenuItemNlt.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemNlt.Image"))); + this.ToolStripMenuItemNlt.Image = global::GoToBible.Windows.Properties.Resources.Nlt; this.ToolStripMenuItemNlt.Name = "ToolStripMenuItemNlt"; this.ToolStripMenuItemNlt.Size = new System.Drawing.Size(186, 22); this.ToolStripMenuItemNlt.Text = "&NLT"; @@ -338,7 +349,7 @@ private void InitializeComponent() // // ToolStripMenuItemSql // - this.ToolStripMenuItemSql.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemSql.Image"))); + this.ToolStripMenuItemSql.Image = global::GoToBible.Windows.Properties.Resources.Sql; this.ToolStripMenuItemSql.Name = "ToolStripMenuItemSql"; this.ToolStripMenuItemSql.Size = new System.Drawing.Size(186, 22); this.ToolStripMenuItemSql.Text = "&SQL Server"; @@ -356,8 +367,9 @@ private void InitializeComponent() this.ToolStripMenuItemDebugMode, this.ToolStripMenuItemDeveloperMode, this.ToolStripMenuItemLegacyBrowser, + this.ToolStripMenuItemBlockedTranslations, this.ToolStripMenuItemSettingsDirectory}); - this.ToolStripMenuItemConfigure.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemConfigure.Image"))); + this.ToolStripMenuItemConfigure.Image = global::GoToBible.Windows.Properties.Resources.Configure; this.ToolStripMenuItemConfigure.Name = "ToolStripMenuItemConfigure"; this.ToolStripMenuItemConfigure.Size = new System.Drawing.Size(180, 22); this.ToolStripMenuItemConfigure.Text = "C&onfigure..."; @@ -365,36 +377,36 @@ private void InitializeComponent() // // ToolStripMenuItemCommentaries // - this.ToolStripMenuItemCommentaries.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemCommentaries.Image"))); + this.ToolStripMenuItemCommentaries.Image = global::GoToBible.Windows.Properties.Resources.Commentaries; this.ToolStripMenuItemCommentaries.Name = "ToolStripMenuItemCommentaries"; - this.ToolStripMenuItemCommentaries.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItemCommentaries.Size = new System.Drawing.Size(231, 22); this.ToolStripMenuItemCommentaries.Text = "&Commentaries"; this.ToolStripMenuItemCommentaries.ToolTipText = "Enable or Disable Commentaries"; this.ToolStripMenuItemCommentaries.Click += new System.EventHandler(this.ToolStripMenuItemCommentaries_Click); // // ToolStripMenuItemLanguages // - this.ToolStripMenuItemLanguages.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemLanguages.Image"))); + this.ToolStripMenuItemLanguages.Image = global::GoToBible.Windows.Properties.Resources.Languages; this.ToolStripMenuItemLanguages.Name = "ToolStripMenuItemLanguages"; - this.ToolStripMenuItemLanguages.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItemLanguages.Size = new System.Drawing.Size(231, 22); this.ToolStripMenuItemLanguages.Text = "&Languages"; this.ToolStripMenuItemLanguages.ToolTipText = "Enable or Disable Languages"; this.ToolStripMenuItemLanguages.Click += new System.EventHandler(this.ToolStripMenuItemLanguages_Click); // // ToolStripMenuItemTranslations // - this.ToolStripMenuItemTranslations.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemTranslations.Image"))); + this.ToolStripMenuItemTranslations.Image = global::GoToBible.Windows.Properties.Resources.Translations; this.ToolStripMenuItemTranslations.Name = "ToolStripMenuItemTranslations"; - this.ToolStripMenuItemTranslations.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItemTranslations.Size = new System.Drawing.Size(231, 22); this.ToolStripMenuItemTranslations.Text = "&Translations"; this.ToolStripMenuItemTranslations.ToolTipText = "Enable or Disable Translations"; this.ToolStripMenuItemTranslations.Click += new System.EventHandler(this.ToolStripMenuItemTranslations_Click); // // ToolStripMenuItemProviders // - this.ToolStripMenuItemProviders.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemProviders.Image"))); + this.ToolStripMenuItemProviders.Image = global::GoToBible.Windows.Properties.Resources.Provider; this.ToolStripMenuItemProviders.Name = "ToolStripMenuItemProviders"; - this.ToolStripMenuItemProviders.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItemProviders.Size = new System.Drawing.Size(231, 22); this.ToolStripMenuItemProviders.Text = "&Providers"; this.ToolStripMenuItemProviders.ToolTipText = "Enable or Disable Providers"; this.ToolStripMenuItemProviders.Click += new System.EventHandler(this.ToolStripMenuItemProviders_Click); @@ -402,14 +414,14 @@ private void InitializeComponent() // ToolStripSeparatorDebugMode // this.ToolStripSeparatorDebugMode.Name = "ToolStripSeparatorDebugMode"; - this.ToolStripSeparatorDebugMode.Size = new System.Drawing.Size(196, 6); + this.ToolStripSeparatorDebugMode.Size = new System.Drawing.Size(228, 6); // // ToolStripMenuItemDebugMode // this.ToolStripMenuItemDebugMode.CheckOnClick = true; - this.ToolStripMenuItemDebugMode.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemDebugMode.Image"))); + this.ToolStripMenuItemDebugMode.Image = global::GoToBible.Windows.Properties.Resources.Debug; this.ToolStripMenuItemDebugMode.Name = "ToolStripMenuItemDebugMode"; - this.ToolStripMenuItemDebugMode.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItemDebugMode.Size = new System.Drawing.Size(231, 22); this.ToolStripMenuItemDebugMode.Text = "&Debug Mode"; this.ToolStripMenuItemDebugMode.ToolTipText = "Enable or Disable Debug Mode"; this.ToolStripMenuItemDebugMode.Click += new System.EventHandler(this.ToolStripMenuItemDebugMode_Click); @@ -417,9 +429,9 @@ private void InitializeComponent() // ToolStripMenuItemDeveloperMode // this.ToolStripMenuItemDeveloperMode.CheckOnClick = true; - this.ToolStripMenuItemDeveloperMode.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemDeveloperMode.Image"))); + this.ToolStripMenuItemDeveloperMode.Image = global::GoToBible.Windows.Properties.Resources.Developer; this.ToolStripMenuItemDeveloperMode.Name = "ToolStripMenuItemDeveloperMode"; - this.ToolStripMenuItemDeveloperMode.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItemDeveloperMode.Size = new System.Drawing.Size(231, 22); this.ToolStripMenuItemDeveloperMode.Text = "De&veloper Mode"; this.ToolStripMenuItemDeveloperMode.ToolTipText = "Enable or Disable Developer Mode"; this.ToolStripMenuItemDeveloperMode.Click += new System.EventHandler(this.ToolStripMenuItemDeveloperMode_Click); @@ -427,18 +439,26 @@ private void InitializeComponent() // ToolStripMenuItemLegacyBrowser // this.ToolStripMenuItemLegacyBrowser.CheckOnClick = true; - this.ToolStripMenuItemLegacyBrowser.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemLegacyBrowser.Image"))); + this.ToolStripMenuItemLegacyBrowser.Image = global::GoToBible.Windows.Properties.Resources.LegacyBrowser; this.ToolStripMenuItemLegacyBrowser.Name = "ToolStripMenuItemLegacyBrowser"; - this.ToolStripMenuItemLegacyBrowser.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItemLegacyBrowser.Size = new System.Drawing.Size(231, 22); this.ToolStripMenuItemLegacyBrowser.Text = "Le&gacy Browser"; this.ToolStripMenuItemLegacyBrowser.ToolTipText = "Enable or Disable the Legacy Web Browser"; this.ToolStripMenuItemLegacyBrowser.Click += new System.EventHandler(this.ToolStripMenuItemLegacyBrowser_Click); // + // ToolStripMenuItemBlockedTranslations + // + this.ToolStripMenuItemBlockedTranslations.Image = global::GoToBible.Windows.Properties.Resources.BlockedTranslations; + this.ToolStripMenuItemBlockedTranslations.Name = "ToolStripMenuItemBlockedTranslations"; + this.ToolStripMenuItemBlockedTranslations.Size = new System.Drawing.Size(231, 22); + this.ToolStripMenuItemBlockedTranslations.Text = "Load &Blocked Translations List"; + this.ToolStripMenuItemBlockedTranslations.Click += new System.EventHandler(this.ToolStripMenuItemBlockedTranslations_Click); + // // ToolStripMenuItemSettingsDirectory // - this.ToolStripMenuItemSettingsDirectory.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripMenuItemSettingsDirectory.Image"))); + this.ToolStripMenuItemSettingsDirectory.Image = global::GoToBible.Windows.Properties.Resources.Directory; this.ToolStripMenuItemSettingsDirectory.Name = "ToolStripMenuItemSettingsDirectory"; - this.ToolStripMenuItemSettingsDirectory.Size = new System.Drawing.Size(199, 22); + this.ToolStripMenuItemSettingsDirectory.Size = new System.Drawing.Size(231, 22); this.ToolStripMenuItemSettingsDirectory.Text = "Open &Settings Directory"; this.ToolStripMenuItemSettingsDirectory.ToolTipText = "View the settings directory"; this.ToolStripMenuItemSettingsDirectory.Click += new System.EventHandler(this.ToolStripMenuItemSettingsDirectory_Click); @@ -449,7 +469,7 @@ private void InitializeComponent() this.ToolStripNavigate.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolStripButtonNavigateBack, this.ToolStripButtonNavigateForward}); - this.ToolStripNavigate.Location = new System.Drawing.Point(147, 25); + this.ToolStripNavigate.Location = new System.Drawing.Point(116, 25); this.ToolStripNavigate.Name = "ToolStripNavigate"; this.ToolStripNavigate.Size = new System.Drawing.Size(58, 25); this.ToolStripNavigate.TabIndex = 2; @@ -457,7 +477,7 @@ private void InitializeComponent() // ToolStripButtonNavigateBack // this.ToolStripButtonNavigateBack.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.ToolStripButtonNavigateBack.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonNavigateBack.Image"))); + this.ToolStripButtonNavigateBack.Image = global::GoToBible.Windows.Properties.Resources.Prev; this.ToolStripButtonNavigateBack.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonNavigateBack.Name = "ToolStripButtonNavigateBack"; this.ToolStripButtonNavigateBack.Size = new System.Drawing.Size(23, 22); @@ -467,13 +487,71 @@ private void InitializeComponent() // ToolStripButtonNavigateForward // this.ToolStripButtonNavigateForward.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.ToolStripButtonNavigateForward.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonNavigateForward.Image"))); + this.ToolStripButtonNavigateForward.Image = global::GoToBible.Windows.Properties.Resources.Next; this.ToolStripButtonNavigateForward.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonNavigateForward.Name = "ToolStripButtonNavigateForward"; this.ToolStripButtonNavigateForward.Size = new System.Drawing.Size(23, 22); this.ToolStripButtonNavigateForward.Text = "Next Chapter"; this.ToolStripButtonNavigateForward.Click += new System.EventHandler(this.ToolStripButtonNavigateForward_Click); // + // ToolStripPassage + // + this.ToolStripPassage.Dock = System.Windows.Forms.DockStyle.None; + this.ToolStripPassage.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripLabelPassage, + this.ToolStripTextBoxPassage, + this.ToolStripButtonPassageGo}); + this.ToolStripPassage.Location = new System.Drawing.Point(3, 50); + this.ToolStripPassage.Name = "ToolStripPassage"; + this.ToolStripPassage.Size = new System.Drawing.Size(186, 25); + this.ToolStripPassage.TabIndex = 1; + // + // ToolStripLabelPassage + // + this.ToolStripLabelPassage.Name = "ToolStripLabelPassage"; + this.ToolStripLabelPassage.Size = new System.Drawing.Size(49, 22); + this.ToolStripLabelPassage.Text = "Passage"; + // + // ToolStripTextBoxPassage + // + this.ToolStripTextBoxPassage.Name = "ToolStripTextBoxPassage"; + this.ToolStripTextBoxPassage.Size = new System.Drawing.Size(100, 25); + this.ToolStripTextBoxPassage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ToolStripTextBoxPassage_KeyDown); + // + // ToolStripButtonPassageGo + // + this.ToolStripButtonPassageGo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; + this.ToolStripButtonPassageGo.Image = global::GoToBible.Windows.Properties.Resources.Go; + this.ToolStripButtonPassageGo.ImageTransparentColor = System.Drawing.Color.Magenta; + this.ToolStripButtonPassageGo.Name = "ToolStripButtonPassageGo"; + this.ToolStripButtonPassageGo.Size = new System.Drawing.Size(23, 22); + this.ToolStripButtonPassageGo.Text = "Go"; + this.ToolStripButtonPassageGo.Click += new System.EventHandler(this.ToolStripButtonPassageGo_Click); + // + // ToolStripResource + // + this.ToolStripResource.Dock = System.Windows.Forms.DockStyle.None; + this.ToolStripResource.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.ToolStripLabelResource, + this.ToolStripComboBoxResource}); + this.ToolStripResource.Location = new System.Drawing.Point(3, 100); + this.ToolStripResource.Name = "ToolStripResource"; + this.ToolStripResource.Size = new System.Drawing.Size(244, 25); + this.ToolStripResource.TabIndex = 4; + // + // ToolStripLabelResource + // + this.ToolStripLabelResource.Name = "ToolStripLabelResource"; + this.ToolStripLabelResource.Size = new System.Drawing.Size(55, 22); + this.ToolStripLabelResource.Text = "Resource"; + // + // ToolStripComboBoxResource + // + this.ToolStripComboBoxResource.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.ToolStripComboBoxResource.Name = "ToolStripComboBoxResource"; + this.ToolStripComboBoxResource.Size = new System.Drawing.Size(175, 25); + this.ToolStripComboBoxResource.SelectedIndexChanged += new System.EventHandler(this.ToolStripComboBoxResource_SelectedIndexChanged); + // // ToolStripTranslation // this.ToolStripTranslation.Dock = System.Windows.Forms.DockStyle.None; @@ -486,7 +564,7 @@ private void InitializeComponent() this.ToolStripButtonSwap}); this.ToolStripTranslation.Location = new System.Drawing.Point(3, 75); this.ToolStripTranslation.Name = "ToolStripTranslation"; - this.ToolStripTranslation.Size = new System.Drawing.Size(642, 25); + this.ToolStripTranslation.Size = new System.Drawing.Size(775, 25); this.ToolStripTranslation.TabIndex = 0; // // ToolStripLabelPrimaryTranslation @@ -499,14 +577,14 @@ private void InitializeComponent() // this.ToolStripComboBoxPrimaryTranslation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ToolStripComboBoxPrimaryTranslation.Name = "ToolStripComboBoxPrimaryTranslation"; - this.ToolStripComboBoxPrimaryTranslation.Size = new System.Drawing.Size(175, 25); + this.ToolStripComboBoxPrimaryTranslation.Size = new System.Drawing.Size(225, 25); this.ToolStripComboBoxPrimaryTranslation.SelectedIndexChanged += new System.EventHandler(this.ToolStripComboBoxPrimaryTranslation_SelectedIndexChanged); // // ToolStripButtonExport // this.ToolStripButtonExport.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; this.ToolStripButtonExport.Enabled = false; - this.ToolStripButtonExport.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonExport.Image"))); + this.ToolStripButtonExport.Image = global::GoToBible.Windows.Properties.Resources.Export; this.ToolStripButtonExport.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonExport.Name = "ToolStripButtonExport"; this.ToolStripButtonExport.Size = new System.Drawing.Size(23, 22); @@ -524,77 +602,19 @@ private void InitializeComponent() // this.ToolStripComboBoxSecondaryTranslation.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ToolStripComboBoxSecondaryTranslation.Name = "ToolStripComboBoxSecondaryTranslation"; - this.ToolStripComboBoxSecondaryTranslation.Size = new System.Drawing.Size(175, 25); + this.ToolStripComboBoxSecondaryTranslation.Size = new System.Drawing.Size(225, 25); this.ToolStripComboBoxSecondaryTranslation.SelectedIndexChanged += new System.EventHandler(this.ToolStripComboBoxSecondaryTranslation_SelectedIndexChanged); // // ToolStripButtonSwap // this.ToolStripButtonSwap.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.ToolStripButtonSwap.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonSwap.Image"))); + this.ToolStripButtonSwap.Image = global::GoToBible.Windows.Properties.Resources.Swap; this.ToolStripButtonSwap.ImageTransparentColor = System.Drawing.Color.Magenta; this.ToolStripButtonSwap.Name = "ToolStripButtonSwap"; this.ToolStripButtonSwap.Size = new System.Drawing.Size(23, 22); this.ToolStripButtonSwap.Text = "Swap Translations"; this.ToolStripButtonSwap.Click += new System.EventHandler(this.ToolStripButtonSwap_Click); // - // ToolStripPassage - // - this.ToolStripPassage.Dock = System.Windows.Forms.DockStyle.None; - this.ToolStripPassage.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.ToolStripLabelPassage, - this.ToolStripTextBoxPassage, - this.ToolStripButtonPassageGo}); - this.ToolStripPassage.Location = new System.Drawing.Point(3, 50); - this.ToolStripPassage.Name = "ToolStripPassage"; - this.ToolStripPassage.Size = new System.Drawing.Size(186, 25); - this.ToolStripPassage.TabIndex = 1; - // - // ToolStripLabelPassage - // - this.ToolStripLabelPassage.Name = "ToolStripLabelPassage"; - this.ToolStripLabelPassage.Size = new System.Drawing.Size(49, 22); - this.ToolStripLabelPassage.Text = "Passage"; - // - // ToolStripTextBoxPassage - // - this.ToolStripTextBoxPassage.Name = "ToolStripTextBoxPassage"; - this.ToolStripTextBoxPassage.Size = new System.Drawing.Size(100, 25); - this.ToolStripTextBoxPassage.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ToolStripTextBoxPassage_KeyDown); - // - // ToolStripButtonPassageGo - // - this.ToolStripButtonPassageGo.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.ToolStripButtonPassageGo.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonPassageGo.Image"))); - this.ToolStripButtonPassageGo.ImageTransparentColor = System.Drawing.Color.Magenta; - this.ToolStripButtonPassageGo.Name = "ToolStripButtonPassageGo"; - this.ToolStripButtonPassageGo.Size = new System.Drawing.Size(23, 22); - this.ToolStripButtonPassageGo.Text = "Go"; - this.ToolStripButtonPassageGo.Click += new System.EventHandler(this.ToolStripButtonPassageGo_Click); - // - // ToolStripResource - // - this.ToolStripResource.Dock = System.Windows.Forms.DockStyle.None; - this.ToolStripResource.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.ToolStripLabelResource, - this.ToolStripComboBoxResource}); - this.ToolStripResource.Location = new System.Drawing.Point(189, 50); - this.ToolStripResource.Name = "ToolStripResource"; - this.ToolStripResource.Size = new System.Drawing.Size(244, 25); - this.ToolStripResource.TabIndex = 4; - // - // ToolStripLabelResource - // - this.ToolStripLabelResource.Name = "ToolStripLabelResource"; - this.ToolStripLabelResource.Size = new System.Drawing.Size(55, 22); - this.ToolStripLabelResource.Text = "Resource"; - // - // ToolStripComboBoxResource - // - this.ToolStripComboBoxResource.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.ToolStripComboBoxResource.Name = "ToolStripComboBoxResource"; - this.ToolStripComboBoxResource.Size = new System.Drawing.Size(175, 25); - this.ToolStripComboBoxResource.SelectedIndexChanged += new System.EventHandler(this.ToolStripComboBoxResource_SelectedIndexChanged); - // // FontDialogMain // this.FontDialogMain.AllowScriptChange = false; @@ -618,16 +638,6 @@ private void InitializeComponent() // this.ColourDialogHighlight.AnyColor = true; // - // ToolStripButtonApparatusGenerator - // - this.ToolStripButtonApparatusGenerator.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.ToolStripButtonApparatusGenerator.Image = ((System.Drawing.Image)(resources.GetObject("ToolStripButtonApparatusGenerator.Image"))); - this.ToolStripButtonApparatusGenerator.ImageTransparentColor = System.Drawing.Color.Magenta; - this.ToolStripButtonApparatusGenerator.Name = "ToolStripButtonApparatusGenerator"; - this.ToolStripButtonApparatusGenerator.Size = new System.Drawing.Size(23, 22); - this.ToolStripButtonApparatusGenerator.Text = "&Apparatus Generator"; - this.ToolStripButtonApparatusGenerator.Click += new System.EventHandler(this.ToolStripButtonApparatusGenerator_Click); - // // FormMain // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); @@ -654,12 +664,12 @@ private void InitializeComponent() this.ToolStripSettings.PerformLayout(); this.ToolStripNavigate.ResumeLayout(false); this.ToolStripNavigate.PerformLayout(); - this.ToolStripTranslation.ResumeLayout(false); - this.ToolStripTranslation.PerformLayout(); this.ToolStripPassage.ResumeLayout(false); this.ToolStripPassage.PerformLayout(); this.ToolStripResource.ResumeLayout(false); this.ToolStripResource.PerformLayout(); + this.ToolStripTranslation.ResumeLayout(false); + this.ToolStripTranslation.PerformLayout(); this.ResumeLayout(false); } @@ -723,6 +733,7 @@ private void InitializeComponent() private System.Windows.Forms.ToolStrip ToolStripExtras; private System.Windows.Forms.ToolStripButton ToolStripButtonGitHub; private System.Windows.Forms.ToolStripButton ToolStripButtonApparatusGenerator; + private System.Windows.Forms.ToolStripMenuItem ToolStripMenuItemBlockedTranslations; } } diff --git a/GoToBible.Windows/FormMain.cs b/GoToBible.Windows/FormMain.cs index 0b70fe5..9be09b5 100644 --- a/GoToBible.Windows/FormMain.cs +++ b/GoToBible.Windows/FormMain.cs @@ -703,6 +703,12 @@ private async Task LoadTranslationComboBoxes(IList translationProvide } else { + // Clean up any names we are displaying + if (ApiProvider.NameSubstitutions.TryGetValue(translation.Name, out string? translationName)) + { + translation.Name = translationName; + } + unsortedTranslations.Add(translation); } } @@ -745,7 +751,7 @@ private async Task LoadTranslationComboBoxes(IList translationProvide { Bold = false, Selectable = true, - Text = commentary.UniqueName(this.translations), + Text = commentary.UniqueName(this.commentaries), CanBeExported = commentary.CanBeExported, Code = commentary.Code, Language = commentary.Language, @@ -760,6 +766,7 @@ private async Task LoadTranslationComboBoxes(IList translationProvide resourceIndex++; } + List unblockedTranslations = this.translations.Where(t => !blockedTranslations.Contains(t.UniqueKey())).ToList(); foreach (Translation translation in this.translations) { // If this translation is not blocked @@ -788,12 +795,13 @@ private async Task LoadTranslationComboBoxes(IList translationProvide { Bold = false, Selectable = true, - Text = translation.UniqueName(this.translations), + Text = translation.UniqueName(unblockedTranslations), CanBeExported = translation.CanBeExported, Code = translation.Code, Language = translation.Language, Provider = translation.Provider, }; + this.ToolStripComboBoxPrimaryTranslation.Items.Add(comboBoxItem); if (translation.Code == primaryTranslation) { @@ -1469,6 +1477,29 @@ private async void ToolStripMenuItemBiblia_Click(object sender, EventArgs e) } } + /// + /// Handles the Click event of the Load Blocked Translations List ToolStripMenuItem. + /// + /// The source of the event. + /// The instance containing the event data. + private async void ToolStripMenuItemBlockedTranslations_Click(object sender, EventArgs e) + { + // Generate the new list of blocked translations + string[] blockedTranslations = + (Settings.Default.BlockedTranslations?.Cast() ?? new List()) + .Concat(ApiProvider.BlockedTranslations).Distinct().ToArray(); + + // Save the blocked translations + Settings.Default.BlockedTranslations?.Clear(); + Settings.Default.BlockedTranslations ??= new StringCollection(); + + Settings.Default.BlockedTranslations.AddRange(blockedTranslations); + Settings.Default.Save(); + + // Reload the providers and translations + await this.LoadTranslationComboBoxes(this.renderer.Providers.ToList(), string.Empty, string.Empty, string.Empty); + } + /// /// Handles the Click event of the Commentaries ToolStripMenuItem. /// @@ -1823,6 +1854,7 @@ private async Task UpdateDeveloperMode() this.ToolStripMenuItemProviders.Visible = this.IsDeveloper; this.ToolStripMenuItemDebugMode.Visible = this.IsDeveloper; this.ToolStripMenuItemLegacyBrowser.Visible = this.IsDeveloper; + this.ToolStripMenuItemBlockedTranslations.Visible = this.IsDeveloper; this.ToolStripMenuItemSettingsDirectory.Visible = this.IsDeveloper; // Reload the providers and translations diff --git a/GoToBible.Windows/FormMain.resx b/GoToBible.Windows/FormMain.resx index bbff9ba..c8a5312 100644 --- a/GoToBible.Windows/FormMain.resx +++ b/GoToBible.Windows/FormMain.resx @@ -63,458 +63,18 @@ 17, 17 - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZ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myYJAPaZu+3BOL/Ff3b/ue3b/ifWLUilGH+Ui+wBhAGsWEGoIvBNGfX - z/80b/35/10LTv93j2v8z/DoVRbcFpAGZBpm+K0nuf/7Fu0AueL/kTO3/tsG5vyOLZr239Qz+T/Dms0B - cNvQDYCxT19tBmr98//F22//j1969b+qd/1fkGYgtmFAV4xMg1zg4aP//8vPA/9fvf8O1twz7zBcMyhc - wGGgpSPy39hUHKxx16FwMA3CIM0nTs8Can6LVTPYAJjtyPjeo5L/B/eU/N92ZM3/05euAjW/xKoZqwH3 - nxT/Xz6z+P/PT6v/Hzq28L9rROb/mv714ABD1ww2AF1gyfRCsGYQfne3+f/cuRX/xYT4sGoGYQyBnrrE - /311Kf/LMoL/B3lY/tfTkMepGYSxCpKCsQqSgrEKkoKxCpKCsQoSj/8zAACXlsTbzwuKggAAAABJRU5E - rkJggg== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vwAADr8BOAVTJAAAAl1JREFUOE+lkttLFGEchre6qf+km4yooG6iiwj0wrtKiqRMqSQik1Qyk8B2FU0j - D7nG6qath0SxssRTpVKIx1oqV91113XXPXhI3NzzztM4I+nqTdQPXpiZb97n/d5vRlH40s12Kevd5D53 - kfHMyY0yB0nF8ySo7MQ/sHE628aJjDlJx29bkQC1/Uiq+ShQ1RuhojPM47chCtuC5DUHyGnwk1nrJU2z - Rqp6jZRyj6RDKaMyYKvydC7u1ri4+VROPqu0E5czx8mNxK06mDSIou71IH87ggDhiEAgJOALRDgaewVF - devAxrI8C6vwaRLUPdA2BGa3/LxU20VeWQvpD7V4RfO7vq8yoKrpvfzGxvRPwKN2yG6EVA1UiucREaPD - YTE5KOD1R/B4w5uA7RWKRfOdF5CshoSiXyQozYTC8ETb+WcHPz1bANsr6MTbS+UCZ1SL3FKOMqKux1mk - wl5WwtKPKcm8uBLcWSGw5mZushHLcD6mMQ2JuX0MV+qw3stkNiud6e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jBvYiXpQKMUirMblbj559BrwsOYWZ - ukt4W3HBcfqoUothOhxNAcGoUIpwQuuijaXyHbgvVaKBptG0V4vX9dmopeWMSeZ44pgqAg1hgdB7bjFI - mSQPZzx5OC3wwkC+DsUCX0flnzI3aFRT0DGj7XIO1gB2GQkOkthusESL0cC8194hS4hk3bwJcE4fXnCc - DppYUyqjshj5eytFoU2mRF9cxCdT6L+8XQUJhi6n3XXYu2M17+8uNwTbvtqqVqu9KVisv+f5ctdIl0wl - AAAAAElFTkSuQmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL - DgAACw4BQL7hQQAAAc9JREFUOE+Fj9srBFEcx4/8IV68uz568+DFJbmlRItQu+zyIA8ebBQRiyxpl1gh - tyVLrFsurZIadyKh2FzWpbSWHenrnMNsM4z86jPT78z3++kMAUD21towN1IOR58B41062C1aTNn0WJ2s - pZ/BM39BXI4qeM4s+PC7fnF33gNbSwHNqZcZZHlIC3E/HeK9FeLTCN4eBvB23QbfcSluF2PQURlLc+pl - Blmw5eBViIP3sgE+Ty+eD0vwOBOCm8EgnFiD0WqIoDn1MoPMdWfDv51ABY1fgiO9QmDSR9OceplBZixZ - VJCEF0lwXIZHZ2hA0FgcSXPqZQaZ7szE+w4VXDV938CgENRrw2lOvcwgE+YMiLuJ8F5Jv6AU1BWF0Zx6 - mUHsLalUEA8fFby/bMPvmcXraSu8e1V4EIxYm2ynOcWwojSEDJtSgKMEiHfNXHCxP0BPCXLTorjAaqrg - O0MQhO9WwEHIWEchdiaScXNQwwXs48ZUOZ62jDh31fPd7XbzslRUCNhjadQIW3M+NlfsWJ/v54Hqijwc - bDjk4b8FMn5dk73ZDZxOp5pAUeanGo2GB3Q6HVsDV5dEbKSdw/YfyCewm81mXvg58uJ/SCM7A/kEzhL0 - wQrXwm0AAAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wAAADsABataJCQAAAfRJREFUOE9j+P//P0UYqyAMn7108/2aLXv+gdjTFyzf0dQ1YV9SRu7phWv2ScHU - YGhCxjsOnHz58sOXfxlFNe+fvnn19dDpi98WLV/7rbC06hPMEKwaYRhowO9Zq7b9dw5O/rtp57avnVPm - fAoMjTrjHZP3d8qsxb9BarBqhOGZi9dPjs+tPQliL1y5BWTQfxllrUoQH2QIiIYr9s3fYVi/8OX/2vnP - gdz/DBUzH/yPqNz3HyQO4m/cefC/jXckWA4Zwxn18x/+f/bu9/+KWQ+B3P8M6d1X/28+8vR/WPn+/30i - +oap+dVgFwDZIFMwDahb8Oz/609//x+5+u1/dvdFsGGHb/wFueD/u8Xz/v84dfj/l7UL/89TMAYqx2IA - yKmFk+/8v/TwLxjvu/L3v0fmWrAXXk7u+3830gOMcRoAwiDFaV1X/285+/9/cMl2uP+fNFT/P+fjDMZ4 - DQDh+Obz/1ce+/ffu3AfkAsRu5+T/n+/rR0Y9wnrwcVBGM6A4YjaU//nAfU6Z2wDciFiNyKC/q/VswBj - ggYElh35P2XH//82SeuBXIjYZVd7sNNBmKABPgW7/3dv/v/fInYVkAsRO2ek879fWPcvCAMNAOcNGIYz - YNi/cOtHy4SN/40iloJTGggD496tQVDjLwjjTAfk4f8MAMt0x8s71IZHAAAAAElFTkSuQmCC - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wAAADsABataJCQAAAmFJREFUOE+lke1L01EUx/0felMSifREVtLDCykwQijf9EIsRpFihWClLaHsAWtU - ZoMKMzEyylLEZNacJgizYWxtPq602RpLmdPF5oaz6dzGnu63c+8vwsAXhS8O995zz/nc7/neFACrihWT - /xN/Ha61jSbvd39L3uu0jineWLKW3916a8mh/MQd9Xiy+PkQpZYByl6N9FKAAAjHEpieW2LqoRlW02Ob - u9L6ObuqY1ynt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y2ADjmQysBA2wn6LFA3IysmaYAfb7 - GViSrqvzQpViB46TxJeANFduT/ufNC/qf0hBwP/UxQlgA6BK8AO7qQL/q3ek/k9eGA/WHJjlFwLSTLQB - NpP4/5dtSfkf3RbyPzjP3xkkFpLlqwIyoL6egQmsCB8wbeEBGxBS4UGcjejAs1vTM2yCw/+wJm/yDGCw - Z2Dx7lNVsp+g/Na9xP4uVJR0YF/PwBJar8UG5Q5KwMAAAPOehMbn0TpNAAAAAElFTkSuQmCC - - + + 616, 17 + 767, 17 @@ -533,6 +93,7 @@ 175, 56 + AAABAAUAEBAAAAEAIABoBAAAVgAAABgYAAABACAAiAkAAL4EAAAgIAAAAQAgAKgQAABGDgAAMDAAAAEA diff --git a/GoToBible.Windows/Properties/Resources.Designer.cs b/GoToBible.Windows/Properties/Resources.Designer.cs index 1578458..cb1d729 100644 --- a/GoToBible.Windows/Properties/Resources.Designer.cs +++ b/GoToBible.Windows/Properties/Resources.Designer.cs @@ -130,6 +130,16 @@ internal static System.Drawing.Icon BibliaIcon { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap BlockedTranslations { + get { + object obj = ResourceManager.GetObject("BlockedTranslations", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized string similar to Sorry, you cannot show this translation interlinear with an original language. /// @@ -139,6 +149,16 @@ internal static string CannotShowInterlinear { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Color { + get { + object obj = ResourceManager.GetObject("Color", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// @@ -339,6 +359,26 @@ internal static System.Drawing.Icon LanguagesIcon { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap LegacyBrowser { + get { + object obj = ResourceManager.GetObject("LegacyBrowser", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap NewWindow { + get { + object obj = ResourceManager.GetObject("NewWindow", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/GoToBible.Windows/Properties/Resources.resx b/GoToBible.Windows/Properties/Resources.resx index 04614b5..407f924 100644 --- a/GoToBible.Windows/Properties/Resources.resx +++ b/GoToBible.Windows/Properties/Resources.resx @@ -237,7 +237,7 @@ Would you like to download and install it now? This will affect future interlinear comparisons, however you can customise this in Settings. - ..\resources\webbrowser.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\webbrowser.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\Developer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -254,4 +254,16 @@ This will affect future interlinear comparisons, however you can customise this ..\Resources\ApparatusGenerator.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\Color.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\NewWindow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\LegacyBrowser.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\BlockedTranslations.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/GoToBible.Windows/Resources/BlockedTranslations.png b/GoToBible.Windows/Resources/BlockedTranslations.png new file mode 100644 index 0000000..d32bbc1 Binary files /dev/null and b/GoToBible.Windows/Resources/BlockedTranslations.png differ