mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-03-15 07:43:20 +08:00
Js -> JS
This commit is contained in:
@@ -70,7 +70,7 @@ public partial class ScriptGroupProject : ObservableObject
|
||||
FolderName = kmName;
|
||||
Status = "Enabled";
|
||||
Schedule = "Daily";
|
||||
Project = null; // 不是Js脚本
|
||||
Project = null; // 不是JS脚本
|
||||
Type = "KeyMouse";
|
||||
}
|
||||
|
||||
|
||||
@@ -231,14 +231,14 @@
|
||||
</ListView.View>
|
||||
<ListBox.ContextMenu>
|
||||
<ContextMenu>
|
||||
<MenuItem Command="{Binding AddJsScriptCommand}" Header="添加Js脚本" />
|
||||
<MenuItem Command="{Binding AddJsScriptCommand}" Header="添加JS脚本" />
|
||||
<MenuItem Command="{Binding AddKmScriptCommand}" Header="添加键鼠脚本" />
|
||||
<MenuItem Command="{Binding EditScriptCommonCommand}"
|
||||
CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ContextMenu}, Path=PlacementTarget.SelectedItem}"
|
||||
Header="修改通用配置" />
|
||||
<MenuItem Command="{Binding EditJsScriptSettingsCommand}"
|
||||
CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ContextMenu}, Path=PlacementTarget.SelectedItem}"
|
||||
Header="修改Js脚本自定义配置" />
|
||||
Header="修改JS脚本自定义配置" />
|
||||
<MenuItem Command="{Binding DeleteScriptCommand}"
|
||||
CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ContextMenu}, Path=PlacementTarget.SelectedItem}"
|
||||
Header="移除" />
|
||||
|
||||
@@ -231,7 +231,7 @@ public partial class ScriptControlViewModel : ObservableObject, INavigationAware
|
||||
}
|
||||
var uiMessageBox = new Wpf.Ui.Controls.MessageBox
|
||||
{
|
||||
Title = "修改Js脚本自定义设置",
|
||||
Title = "修改JS脚本自定义设置",
|
||||
Content = item.Project.LoadSettingUi(item.JsScriptSettingsObject),
|
||||
CloseButtonText = "确定",
|
||||
Owner = Application.Current.MainWindow,
|
||||
@@ -245,7 +245,7 @@ public partial class ScriptControlViewModel : ObservableObject, INavigationAware
|
||||
}
|
||||
else
|
||||
{
|
||||
Toast.Warning("只有Js脚本才有自定义配置");
|
||||
Toast.Warning("只有JS脚本才有自定义配置");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user