private void HandleStringsLocalized() { L10N.LocalizeComboList(m_toolStripComboBoxFilter, "DialogBoxes.QuotationMarksDlg.FilterOptions"); m_versesWithMissingExpectedQuotesFilterItem = m_toolStripComboBoxFilter.Items[1]; m_allQuotesFilterItem = m_toolStripComboBoxFilter.Items[2]; if (m_navigatorViewModel?.Mode != BlocksToDisplay.MissingExpectedQuote && ((m_project.QuoteSystemStatus & QuoteSystemStatus.NotParseReady) > 0 || m_project.QuoteSystemStatus == QuoteSystemStatus.Guessed)) { m_toolStripComboBoxFilter.Items.RemoveAt(2); m_toolStripComboBoxFilter.Items.RemoveAt(1); } SetPromptText(); SetupQuoteMarksComboBoxes(CurrentQuoteSystem); m_xOfYFmt = m_labelXofY.Text; if (m_labelXofY.Visible) { UpdateRelativeNavigationPositionDisplay(); } m_testResultsFmt = m_testResults.Text; if (m_project.ProjectState != ProjectState.NeedsQuoteSystemConfirmation) { ShowTestResults(PercentageOfExpectedQuotesFound(m_project.Books), false); } Text = string.Format(Text, m_project.Name); }
private void HandleStringsLocalized() { L10N.LocalizeComboList(m_toolStripComboBoxFilter, "DialogBoxes.QuotationMarksDlg.FilterOptions"); m_versesWithMissingExpectedQuotesFilterItem = m_toolStripComboBoxFilter.Items[1]; m_allQuotesFilterItem = m_toolStripComboBoxFilter.Items[2]; if (m_navigatorViewModel.Mode != BlocksToDisplay.MissingExpectedQuote && ((m_project.QuoteSystemStatus & QuoteSystemStatus.NotParseReady) > 0 || m_project.QuoteSystemStatus == QuoteSystemStatus.Guessed)) { m_toolStripComboBoxFilter.Items.RemoveAt(2); m_toolStripComboBoxFilter.Items.RemoveAt(1); } SetPromptText(); SetupQuoteMarksComboBoxes(CurrentQuoteSystem); m_xOfYFmt = m_labelXofY.Text; Text = string.Format(Text, m_project.Name); }