mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-08-02 16:59:14 +08:00
Add Restore Custom Command Button
i18n Update
This commit is contained in:
parent
563cee5c4c
commit
037d2c4a5a
59
Source/GrasscutterTools/Forms/FormMain.Designer.cs
generated
59
Source/GrasscutterTools/Forms/FormMain.Designer.cs
generated
@ -52,6 +52,7 @@ namespace GrasscutterTools.Forms
|
||||
this.BtnLoadCustomCommands = new System.Windows.Forms.Button();
|
||||
this.LblCustomName = new System.Windows.Forms.Label();
|
||||
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
||||
this.LnkResetCustomCommands = new System.Windows.Forms.LinkLabel();
|
||||
this.FLPCustomCommands = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.BtnRemoveCustomCommand = new System.Windows.Forms.Button();
|
||||
this.BtnSaveCustomCommand = new System.Windows.Forms.Button();
|
||||
@ -316,12 +317,12 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPHome
|
||||
//
|
||||
resources.ApplyResources(this.TPHome, "TPHome");
|
||||
this.TPHome.Controls.Add(this.LblAbout);
|
||||
this.TPHome.Controls.Add(this.BtnOpenTextMap);
|
||||
this.TPHome.Controls.Add(this.BtnOpenGachaBannerEditor);
|
||||
this.TPHome.Controls.Add(this.pictureBox1);
|
||||
this.TPHome.Controls.Add(this.GrpSettings);
|
||||
resources.ApplyResources(this.TPHome, "TPHome");
|
||||
this.TPHome.Name = "TPHome";
|
||||
this.TPHome.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -364,9 +365,9 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// CmbLanguage
|
||||
//
|
||||
resources.ApplyResources(this.CmbLanguage, "CmbLanguage");
|
||||
this.CmbLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CmbLanguage.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.CmbLanguage, "CmbLanguage");
|
||||
this.CmbLanguage.Name = "CmbLanguage";
|
||||
this.CmbLanguage.SelectedIndexChanged += new System.EventHandler(this.CmbLanguage_SelectedIndexChanged);
|
||||
//
|
||||
@ -403,6 +404,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPCustom
|
||||
//
|
||||
resources.ApplyResources(this.TPCustom, "TPCustom");
|
||||
this.TPCustom.Controls.Add(this.BtnExportCustomCommands);
|
||||
this.TPCustom.Controls.Add(this.BtnLoadCustomCommands);
|
||||
this.TPCustom.Controls.Add(this.LblCustomName);
|
||||
@ -410,7 +412,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPCustom.Controls.Add(this.BtnRemoveCustomCommand);
|
||||
this.TPCustom.Controls.Add(this.BtnSaveCustomCommand);
|
||||
this.TPCustom.Controls.Add(this.TxtCustomName);
|
||||
resources.ApplyResources(this.TPCustom, "TPCustom");
|
||||
this.TPCustom.Name = "TPCustom";
|
||||
this.TPCustom.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -436,10 +437,18 @@ namespace GrasscutterTools.Forms
|
||||
// groupBox1
|
||||
//
|
||||
resources.ApplyResources(this.groupBox1, "groupBox1");
|
||||
this.groupBox1.Controls.Add(this.LnkResetCustomCommands);
|
||||
this.groupBox1.Controls.Add(this.FLPCustomCommands);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.TabStop = false;
|
||||
//
|
||||
// LnkResetCustomCommands
|
||||
//
|
||||
resources.ApplyResources(this.LnkResetCustomCommands, "LnkResetCustomCommands");
|
||||
this.LnkResetCustomCommands.Name = "LnkResetCustomCommands";
|
||||
this.LnkResetCustomCommands.TabStop = true;
|
||||
this.LnkResetCustomCommands.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkResetCustomCommands_LinkClicked);
|
||||
//
|
||||
// FLPCustomCommands
|
||||
//
|
||||
resources.ApplyResources(this.FLPCustomCommands, "FLPCustomCommands");
|
||||
@ -466,6 +475,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPArtifact
|
||||
//
|
||||
resources.ApplyResources(this.TPArtifact, "TPArtifact");
|
||||
this.TPArtifact.Controls.Add(this.BtnAddSubAttr);
|
||||
this.TPArtifact.Controls.Add(this.LblArtifactName);
|
||||
this.TPArtifact.Controls.Add(this.NUDArtifactStars);
|
||||
@ -485,7 +495,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPArtifact.Controls.Add(this.LblSubAttribution);
|
||||
this.TPArtifact.Controls.Add(this.CmbMainAttribution);
|
||||
this.TPArtifact.Controls.Add(this.LblMainAttribution);
|
||||
resources.ApplyResources(this.TPArtifact, "TPArtifact");
|
||||
this.TPArtifact.Name = "TPArtifact";
|
||||
this.TPArtifact.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -656,13 +665,13 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPQuest
|
||||
//
|
||||
resources.ApplyResources(this.TPQuest, "TPQuest");
|
||||
this.TPQuest.Controls.Add(this.GrpQuestFilters);
|
||||
this.TPQuest.Controls.Add(this.BtnFinishQuest);
|
||||
this.TPQuest.Controls.Add(this.BtnAddQuest);
|
||||
this.TPQuest.Controls.Add(this.LblQuestDescription);
|
||||
this.TPQuest.Controls.Add(this.TxtQuestFilter);
|
||||
this.TPQuest.Controls.Add(this.ListQuest);
|
||||
resources.ApplyResources(this.TPQuest, "TPQuest");
|
||||
this.TPQuest.Name = "TPQuest";
|
||||
this.TPQuest.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -734,6 +743,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPSpawn
|
||||
//
|
||||
resources.ApplyResources(this.TPSpawn, "TPSpawn");
|
||||
this.TPSpawn.Controls.Add(this.BtnSaveSpawnLog);
|
||||
this.TPSpawn.Controls.Add(this.BtnRemoveSpawnLog);
|
||||
this.TPSpawn.Controls.Add(this.GrpSpawnRecord);
|
||||
@ -745,7 +755,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPSpawn.Controls.Add(this.NUDEntityLevel);
|
||||
this.TPSpawn.Controls.Add(this.TxtEntityFilter);
|
||||
this.TPSpawn.Controls.Add(this.ListEntity);
|
||||
resources.ApplyResources(this.TPSpawn, "TPSpawn");
|
||||
this.TPSpawn.Name = "TPSpawn";
|
||||
this.TPSpawn.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -888,13 +897,13 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPAvatar
|
||||
//
|
||||
resources.ApplyResources(this.TPAvatar, "TPAvatar");
|
||||
this.TPAvatar.Controls.Add(this.LblAvatarGenWarning);
|
||||
this.TPAvatar.Controls.Add(this.ImgAvatar);
|
||||
this.TPAvatar.Controls.Add(this.LblAvatar);
|
||||
this.TPAvatar.Controls.Add(this.LblLevel);
|
||||
this.TPAvatar.Controls.Add(this.NUDAvatarLevel);
|
||||
this.TPAvatar.Controls.Add(this.CmbAvatar);
|
||||
resources.ApplyResources(this.TPAvatar, "TPAvatar");
|
||||
this.TPAvatar.Name = "TPAvatar";
|
||||
this.TPAvatar.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -952,10 +961,10 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPStats
|
||||
//
|
||||
resources.ApplyResources(this.TPStats, "TPStats");
|
||||
this.TPStats.Controls.Add(this.GrpSetStats);
|
||||
this.TPStats.Controls.Add(this.GrpTalentLevel);
|
||||
this.TPStats.Controls.Add(this.LblStatsDescription);
|
||||
resources.ApplyResources(this.TPStats, "TPStats");
|
||||
this.TPStats.Name = "TPStats";
|
||||
this.TPStats.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -998,9 +1007,9 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// CmbStat
|
||||
//
|
||||
resources.ApplyResources(this.CmbStat, "CmbStat");
|
||||
this.CmbStat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CmbStat.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.CmbStat, "CmbStat");
|
||||
this.CmbStat.Name = "CmbStat";
|
||||
this.CmbStat.SelectedIndexChanged += new System.EventHandler(this.SetStatsInputChanged);
|
||||
//
|
||||
@ -1060,6 +1069,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPWeapon
|
||||
//
|
||||
resources.ApplyResources(this.TPWeapon, "TPWeapon");
|
||||
this.TPWeapon.Controls.Add(this.TxtWeaponFilter);
|
||||
this.TPWeapon.Controls.Add(this.LblWeaponDescription);
|
||||
this.TPWeapon.Controls.Add(this.LblWeaponRefinement);
|
||||
@ -1069,7 +1079,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPWeapon.Controls.Add(this.NUDWeaponAmout);
|
||||
this.TPWeapon.Controls.Add(this.NUDWeaponLevel);
|
||||
this.TPWeapon.Controls.Add(this.ListWeapons);
|
||||
resources.ApplyResources(this.TPWeapon, "TPWeapon");
|
||||
this.TPWeapon.Name = "TPWeapon";
|
||||
this.TPWeapon.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -1166,6 +1175,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPItem
|
||||
//
|
||||
resources.ApplyResources(this.TPItem, "TPItem");
|
||||
this.TPItem.Controls.Add(this.BtnSaveGiveItemLog);
|
||||
this.TPItem.Controls.Add(this.BtnRemoveGiveItemLog);
|
||||
this.TPItem.Controls.Add(this.GrpGiveItemRecord);
|
||||
@ -1177,7 +1187,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPItem.Controls.Add(this.NUDGameItemAmout);
|
||||
this.TPItem.Controls.Add(this.NUDGameItemLevel);
|
||||
this.TPItem.Controls.Add(this.LblGiveCommandDescription);
|
||||
resources.ApplyResources(this.TPItem, "TPItem");
|
||||
this.TPItem.Name = "TPItem";
|
||||
this.TPItem.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -1288,6 +1297,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPScene
|
||||
//
|
||||
resources.ApplyResources(this.TPScene, "TPScene");
|
||||
this.TPScene.Controls.Add(this.ChkIncludeSceneId);
|
||||
this.TPScene.Controls.Add(this.LblTp);
|
||||
this.TPScene.Controls.Add(this.LblTpZ);
|
||||
@ -1301,7 +1311,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPScene.Controls.Add(this.LblClimateType);
|
||||
this.TPScene.Controls.Add(this.LblSceneDescription);
|
||||
this.TPScene.Controls.Add(this.ListScenes);
|
||||
resources.ApplyResources(this.TPScene, "TPScene");
|
||||
this.TPScene.Name = "TPScene";
|
||||
this.TPScene.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -1340,12 +1349,12 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// NUDTpZ
|
||||
//
|
||||
resources.ApplyResources(this.NUDTpZ, "NUDTpZ");
|
||||
this.NUDTpZ.Increment = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
resources.ApplyResources(this.NUDTpZ, "NUDTpZ");
|
||||
this.NUDTpZ.Maximum = new decimal(new int[] {
|
||||
2147483647,
|
||||
0,
|
||||
@ -1360,12 +1369,12 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// NUDTpY
|
||||
//
|
||||
resources.ApplyResources(this.NUDTpY, "NUDTpY");
|
||||
this.NUDTpY.Increment = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
resources.ApplyResources(this.NUDTpY, "NUDTpY");
|
||||
this.NUDTpY.Maximum = new decimal(new int[] {
|
||||
2147483647,
|
||||
0,
|
||||
@ -1385,12 +1394,12 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// NUDTpX
|
||||
//
|
||||
resources.ApplyResources(this.NUDTpX, "NUDTpX");
|
||||
this.NUDTpX.Increment = new decimal(new int[] {
|
||||
100,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
resources.ApplyResources(this.NUDTpX, "NUDTpX");
|
||||
this.NUDTpX.Maximum = new decimal(new int[] {
|
||||
2147483647,
|
||||
0,
|
||||
@ -1405,9 +1414,9 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// CmbClimateType
|
||||
//
|
||||
resources.ApplyResources(this.CmbClimateType, "CmbClimateType");
|
||||
this.CmbClimateType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CmbClimateType.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.CmbClimateType, "CmbClimateType");
|
||||
this.CmbClimateType.Name = "CmbClimateType";
|
||||
this.CmbClimateType.SelectedIndexChanged += new System.EventHandler(this.CmbClimateType_SelectedIndexChanged);
|
||||
//
|
||||
@ -1430,9 +1439,9 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPManage
|
||||
//
|
||||
resources.ApplyResources(this.TPManage, "TPManage");
|
||||
this.TPManage.Controls.Add(this.GrpAccount);
|
||||
this.TPManage.Controls.Add(this.GrpPermission);
|
||||
resources.ApplyResources(this.TPManage, "TPManage");
|
||||
this.TPManage.Name = "TPManage";
|
||||
this.TPManage.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -1509,10 +1518,10 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// CmbPerm
|
||||
//
|
||||
resources.ApplyResources(this.CmbPerm, "CmbPerm");
|
||||
this.CmbPerm.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.CmbPerm.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.CmbPerm.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.CmbPerm, "CmbPerm");
|
||||
this.CmbPerm.Name = "CmbPerm";
|
||||
//
|
||||
// NUDPermUID
|
||||
@ -1558,10 +1567,10 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPAbout
|
||||
//
|
||||
resources.ApplyResources(this.TPAbout, "TPAbout");
|
||||
this.TPAbout.Controls.Add(this.pictureBox2);
|
||||
this.TPAbout.Controls.Add(this.LnkGithub);
|
||||
this.TPAbout.Controls.Add(this.LblSupportDescription);
|
||||
resources.ApplyResources(this.TPAbout, "TPAbout");
|
||||
this.TPAbout.Name = "TPAbout";
|
||||
this.TPAbout.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -1586,24 +1595,24 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPRemoteCall
|
||||
//
|
||||
resources.ApplyResources(this.TPRemoteCall, "TPRemoteCall");
|
||||
this.TPRemoteCall.Controls.Add(this.GrpServerStatus);
|
||||
this.TPRemoteCall.Controls.Add(this.GrpRemoteCommand);
|
||||
this.TPRemoteCall.Controls.Add(this.TxtHost);
|
||||
this.TPRemoteCall.Controls.Add(this.BtnQueryServerStatus);
|
||||
this.TPRemoteCall.Controls.Add(this.LblHost);
|
||||
resources.ApplyResources(this.TPRemoteCall, "TPRemoteCall");
|
||||
this.TPRemoteCall.Name = "TPRemoteCall";
|
||||
this.TPRemoteCall.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// GrpServerStatus
|
||||
//
|
||||
resources.ApplyResources(this.GrpServerStatus, "GrpServerStatus");
|
||||
this.GrpServerStatus.Controls.Add(this.LnkOpenCommandLabel);
|
||||
this.GrpServerStatus.Controls.Add(this.LblOpenCommandSupport);
|
||||
this.GrpServerStatus.Controls.Add(this.LblServerVersion);
|
||||
this.GrpServerStatus.Controls.Add(this.LblPlayerCount);
|
||||
this.GrpServerStatus.Controls.Add(this.LblServerVersionLabel);
|
||||
this.GrpServerStatus.Controls.Add(this.LblPlayerCountLabel);
|
||||
resources.ApplyResources(this.GrpServerStatus, "GrpServerStatus");
|
||||
this.GrpServerStatus.Name = "GrpServerStatus";
|
||||
this.GrpServerStatus.TabStop = false;
|
||||
//
|
||||
@ -1648,14 +1657,15 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPOpenCommandCheck
|
||||
//
|
||||
resources.ApplyResources(this.TPOpenCommandCheck, "TPOpenCommandCheck");
|
||||
this.TPOpenCommandCheck.Controls.Add(this.TPPlayerCheck);
|
||||
this.TPOpenCommandCheck.Controls.Add(this.TPConsoleCheck);
|
||||
resources.ApplyResources(this.TPOpenCommandCheck, "TPOpenCommandCheck");
|
||||
this.TPOpenCommandCheck.Name = "TPOpenCommandCheck";
|
||||
this.TPOpenCommandCheck.SelectedIndex = 0;
|
||||
//
|
||||
// TPPlayerCheck
|
||||
//
|
||||
resources.ApplyResources(this.TPPlayerCheck, "TPPlayerCheck");
|
||||
this.TPPlayerCheck.Controls.Add(this.LnkRCHelp);
|
||||
this.TPPlayerCheck.Controls.Add(this.NUDRemotePlayerId);
|
||||
this.TPPlayerCheck.Controls.Add(this.BtnConnectOpenCommand);
|
||||
@ -1663,7 +1673,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPPlayerCheck.Controls.Add(this.BtnSendVerificationCode);
|
||||
this.TPPlayerCheck.Controls.Add(this.NUDVerificationCode);
|
||||
this.TPPlayerCheck.Controls.Add(this.LblRemotePlayerId);
|
||||
resources.ApplyResources(this.TPPlayerCheck, "TPPlayerCheck");
|
||||
this.TPPlayerCheck.Name = "TPPlayerCheck";
|
||||
this.TPPlayerCheck.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -1735,11 +1744,11 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPConsoleCheck
|
||||
//
|
||||
resources.ApplyResources(this.TPConsoleCheck, "TPConsoleCheck");
|
||||
this.TPConsoleCheck.Controls.Add(this.BtnConsoleConnect);
|
||||
this.TPConsoleCheck.Controls.Add(this.TxtToken);
|
||||
this.TPConsoleCheck.Controls.Add(this.LblToken);
|
||||
this.TPConsoleCheck.Controls.Add(this.LblConsoleTip);
|
||||
resources.ApplyResources(this.TPConsoleCheck, "TPConsoleCheck");
|
||||
this.TPConsoleCheck.Name = "TPConsoleCheck";
|
||||
this.TPConsoleCheck.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@ -1805,6 +1814,7 @@ namespace GrasscutterTools.Forms
|
||||
this.TPCustom.ResumeLayout(false);
|
||||
this.TPCustom.PerformLayout();
|
||||
this.groupBox1.ResumeLayout(false);
|
||||
this.groupBox1.PerformLayout();
|
||||
this.TPArtifact.ResumeLayout(false);
|
||||
this.TPArtifact.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.NUDArtifactStars)).EndInit();
|
||||
@ -2050,6 +2060,7 @@ namespace GrasscutterTools.Forms
|
||||
private System.Windows.Forms.TextBox TxtToken;
|
||||
private System.Windows.Forms.Label LblToken;
|
||||
private System.Windows.Forms.Label LblConsoleTip;
|
||||
private System.Windows.Forms.LinkLabel LnkResetCustomCommands;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -352,6 +352,16 @@ namespace GrasscutterTools.Forms
|
||||
}
|
||||
}
|
||||
|
||||
private void LnkResetCustomCommands_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
if (MessageBox.Show(Resources.RestoreCustomCommands, Resources.Tips, MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
|
||||
{
|
||||
if (File.Exists(CustomCommandsFilePath))
|
||||
File.Delete(CustomCommandsFilePath);
|
||||
LoadCustomCommandControls(Resources.CustomCommands);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion - 自定义 -
|
||||
|
||||
#region - 圣遗物 -
|
||||
@ -1106,7 +1116,7 @@ namespace GrasscutterTools.Forms
|
||||
Task.Run(async () =>
|
||||
{
|
||||
await Task.Delay(1000);
|
||||
BeginInvoke(new Action(() => ShowTip("已从缓存中恢复Token", BtnInvokeOpenCommand)));
|
||||
BeginInvoke(new Action(() => ShowTip(Resources.TokenRestoredFromCache, BtnInvokeOpenCommand)));
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -1136,7 +1146,7 @@ namespace GrasscutterTools.Forms
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("查询服务端状态失败:" + ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show(Resources.QueryServerStatusFailed + ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
|
||||
OC = new OpenCommandAPI(TxtHost.Text);
|
||||
@ -1221,7 +1231,7 @@ namespace GrasscutterTools.Forms
|
||||
{
|
||||
if (string.IsNullOrEmpty(TxtToken.Text))
|
||||
{
|
||||
MessageBox.Show("Token不能为空!", Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show(Resources.TokenCannotBeEmpty, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
OC.Token = TxtToken.Text;
|
||||
|
@ -193,6 +193,15 @@
|
||||
<data name="groupBox1.Text" xml:space="preserve">
|
||||
<value>List</value>
|
||||
</data>
|
||||
<data name="LnkResetCustomCommands.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>531, -1</value>
|
||||
</data>
|
||||
<data name="LnkResetCustomCommands.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>53, 17</value>
|
||||
</data>
|
||||
<data name="LnkResetCustomCommands.Text" xml:space="preserve">
|
||||
<value>Restore</value>
|
||||
</data>
|
||||
<data name="BtnRemoveCustomCommand.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>393, 216</value>
|
||||
</data>
|
||||
@ -854,6 +863,6 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
|
||||
<value>Host</value>
|
||||
</data>
|
||||
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>Inherit</value>
|
||||
<value>NoControl</value>
|
||||
</data>
|
||||
</root>
|
File diff suppressed because it is too large
Load Diff
@ -196,6 +196,15 @@
|
||||
<data name="LblCustomName.Text" xml:space="preserve">
|
||||
<value>Метка</value>
|
||||
</data>
|
||||
<data name="LnkResetCustomCommands.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>488, -1</value>
|
||||
</data>
|
||||
<data name="LnkResetCustomCommands.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>96, 17</value>
|
||||
</data>
|
||||
<data name="LnkResetCustomCommands.Text" xml:space="preserve">
|
||||
<value>перезагрузить</value>
|
||||
</data>
|
||||
<data name="groupBox1.Text" xml:space="preserve">
|
||||
<value>Список</value>
|
||||
</data>
|
||||
@ -826,14 +835,8 @@
|
||||
<data name="LnkGithub.Anchor" type="System.Windows.Forms.AnchorStyles, System.Windows.Forms">
|
||||
<value>Bottom, Left</value>
|
||||
</data>
|
||||
<data name="LnkGithub.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>177, 17</value>
|
||||
</data>
|
||||
<data name="LnkGithub.Text" xml:space="preserve">
|
||||
<value>Github</value>
|
||||
</data>
|
||||
<data name="LblSupportDescription.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>361, 102</value>
|
||||
<value>355, 68</value>
|
||||
</data>
|
||||
<data name="LblSupportDescription.Text" xml:space="preserve">
|
||||
<value>Grasscutter Tools - основной перевод Юрий Дворецкий
|
||||
|
@ -887,39 +887,43 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 347: 阅读占坑$HIDDEN
|
||||
///348: 猫尾酒馆留言板$HIDDEN
|
||||
///349: 蒙德百货订货版$HIDDEN
|
||||
///350: 捕风的异乡人$HIDDEN
|
||||
///351: 流浪者的足迹
|
||||
///362: 苹果教学$HIDDEN
|
||||
///352: 鸟瞰风物
|
||||
///353: 异常的权柄
|
||||
///361: 风魔龙飞过$HIDDEN
|
||||
///355: 林间相会
|
||||
///354: 随风而来的骑士
|
||||
///360: 与轻风同行
|
||||
///356: 自由之都
|
||||
///357: 龙灾
|
||||
///358: 西风骑士团
|
||||
///359: (test)蒙德与三地城$HIDDEN
|
||||
///306: 昔日的风
|
||||
///307: 骑士的现场教习
|
||||
///308: 书页里的电火花
|
||||
///309: (test)蒙德之围$HIDDEN
|
||||
///310: 招募新伙伴
|
||||
///311: (test)一阶段结束$HIDDEN
|
||||
///312: (test)丽莎地城,丽莎书本奖励$HIDDEN
|
||||
///363: (test)控制第一幕开始的隐藏任务$HIDDEN
|
||||
///370: 阴影下的蒙德
|
||||
///371: 不期而遇
|
||||
///372: 那个绿色的家伙
|
||||
///373: 听凭风引
|
||||
///374: 温迪的计划
|
||||
///375: 温迪的新计划
|
||||
///376: 逃亡
|
||||
///377: 幕后谈话
|
||||
///20101: [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// 查找类似 查询服务端状态失败: 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string QueryServerStatusFailed {
|
||||
get {
|
||||
return ResourceManager.GetString("QueryServerStatusFailed", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 30302 : 女神像解锁$HIDDEN
|
||||
///30303 : 女神像解锁$HIDDEN
|
||||
///30304 : 女神像解锁$HIDDEN
|
||||
///30305 : 女神像解锁$HIDDEN
|
||||
///30306 : 女神像解锁$HIDDEN
|
||||
///30307 : 女神像解锁$HIDDEN
|
||||
///30308 : 女神像解锁$HIDDEN
|
||||
///30309 : 女神像解锁$HIDDEN
|
||||
///30310 : 女神像解锁$HIDDEN
|
||||
///30311 : 女神像解锁$HIDDEN
|
||||
///30312 : 女神像解锁$HIDDEN
|
||||
///30313 : 女神像解锁$HIDDEN
|
||||
///30314 : 女神像解锁$HIDDEN
|
||||
///30315 : 女神像解锁$HIDDEN
|
||||
///30316 : 女神像解锁$HIDDEN
|
||||
///30317 : 女神像解锁$HIDDEN
|
||||
///30600 : 昔日的风
|
||||
///30601 : 昔日的风
|
||||
///30602 : 昔日的风
|
||||
///30603 : 昔日的风
|
||||
///30604 : 昔日的风
|
||||
///30607 : 昔日的风
|
||||
///30608 : 昔日的风
|
||||
///30609 : 昔日的风
|
||||
///30610 : 昔日的风
|
||||
///30611 : 昔日的风
|
||||
///30612 : 昔日的风
|
||||
///30700 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Quest {
|
||||
get {
|
||||
@ -936,6 +940,15 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 确认将自定义命令恢复到默认值? 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string RestoreCustomCommands {
|
||||
get {
|
||||
return ResourceManager.GetString("RestoreCustomCommands", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 1 : BigWorld_LevelStreaming
|
||||
///2 : BigWorld_LevelStreaming
|
||||
@ -994,6 +1007,24 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 Token不能为空 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string TokenCannotBeEmpty {
|
||||
get {
|
||||
return ResourceManager.GetString("TokenCannotBeEmpty", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 已从缓存中恢复Token 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string TokenRestoredFromCache {
|
||||
get {
|
||||
return ResourceManager.GetString("TokenRestoredFromCache", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 用户名不能为空! 的本地化字符串。
|
||||
/// </summary>
|
||||
|
@ -225,12 +225,18 @@ Do you want to check for updates? Selecting No will no longer remind you of this
|
||||
<data name="Permissions" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Permissions.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="QueryServerStatusFailed" xml:space="preserve">
|
||||
<value>Failed to query server status:</value>
|
||||
</data>
|
||||
<data name="Quest" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\en-us\Quest.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="RequireOpenCommandTip" xml:space="preserve">
|
||||
<value>Please connect to a server that supports [opencommand] first</value>
|
||||
</data>
|
||||
<data name="RestoreCustomCommands" xml:space="preserve">
|
||||
<value>Are you sure you want to restore custom commands to defaults?</value>
|
||||
</data>
|
||||
<data name="Scene" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\en-us\Scene.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
@ -243,6 +249,12 @@ Do you want to check for updates? Selecting No will no longer remind you of this
|
||||
<data name="Tips" xml:space="preserve">
|
||||
<value>Tips</value>
|
||||
</data>
|
||||
<data name="TokenCannotBeEmpty" xml:space="preserve">
|
||||
<value>Token cannot be empty</value>
|
||||
</data>
|
||||
<data name="TokenRestoredFromCache" xml:space="preserve">
|
||||
<value>Token restored from cache</value>
|
||||
</data>
|
||||
<data name="UsernameCannotBeEmpty" xml:space="preserve">
|
||||
<value>Username cannot be empty!</value>
|
||||
</data>
|
||||
@ -252,4 +264,4 @@ Do you want to check for updates? Selecting No will no longer remind you of this
|
||||
<data name="WeaponColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\WeaponColor.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
</root>
|
||||
</root>
|
@ -228,12 +228,18 @@
|
||||
<data name="Permissions" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Permissions.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="QueryServerStatusFailed" xml:space="preserve">
|
||||
<value>查询服务端状态失败:</value>
|
||||
</data>
|
||||
<data name="Quest" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\zh-cn\Quest.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="RequireOpenCommandTip" xml:space="preserve">
|
||||
<value>请先连接到支持[OpenCommand]的服务器</value>
|
||||
</data>
|
||||
<data name="RestoreCustomCommands" xml:space="preserve">
|
||||
<value>确认将自定义命令恢复到默认值?</value>
|
||||
</data>
|
||||
<data name="Scene" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\zh-cn\Scene.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
@ -246,6 +252,12 @@
|
||||
<data name="Tips" xml:space="preserve">
|
||||
<value>提示</value>
|
||||
</data>
|
||||
<data name="TokenCannotBeEmpty" xml:space="preserve">
|
||||
<value>Token不能为空</value>
|
||||
</data>
|
||||
<data name="TokenRestoredFromCache" xml:space="preserve">
|
||||
<value>已从缓存中恢复Token</value>
|
||||
</data>
|
||||
<data name="UsernameCannotBeEmpty" xml:space="preserve">
|
||||
<value>用户名不能为空!</value>
|
||||
</data>
|
||||
|
@ -225,12 +225,18 @@
|
||||
<data name="Permissions" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Permissions.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="QueryServerStatusFailed" xml:space="preserve">
|
||||
<value>Не удалось запросить состояние сервера:</value>
|
||||
</data>
|
||||
<data name="Quest" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ru-ru\Quest.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
<data name="RequireOpenCommandTip" xml:space="preserve">
|
||||
<value>Пожалуйста, сначала подключитесь к серверу, который поддерживает [команду открытия]</value>
|
||||
</data>
|
||||
<data name="RestoreCustomCommands" xml:space="preserve">
|
||||
<value>Вы уверены, что хотите восстановить пользовательские команды по умолчанию?</value>
|
||||
</data>
|
||||
<data name="Scene" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ru-ru\Scene.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
@ -243,6 +249,12 @@
|
||||
<data name="Tips" xml:space="preserve">
|
||||
<value>Совет</value>
|
||||
</data>
|
||||
<data name="TokenCannotBeEmpty" xml:space="preserve">
|
||||
<value>Токен не может быть пустым</value>
|
||||
</data>
|
||||
<data name="TokenRestoredFromCache" xml:space="preserve">
|
||||
<value>Токен восстановлен из кеша</value>
|
||||
</data>
|
||||
<data name="UsernameCannotBeEmpty" xml:space="preserve">
|
||||
<value>Имя пользователя не может быть пустым!</value>
|
||||
</data>
|
||||
@ -252,4 +264,4 @@
|
||||
<data name="WeaponColor" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\WeaponColor.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
|
||||
</data>
|
||||
</root>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user