Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
merge 5700cm & update & fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hooke007 committed Apr 3, 2022
1 parent 27dc98a commit d4d8ae3
Show file tree
Hide file tree
Showing 18 changed files with 1,436 additions and 749 deletions.
8 changes: 4 additions & 4 deletions src/Misc/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -616,11 +616,11 @@ public static void RegisterFileAssociations(string perceivedType)
proc.WaitForExit();

if (proc.ExitCode == 0)
Msg.ShowInfo("File associations were successfully " +
(perceivedType == "unreg" ? "removed" : "created") +
".\n\nFile Explorer icons will refresh after process restart.");
Msg.ShowInfo("文件关联已成功" +
(perceivedType == "注销" ? "移除" : "创建") +
"\n\n资源管理器的相关图标将在进程重启后刷新");
else
Msg.ShowError("Error creating file associations.");
Msg.ShowError("关联出错!");
}
} catch { }
}
Expand Down
2 changes: 1 addition & 1 deletion src/Misc/Conf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static List<SettingBase> LoadConf(string content)
opt.Name = i.Value;

if (opt.Name == optionSetting.Default)
opt.Text = opt.Name + " (Default)";
opt.Text = opt.Name + "(默认)";

opt.OptionSetting = optionSetting;
optionSetting.Options.Add(opt);
Expand Down
4 changes: 2 additions & 2 deletions src/Misc/CorePlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,19 @@ public void Init()
SetPropertyString("msg-level", "osd/libass=fatal");
}

SetPropertyString("watch-later-options", "mute");
SetPropertyString("watch-later-options", "vid,aid,sid");
SetPropertyString("screenshot-directory", "~~desktop/");
SetPropertyString("osd-playing-msg", "${filename}");
SetPropertyString("wid", MainForm.Hwnd.ToString());
SetPropertyString("osc", "yes");
SetPropertyString("force-window", "yes");
SetPropertyString("config-dir", ConfigFolder);
SetPropertyString("config", "yes");
SetPropertyString("include", "~~/profiles.conf");

SetPropertyInt("osd-duration", 2000);

SetPropertyBool("keep-open", true);
SetPropertyBool("keep-open-pause", false);
SetPropertyBool("input-default-bindings", true);
SetPropertyBool("input-builtin-bindings", false);

Expand Down
2 changes: 1 addition & 1 deletion src/Misc/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Misc/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ bool IsMouseInOSC()
if (FormBorderStyle == FormBorderStyle.None)
top = ClientSize.Height * 0.1f;

return pos.Y > ClientSize.Height * 0.85 || pos.Y < top;
return pos.Y > ClientSize.Height * 0.80 || pos.Y < top;
}

void UpdateMenu()
Expand Down
4 changes: 2 additions & 2 deletions src/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="editor_conf" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\editor_conf.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
<value>..\Resources\editor_conf.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="input_conf" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\input.conf.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;Windows-1252</value>
<value>..\Resources\input.conf.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="mpvnet" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\mpvnet.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
Expand Down
Loading

0 comments on commit d4d8ae3

Please sign in to comment.