private void _howToDistribute_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     using (var dlg = new HowToDistributeDialog(LocalizationManager.EmailForSubmissions,
                                                _callingManager.GetPathForLanguage(_viewModel.TgtLangId, true)))
     {
         dlg.ShowDialog();
     }
 }
Exemple #2
0
        /// ------------------------------------------------------------------------------------
        /// <summary>
        /// Setup for each test.
        /// </summary>
        /// ------------------------------------------------------------------------------------
        protected void TestSetup(TranslationMemory kind, string installedTranslationDir)
        {
            var dir = Path.GetDirectoryName(new Uri(Assembly.GetExecutingAssembly().CodeBase).LocalPath);

            m_manager = LocalizationManager.Create(kind, "en", "Test", "Test", "1.0",
                                                   Path.Combine(dir, installedTranslationDir),
                                                   "", null, "")
                        as ILocalizationManagerInternal <T>;
            m_translationPath = m_manager.GetPathForLanguage("en", true);
            m_extender        = new L10NSharpExtender {
                LocalizationManagerId = "Test"
            };
        }