/// <summary> /// 加载窗体语言 /// </summary> private void LoadLanguage(Language language) { Text = CultureInfo.InstalledUICulture.Name.ToLower().Contains("zh-") ? "选项" : "Options"; if (!Config.LanguageFileName.Contains("Simplified Chinese.xml")) { object model = language.OptionPage; _languageLoader.Load(model, typeof(SystemTestPanel), this); } }
/// <summary> /// 加载窗体语言 /// </summary> private void LoadLanguage(Language language) { Text = Config.IsChineseLanguage ? "选项" : "Settings"; if (!Config.LanguageFileName.Contains("Simplified Chinese.xml")) { object model = language.OptionPage; _languageLoader.Load(model, typeof(OptionForm), this); } }
/// <summary> /// 加载窗体语言 /// </summary> private void LoadLanguage(Language language) { Text = Config.IsChineseLanguage ? "选项" : "Settings"; if (!Config.LanguageFileName.Contains("Simplified Chinese.xml")) { object model = language.OptionPage; _languageLoader.Load(model, typeof(GeneralPanel), this); this.CategoryPath = Config.LocalLanguage.OptionPage.GeneralPanelCategoryPath; this.DisplayName = Config.LocalLanguage.OptionPage.GeneralPanelDisplayName; } }
/// <summary> /// 加载窗体语言 /// </summary> private void LoadLanguage() { Language language = Config.LocalLanguage; //if (System.Globalization.CultureInfo.InstalledUICulture.Name.ToLower().Contains("zh-")) Text = Config.IsChineseLanguage ? "代理公布器" : "Proxy Window"; if (!Config.LanguageFileName.Contains("Simplified Chinese.xml")) { object model = language.ProxyPage; _languageLoader.Load(model, typeof(ProxyForm), this); } }
/// <summary> /// 加载窗体语言 /// </summary> private void LoadLanguage(Language language) { Text = CultureInfo.InstalledUICulture.Name.ToLower().Contains("zh-") ? "选项" : "Options"; //lblForLPHVersion.Text = ProductVersion; if (!Config.LanguageFileName.Contains("Simplified Chinese.xml")) { object model = language.OptionPage; _languageLoader.Load(model, typeof(UserAgentPanel), this); } }
private void LoadLanguage() { Language language = Config.LocalLanguage; //if (System.Globalization.CultureInfo.InstalledUICulture.Name.ToLower().Contains("zh-")) if (!Config.LanguageFileName.Contains("Simplified Chinese.xml")) { object model = language.IeBrowserPage; languageLoader.Load(model, typeof(IEBrowserForm), this); } }
/// <summary> /// 加载窗体语言 /// </summary> private void LoadLanguage(Language language) { Text = Config.IsChineseLanguage ? "选项" : "Options"; //lblForLPHVersion.Text = ProductVersion; if (!Config.LanguageFileName.Contains("Simplified Chinese.xml")) { object model = language.OptionPage; _languageLoader.Load(model, typeof(TestPanel), this); this.CategoryPath = Config.LocalLanguage.OptionPage.TestPanelCategoryPath; this.DisplayName = Config.LocalLanguage.OptionPage.TestPanelDisplayName; } }
/// <summary> /// 加载窗体语言 /// </summary> public void LoadLanguage() { Language language = Config.LocalLanguage; if (!Config.LanguageFileName.Contains("Simplified Chinese.xml")) { object model = language.MainPage; _languageLoader.Load(model, typeof(MainForm), this); } Text = Config.IsChineseLanguage ? "龙门代理公布器" : "Loamen Proxy Hero"; Text = Text + @" " + Application.ProductVersion; #if DEBUG Text += @" RC版" + @"(到期时间:" + AboutBox.PublishDate.AddMonths(1).ToShortDateString() + @")"; #endif notifyIconMain.Text = Text; }
/// <summary> /// 加载窗体语言 /// </summary> private void LoadLanguage() { Language language = Config.LocalLanguage; //if (System.Globalization.CultureInfo.InstalledUICulture.Name.ToLower().Contains("zh-")) if (Config.IsChineseLanguage) { Text = "插件管理"; } else { Text = "Plugin Manage"; } object model = language.PluginManagePage; languageLoader.Load(model, typeof(PluginManageForm), this); }
private void LoadLanguage() { Language language = Config.LocalLanguage; //if (System.Globalization.CultureInfo.InstalledUICulture.Name.ToLower().Contains("zh-")) if (Config.IsChineseLanguage) { Text = "输出"; } else { Text = "Output"; } if (!Config.LanguageFileName.Contains("Simplified Chinese.xml")) { object model = language.InformationPage; languageLoader.Load(model, typeof(OutputForm), this); } }