- fixe menu item control name for proper localization;

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@91 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Pavel Petroshenko 2008-05-23 10:37:49 +00:00
parent a61f1a7583
commit a15e17af04
2 changed files with 3 additions and 14 deletions

View File

@ -30,7 +30,6 @@ namespace webImTray {
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
this.refreshToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.optionsMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.hideWindowToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.notifyMenu.SuspendLayout();
this.menuStrip1.SuspendLayout();
this.SuspendLayout();
@ -89,8 +88,7 @@ namespace webImTray {
//
this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.refreshToolStripMenuItem,
this.optionsMenuItem,
this.hideWindowToolStripMenuItem});
this.optionsMenuItem});
this.menuStrip1.Location = new System.Drawing.Point(0, 0);
this.menuStrip1.Name = "menuStrip1";
this.menuStrip1.Size = new System.Drawing.Size(864, 24);
@ -111,13 +109,6 @@ namespace webImTray {
this.optionsMenuItem.Text = "Options";
this.optionsMenuItem.Click += new System.EventHandler(this.optionsToolStripMenuItem1_Click);
//
// hideWindowToolStripMenuItem
//
this.hideWindowToolStripMenuItem.Name = "hideWindowToolStripMenuItem";
this.hideWindowToolStripMenuItem.Size = new System.Drawing.Size(79, 20);
this.hideWindowToolStripMenuItem.Text = "Hide window";
this.hideWindowToolStripMenuItem.Click += new System.EventHandler(this.hideWindowToolStripMenuItem_Click);
//
// MainWindow
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
@ -150,7 +141,6 @@ namespace webImTray {
private System.Windows.Forms.MenuStrip menuStrip1;
private System.Windows.Forms.ToolStripMenuItem refreshToolStripMenuItem;
private System.Windows.Forms.ToolStripMenuItem optionsMenuItem;
private System.Windows.Forms.ToolStripMenuItem hideWindowToolStripMenuItem;
}
}

View File

@ -48,9 +48,8 @@ namespace webImTray {
}
private void updateLocalizedControls() {
// Update localized controls
hideWindowToolStripMenuItem.Text = Options.resourceManager.GetString("hideWindow");
optionsToolStripMenuItem.Text = Options.resourceManager.GetString("optionsMenuItem");
// Update localized controls
optionsMenuItem.Text = Options.resourceManager.GetString("optionsMenuItem");
refreshToolStripMenuItem.Text = Options.resourceManager.GetString("refreshMenuItem");
optionsToolStripMenuItem.Text = Options.resourceManager.GetString("trayOptions");
exitToolStripMenuItem.Text = Options.resourceManager.GetString("trayExit");