Add achievement page translations

This commit is contained in:
2023-05-07 16:43:47 +08:00
parent 8baa61b72c
commit 2394ec7f5d
6 changed files with 737 additions and 56 deletions

View File

@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PageAchievement));
this.ListAchievements = new System.Windows.Forms.ListBox();
this.GrpAchievements = new System.Windows.Forms.GroupBox();
this.TxtAchievementFilter = new System.Windows.Forms.TextBox();
@@ -45,94 +46,60 @@
//
// ListAchievements
//
this.ListAchievements.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
resources.ApplyResources(this.ListAchievements, "ListAchievements");
this.ListAchievements.FormattingEnabled = true;
this.ListAchievements.ItemHeight = 17;
this.ListAchievements.Location = new System.Drawing.Point(6, 51);
this.ListAchievements.Name = "ListAchievements";
this.ListAchievements.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
this.ListAchievements.Size = new System.Drawing.Size(628, 106);
this.ListAchievements.TabIndex = 0;
//
// GrpAchievements
//
this.GrpAchievements.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
resources.ApplyResources(this.GrpAchievements, "GrpAchievements");
this.GrpAchievements.Controls.Add(this.TxtAchievementFilter);
this.GrpAchievements.Controls.Add(this.LnkRevokeAll);
this.GrpAchievements.Controls.Add(this.ListAchievements);
this.GrpAchievements.Controls.Add(this.LnkGrantAll);
this.GrpAchievements.Location = new System.Drawing.Point(3, 3);
this.GrpAchievements.Name = "GrpAchievements";
this.GrpAchievements.Size = new System.Drawing.Size(640, 167);
this.GrpAchievements.TabIndex = 1;
this.GrpAchievements.TabStop = false;
this.GrpAchievements.Text = "成就列表GC v1.4.7 起)";
//
// TxtAchievementFilter
//
this.TxtAchievementFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.TxtAchievementFilter.Location = new System.Drawing.Point(6, 22);
resources.ApplyResources(this.TxtAchievementFilter, "TxtAchievementFilter");
this.TxtAchievementFilter.Name = "TxtAchievementFilter";
this.TxtAchievementFilter.Size = new System.Drawing.Size(628, 23);
this.TxtAchievementFilter.TabIndex = 8;
this.TxtAchievementFilter.TextChanged += new System.EventHandler(this.TxtAchievementFilter_TextChanged);
//
// LnkRevokeAll
//
this.LnkRevokeAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.LnkRevokeAll.AutoSize = true;
this.LnkRevokeAll.Location = new System.Drawing.Point(578, 0);
resources.ApplyResources(this.LnkRevokeAll, "LnkRevokeAll");
this.LnkRevokeAll.Name = "LnkRevokeAll";
this.LnkRevokeAll.Size = new System.Drawing.Size(56, 17);
this.LnkRevokeAll.TabIndex = 7;
this.LnkRevokeAll.TabStop = true;
this.LnkRevokeAll.Text = "全部撤销";
this.LnkRevokeAll.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkRevokeAll_LinkClicked);
//
// LnkGrantAll
//
this.LnkGrantAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.LnkGrantAll.AutoSize = true;
this.LnkGrantAll.Location = new System.Drawing.Point(516, 0);
resources.ApplyResources(this.LnkGrantAll, "LnkGrantAll");
this.LnkGrantAll.Name = "LnkGrantAll";
this.LnkGrantAll.Size = new System.Drawing.Size(56, 17);
this.LnkGrantAll.TabIndex = 6;
this.LnkGrantAll.TabStop = true;
this.LnkGrantAll.Text = "全部达成";
this.LnkGrantAll.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkGrantAll_LinkClicked);
//
// GrpAchievementCommands
//
this.GrpAchievementCommands.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
resources.ApplyResources(this.GrpAchievementCommands, "GrpAchievementCommands");
this.GrpAchievementCommands.Controls.Add(this.NUDProgress);
this.GrpAchievementCommands.Controls.Add(this.BtnProgress);
this.GrpAchievementCommands.Controls.Add(this.BtnRevoke);
this.GrpAchievementCommands.Controls.Add(this.BtnGrant);
this.GrpAchievementCommands.Location = new System.Drawing.Point(3, 176);
this.GrpAchievementCommands.Name = "GrpAchievementCommands";
this.GrpAchievementCommands.Size = new System.Drawing.Size(640, 60);
this.GrpAchievementCommands.TabIndex = 2;
this.GrpAchievementCommands.TabStop = false;
this.GrpAchievementCommands.Text = "成就控制(在列表中选择目标项)";
//
// NUDProgress
//
this.NUDProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.NUDProgress.Location = new System.Drawing.Point(579, 25);
resources.ApplyResources(this.NUDProgress, "NUDProgress");
this.NUDProgress.Maximum = new decimal(new int[] {
2147483647,
0,
0,
0});
this.NUDProgress.Name = "NUDProgress";
this.NUDProgress.Size = new System.Drawing.Size(55, 23);
this.NUDProgress.TabIndex = 5;
this.NUDProgress.Value = new decimal(new int[] {
10,
0,
@@ -141,38 +108,28 @@
//
// BtnProgress
//
this.BtnProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.BtnProgress.Location = new System.Drawing.Point(473, 25);
resources.ApplyResources(this.BtnProgress, "BtnProgress");
this.BtnProgress.Name = "BtnProgress";
this.BtnProgress.Size = new System.Drawing.Size(100, 23);
this.BtnProgress.TabIndex = 4;
this.BtnProgress.Text = "修改进度";
this.BtnProgress.UseVisualStyleBackColor = true;
this.BtnProgress.Click += new System.EventHandler(this.BtnProgress_Click);
//
// BtnRevoke
//
this.BtnRevoke.Location = new System.Drawing.Point(112, 25);
resources.ApplyResources(this.BtnRevoke, "BtnRevoke");
this.BtnRevoke.Name = "BtnRevoke";
this.BtnRevoke.Size = new System.Drawing.Size(100, 23);
this.BtnRevoke.TabIndex = 1;
this.BtnRevoke.Text = "撤销";
this.BtnRevoke.UseVisualStyleBackColor = true;
this.BtnRevoke.Click += new System.EventHandler(this.BtnRevoke_Click);
//
// BtnGrant
//
this.BtnGrant.Location = new System.Drawing.Point(6, 25);
resources.ApplyResources(this.BtnGrant, "BtnGrant");
this.BtnGrant.Name = "BtnGrant";
this.BtnGrant.Size = new System.Drawing.Size(100, 23);
this.BtnGrant.TabIndex = 0;
this.BtnGrant.Text = "达成";
this.BtnGrant.UseVisualStyleBackColor = true;
this.BtnGrant.Click += new System.EventHandler(this.BtnGrant_Click);
//
// PageAchievement
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.GrpAchievementCommands);
this.Controls.Add(this.GrpAchievements);