From dd3bfca3c6c0418befe61200980721f922bd3094 Mon Sep 17 00:00:00 2001 From: zetaloop Date: Tue, 17 Oct 2023 10:47:54 +0800 Subject: [PATCH] Translation 20 Add Win10 support & Minor changes & Fix typo. --- ExplorerPatcher/settings.reg | 24 +- ExplorerPatcher/settings10.reg | 585 +++++++++++++++++---------------- ExplorerPatcher/symbols.c | 2 +- ep_setup/ep_setup.c | 14 +- 4 files changed, 310 insertions(+), 315 deletions(-) diff --git a/ExplorerPatcher/settings.reg b/ExplorerPatcher/settings.reg index 851e92c..503d90e 100644 --- a/ExplorerPatcher/settings.reg +++ b/ExplorerPatcher/settings.reg @@ -97,7 +97,7 @@ ;T 托盘菜单 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b 任务栏和托盘启用皮肤 +;b 启用任务栏与托盘皮肤 "SkinMenus"=dword:00000001 ;b 托盘图标居中对齐 "CenterMenus"=dword:00000001 @@ -119,7 +119,7 @@ ;c 3 “显示桌面”按钮 ;x 1 启用 (默认) ;x 0 禁用 -;x 2 启用但看不见 +;x 2 隐藏外观 "TaskbarSD"=dword:00000001 ;g SystemTray_Section109 ;s SystemTray_Section117 !IsOldTaskbar @@ -130,7 +130,7 @@ ;s SystemTray_Windows10Section IsOldTaskbar [HKEY_CURRENT_USER\Software\ExplorerPatcher] ;p 2 -;b 系统图标换成 Windows 11 风格 * +;b 使用 Win11 风格的系统图标 * "SkinIcons"=dword:00000001 [HKEY_CURRENT_USER\Software\ExplorerPatcher] ;a 右键网络图标打开网络和 Internet 设置时, @@ -220,7 +220,7 @@ ;d 禁用导航栏 ** @="" [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b 禁用新版搜索栏样式 +;b 禁用现代搜索栏样式 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_DisableModernSearchBar"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] ;b 缩小地址栏高度 ** @@ -286,7 +286,7 @@ ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_Start_MaximumFrequentApps"=dword:00000006 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage] ;a 使用多个屏幕,按 Win 键打开开始菜单时, -;c 10 打开位置 +;c 10 打开的位置 ;x 1 主显示器 (默认) ;x 0 鼠标光标所在显示器 ;x 2 显示器 #2 @@ -625,16 +625,16 @@ ;T 其他 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b 记忆关闭时设置所处的页面 +;b 下次打开本设置时跳转到关闭时的页面 "LastSectionInProperties"=dword:00000000 ;b 按 Win+C 打开时间,而非打开 Teams * "ClockFlyoutOnWinC"=dword:00000000 ;b 任务栏工具栏之间显示分隔符 * "ToolbarSeparators"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b 将本设置(属性)添加到 Win+X 菜单中 +;b 将属性(EP 设置)添加到 Win+X 菜单中 "PropertiesInWinX"=dword:00000000 -;b Win+X 菜单中属性这一项不显示快捷键 +;b Win+X 菜单中属性(EP 设置)不显示快捷键 "NoMenuAccelerator"=dword:00000000 ;b 禁用 Ctrl+Alt+Shift+Win Office 快捷键 * "DisableOfficeHotkeys"=dword:00000000 @@ -678,7 +678,7 @@ [HKEY_CURRENT_USER\Software\ExplorerPatcher] ;z 3 自动更新 ;x 1 仅通知 (默认) -;x 0 自动安装 +;x 0 弹窗提示安装 ;x 2 不检查更新 "UpdatePolicy"=dword:00000001 ;b 接收测试版更新 (不推荐) @@ -688,11 +688,11 @@ ;t 更新服务器: ;w 稳定版 ;输入一个支持 GitHub release API 的网址。如需自建更新服务器,请查阅软件 Wiki。 -;github.com/ZetaSp/ExplorerPatcher/releases/latest +;github.com/zetaloop/ExplorerPatcher/releases/latest "UpdateURL"="" ;w 测试版 ;输入一个支持 GitHub pre-release API 的网址。如需自建更新服务器,请查阅软件 Wiki。 -;api.github.com/repos/ZetaSp/ExplorerPatcher/releases?per_page=1 +;api.github.com/repos/zetaloop/ExplorerPatcher/releases?per_page=1 "UpdateURLStaging"="" ;y 检查更新 ;;;EP_CHECK_FOR_UPDATES @@ -728,7 +728,7 @@ ;d 启用旧版视图控件 SysListView32 * @="" [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b 不修改任务栏右键菜单,隐藏本设置入口(属性) +;b 不修改任务栏右键菜单,隐藏 EP 设置入口(属性) "NoPropertiesInContextMenu"=dword:00000000 ;b 启用符号文件下载 * "EnableSymbolDownload"=dword:00000001 diff --git a/ExplorerPatcher/settings10.reg b/ExplorerPatcher/settings10.reg index 25c78aa..3ea5ba3 100644 --- a/ExplorerPatcher/settings10.reg +++ b/ExplorerPatcher/settings10.reg @@ -1,201 +1,201 @@ Windows Registry Editor Version 5.00 -;M Settings +;M 设置 ;q -;T Taskbar +;T 任务栏 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;y More taskbar options in the Settings app 🡕 +;y 任务栏设置 🡕 ;ms-settings:taskbar -;y Customize notification area icons 🡕 +;y 管理通知栏图标 🡕 ;shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9} -;y Customize system icons in the notification area 🡕 +;y 管理系统图标 🡕 ;shell:::{05d7b0f4-2121-4eff-bf6b-ed3f69b894d9}\SystemIcons [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;c 4 Primary taskbar location on screen * -;x 3 Bottom (default) -;x 1 Top -;x 0 Left -;x 2 Right +;c 4 主屏任务栏位置 * +;x 3 底部 (默认) +;x 1 顶部 +;x 0 左侧 +;x 2 右侧 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_TaskbarPosition"=dword:00000003 -;c 4 Secondary taskbar(s) location on screen -;x 3 Bottom (default) -;x 1 Top -;x 0 Left -;x 2 Right +;c 4 副屏任务栏位置 +;x 3 底部 (默认) +;x 1 顶部 +;x 0 左侧 +;x 2 右侧 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_MMTaskbarPosition"=dword:00000003 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Search] -;c 3 Search -;x 0 Hidden -;x 1 Show search icon -;x 2 Show search box +;c 3 搜索按钮 +;x 0 隐藏 +;x 1 搜索图标 +;x 2 搜索框 "SearchboxTaskbarMode"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] -;b Show Cortana button +;b Cortana 按钮 "ShowCortanaButton"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] -;b Show Task view button +;b 任务视图按钮 "ShowTaskViewButton"=dword:00000001 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Automatically hide the taskbar +;b 自动隐藏任务栏 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_AutoHideTaskbar"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;c 2 Start button style * -;x 0 Windows 10 (default) -;x 1 Windows 11 +;c 2 开始按钮 * +;x 0 Win10 (默认) +;x 1 Win11 "OrbStyle"=dword:00000000 -;c 5 Primary taskbar alignment -;x 0 At screen edge (default) -;x 1 Centered -;x 5 Centered, at screen edge when full -;x 3 Centered with Start button -;x 7 Centered with Start button, at screen edge when full +;c 5 主屏任务栏对齐 +;x 0 屏幕边缘 (默认) +;x 1 居中 +;x 5 居中,占满时扩展到边缘 +;x 3 居中,带开始按钮 +;x 7 居中,带开始按钮,占满时扩展到边缘 "OldTaskbarAl"=dword:00000000 -;c 5 Secondary taskbar(s) alignment -;x 0 At screen edge (default) -;x 1 Centered -;x 5 Centered, at screen edge when full -;x 3 Centered with Start button -;x 7 Centered with Start button, at screen edge when full +;c 5 副屏任务栏对齐 +;x 0 屏幕边缘 (默认) +;x 1 居中 +;x 5 居中,占满时扩展到边缘 +;x 3 居中,带开始按钮 +;x 7 居中,带开始按钮,占满时扩展到边缘 "MMOldTaskbarAl"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] -;c 3 Combine taskbar icons on primary taskbar -;x 0 Always combine (default) -;x 1 Combine when taskbar is full -;x 2 Never combine +;c 3 主屏任务栏合并图标 +;x 0 始终合并 (默认) +;x 1 当任务栏被占满时合并 +;x 2 从不合并 "TaskbarGlomLevel"=dword:00000000 -;c 3 Combine taskbar icons on secondary taskbar(s) -;x 0 Always combine (default) -;x 1 Combine when taskbar is full -;x 2 Never combine +;c 3 副屏任务栏合并图标 +;x 0 始终合并 (默认) +;x 1 当任务栏被占满时合并 +;x 2 从不合并 "MMTaskbarGlomLevel"=dword:00000000 -;c 2 Taskbar icon size -;x 1 Small -;x 0 Large (default) +;c 2 任务栏图标大小 +;x 1 小 +;x 0 大 (默认) "TaskbarSmallIcons"=dword:00000000 ;e ;e ;e ;e -;T System tray +;T 托盘菜单 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Skin taskbar and tray pop-up menus +;b 启用任务栏与托盘皮肤 "SkinMenus"=dword:00000001 -;b Center tray icon pop-up menus +;b 托盘图标居中对齐 "CenterMenus"=dword:00000001 -;b Flyout behavior for tray icon pop-up menus +;b 托盘弹出动画 "FlyoutMenus"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\TabletTip\1.7] -;b Show touch keyboard button * +;b 触摸键盘按钮 * "TipbandDesiredVisibility"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] ;p 2 -;b Apply Windows 11 style to system tray icons * +;b 使用 Win11 风格的系统图标 * "SkinIcons"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] -;b Show seconds in the clock +;b 时间显示秒数 "ShowSecondsInSystemClock"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] -;c 3 Show desktop button -;x 1 Enabled (default) -;x 0 Disabled -;x 2 Hidden +;c 3 “显示桌面”按钮 +;x 1 启用 (默认) +;x 0 禁用 +;x 2 隐藏外观 "TaskbarSD"=dword:00000001 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;a Choosing 'Open Network && Internet settings' when right clicking the -;c 3 network icon should open: -;x 0 Network section in the Settings app (default) -;x 1 Network and Sharing Center in Control Panel -;x 2 Network Connections in Control Panel +;a 右键网络图标打开网络和 Internet 设置时, +;c 3 打开 +;x 0 设置“网络和 Internet” (默认) +;x 1 控制面板“网络和共享中心” +;x 2 控制面板“网络连接” "ReplaceNetwork"=dword:00000000 ;q ;t When clicking a system icon in the system tray, open: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Control Panel\Settings\Network] -;c 5 Network -;x 0 Windows 10 flyout (default) -;x 2 Windows 8 flyout -;x 1 Network section in the Settings app -;x 3 Network and Sharing Center in Control Panel -;x 4 Network Connections in Control Panel +;c 5 网络 +;x 0 Win10 网络 (默认) +;x 2 Win8 网络 +;x 1 设置“网络和 Internet” +;x 3 控制面板“网络和共享中心” +;x 4 控制面板“网络连接” "ReplaceVan"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\MTCUVC] -;c 2 Sound -;x 1 Windows 10 flyout (default) -;x 0 Windows 7 flyout +;c 2 声音 +;x 1 Win10 音量滑块 (默认) +;x 0 Win7 音量滑块 "EnableMtcUvc"=dword:00000001 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell] -;c 3 Clock -;x 0 Windows 10 flyout (default) -;x 1 Windows 7 -;x 2 Action Center +;c 3 时间 +;x 0 Win10 时间 (默认) +;x 1 Win7 时间 +;x 2 操作中心 "UseWin32TrayClockExperience"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ImmersiveShell] -;c 2 Battery -;x 0 Windows 10 flyout (default) -;x 1 Windows 7 +;c 2 电池 +;x 0 Win10 电池 (默认) +;x 1 Win7 电池 "UseWin32BatteryFlyout"=dword:00000000 -;T File Explorer -;e For the settings marked with (**) to work in Open or Save file dialogs as well, register -;e this utility as shell extension using the option below. -;y Learn more 🡕 +;T 文件管理器 +;e 要使标 ** 的设置在打开、保存对话框也生效, +;e 请将本工具注册为外壳扩展插件。 +;y 更多信息 🡕 ;https://github.com/valinet/ExplorerPatcher/wiki/Using-ExplorerPatcher-as-shell-extension ;q [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Register as shell extension +;b 注册为外壳扩展插件 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_RegisterAsShellExtension"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Always use legacy file transfer dialog +;b 使用旧版文件传输对话框 "LegacyFileTransferDialog"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Use classic drive groupings in This PC +;b 在“此电脑”中使用旧版硬盘分组 "UseClassicDriveGrouping"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;c 2 Control Interface -;x 0 Windows 10 Ribbon (default) -;x 2 Windows 7 Command Bar +;c 2 顶部命令栏 +;x 0 Win10 (默认) +;x 2 Win7 "FileExplorerCommandUI"=dword:00000000 -;t The following settings take effect on newly created File Explorer windows: +;t 以下设置对新打开的文件管理器窗口生效: [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;i Use immersive menus when displaying Windows 10 context menus ** +;i 显示 Win10 右键菜单时使用沉浸式菜单 ** "DisableImmersiveContextMenu"=dword:00000000 [-HKEY_CURRENT_USER\Software\Classes\CLSID\{056440FD-8568-48e7-A632-72157243B55B}\InprocServer32] -;d Disable navigation bar ** +;d 禁用导航栏 ** @="" [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Disable modern search bar +;b 禁用现代搜索栏样式 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_DisableModernSearchBar"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Shrink address bar height ** +;b 缩小地址栏高度 ** "ShrinkExplorerAddressBar"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Hide search bar completely ** +;b 完全隐藏搜索栏 ** "HideExplorerSearchBar"=dword:00000000 ;p 2 -;b Mica effect on title bar +;b 标题栏云母材质 "MicaEffectOnTitlebar"=dword:00000000 -;T Start menu -;y More Start menu options in the Settings app 🡕 +;T 开始菜单 +;y 开始菜单设置 🡕 ;ms-settings:personalization-start [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] -;z 2 Position on screen -;x 0 At screen edge (default) -;x 1 Center +;z 2 显示位置 +;x 0 屏幕边缘 (默认) +;x 1 居中 "TaskbarAl"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;z 22 Maximum number of frequent apps to show -;x 0 None +;z 22 常用应用程序最大数量 +;x 0 0 ;x 1 1 ;x 2 2 ;x 3 3 ;x 4 4 ;x 5 5 -;x 6 6 (default) +;x 6 6 (默认) ;x 7 7 ;x 8 8 ;x 9 9 @@ -210,71 +210,71 @@ ;x 18 18 ;x 19 19 ;x 20 20 -;x 99999 Unlimited +;x 99999 ∞ ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_Start_MaximumFrequentApps"=dword:00000006 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage] -;e When using multiple displays, open Start on this monitor when invoked using -;z 10 the keyboard -;x 1 Primary monitor (default) -;x 0 Monitor on which the cursor is on -;x 2 Monitor #2 -;x 3 Monitor #3 -;x 4 Monitor #4 -;x 5 Monitor #5 -;x 6 Monitor #6 -;x 7 Monitor #7 -;x 8 Monitor #8 -;x 9 Monitor #9 +;e 使用多个屏幕,按 Win 键打开开始菜单时, +;z 10 打开的位置 +;x 1 主显示器 (默认) +;x 0 鼠标光标所在显示器 +;x 2 显示器 #2 +;x 3 显示器 #3 +;x 4 显示器 #4 +;x 5 显示器 #5 +;x 6 显示器 #6 +;x 7 显示器 #7 +;x 8 显示器 #8 +;x 9 显示器 #9 "MonitorOverride"=dword:00000001 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;z 3 Corner preference -;x 1 Rounded corners, floating menu -;x 2 Rounded corners, docked menu -;x 0 Not rounded +;z 3 边角 +;x 1 圆角,悬浮菜单 +;x 2 圆角,停靠菜单 +;x 0 直角 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_StartUI_EnableRoundedCorners"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;z 3 Display mode -;x 0 Default -;x 1 Start menu -;x 2 Full screen Start +;z 3 显示模式 +;x 0 默认 +;x 1 开始菜单 +;x 2 全屏开始菜单 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_ForceStartSize"=dword:00000000 -;z 3 App list -;x 0 Display -;x 3 Hide -;x 1 Disable +;z 3 应用列表 +;x 0 显示 +;x 3 隐藏 +;x 1 禁用 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_NoStartMenuMorePrograms"=dword:00000000 -;t Some settings might not be available in older Windows 10 versions. +;t 某些设置在特别老的 Win10 版本上不可用。 -;T Window switcher +;T 窗口切换器 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer] -;z 3 Window switcher (Alt+Tab) style * -;x 0 Windows 10 (default) -;x 1 Windows NT -;x 2 Simple Window Switcher +;z 3 窗口切换器 (Alt+Tab) * +;x 0 Win10 (默认) +;x 1 WinNT +;x 2 简易窗口切换器 "AltTabSettings"=dword:00000000 -;t The following settings only apply to the Simple Window Switcher: +;t 以下设置适用于建议窗口切换器: [HKEY_CURRENT_USER\Software\ExplorerPatcher\sws] -;b Show the desktop as the last window in the interaction list +;b 将“桌面”窗口添加为列表最后一个 "IncludeWallpaper"=dword:00000001 -;b Always display switcher on primary monitor +;b 始终显示在主屏 "PrimaryOnly"=dword:00000000 -;b Display windows only from the monitor containing the cursor +;b 仅显示当前显示器的窗口 "PerMonitor"=dword:00000000 -;b Group windows of the same app +;b 将同一个应用的窗口分为一组 "SwitcherIsPerApplication"=dword:00000000 -;b %PLACEHOLDER_0001% +;b 禁用应用窗口列表%PLACEHOLDER_0001% "NoPerApplicationList"=dword:00000000 -;c 2 Theme -;x 0 Default -;x 1 Acrylic +;c 2 材质 +;x 0 默认 +;x 1 Win10 亚克力 "Theme"=dword:00000000 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MultitaskingView\AltTabViewHost] -;c 19 Opacity -;x 100 Opaque +;c 19 不透明度 +;x 100 100 % ;x 98 98 % ;x 96 96 % -;x 95 95 % (default) +;x 95 95 % (默认) ;x 94 94 % ;x 92 92 % ;x 90 90 % @@ -292,13 +292,13 @@ ;x 30 30 % "Grid_backgroundPercent"=dword:0000005F [HKEY_CURRENT_USER\Software\ExplorerPatcher\sws] -;c 3 Color scheme -;x 0 Follow system setting (default) -;x 1 Light -;x 2 Dark +;c 3 配色 +;x 0 跟随系统 (默认) +;x 1 亮 +;x 2 暗 "ColorScheme"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher\sws] -;c 20 Row height +;c 20 行高 ;x 330 330 pt ;x 320 320 pt ;x 310 310 pt @@ -309,7 +309,7 @@ ;x 260 260 pt ;x 250 250 pt ;x 240 240 pt -;x 230 230 pt (default) +;x 230 230 pt (默认) ;x 220 220 pt ;x 210 210 pt ;x 200 200 pt @@ -320,34 +320,34 @@ ;x 150 150 pt ;x 140 140 pt "RowHeight"=dword:000000e6 -;c 10 Maximum width (percentage of screen width) -;x 100 100 % (not recommended) +;c 10 最大宽度 (屏宽百分比) +;x 100 100 % (不推荐) ;x 95 95 % ;x 90 90 % ;x 85 85 % -;x 80 80 % (default) +;x 80 80 % (默认) ;x 75 75 % ;x 70 70 % ;x 65 65 % ;x 60 60 % ;x 55 55 % "MaxWidth"=dword:00000050 -;c 10 Maximum height (percentage of screen height) -;x 100 100 % (not recommended) +;c 10 最大高度 (屏高百分比) +;x 100 100 % (不推荐) ;x 95 95 % ;x 90 90 % ;x 85 85 % -;x 80 80 % (default) +;x 80 80 % (默认) ;x 75 75 % ;x 70 70 % ;x 65 65 % ;x 60 60 % ;x 55 55 % "MaxHeight"=dword:00000050 -;c 11 Window padding +;c 11 边框厚度 ;x 50 50 pt ;x 45 45 pt -;x 40 40 pt (default) +;x 40 40 pt (默认) ;x 35 30 pt ;x 30 30 pt ;x 25 25 pt @@ -355,14 +355,14 @@ ;x 15 15 pt ;x 10 10 pt ;x 5 5 pt -;x 0 None +;x 0 无 "MasterPadding"=dword:00000028 -;c 11 Show delay -;x 0 None +;c 11 显示延迟 +;x 0 无 ;x 25 25 ms ;x 50 50 ms ;x 75 75 ms -;x 100 100 ms (default) +;x 100 100 ms (默认) ;x 125 125 ms ;x 150 150 ms ;x 200 200 ms @@ -370,76 +370,76 @@ ;x 400 400 ms ;x 500 500 ms "ShowDelay"=dword:00000064 -;c 3 Use the scroll wheel to change selection -;x 0 Never (default) -;x 1 When cursor is over the switcher -;x 2 Always +;c 3 通过鼠标滚轮切换选中窗口 +;x 0 从不 (默认) +;x 1 当光标悬停在切换器上时 +;x 2 总是 "ScrollWheelBehavior"=dword:00000000 ;q -;y Learn more about Simple Window Switcher 🡕 +;y 关于简易窗口切换器 🡕 ;https://github.com/valinet/ExplorerPatcher/wiki/Simple-Window-Switcher -;t Some settings might not be available in older Windows 10 versions. +;t 某些设置在特别老的 Win10 版本上不可用。 -;T Weather +;T 天气 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Show Weather on the taskbar +;b 任务栏天气按钮 ;"Virtualized_{D17F1E1A-5919-4427-8F89-A1A8503CA3EB}_PeopleBand"=dword:00000000 -;c 5 Layout -;x 0 Icon and description (default) -;x 3 Icon and temperature -;x 1 Icon only -;x 4 Temperature only -;x 5 Temperature and description +;c 5 布局 +;x 0 图标和描述 (默认) +;x 3 图标和温度 +;x 1 图标 +;x 4 温度 +;x 5 温度和描述 "WeatherViewMode"=dword:00000000 -;c 3 Widget size -;x 0 Automatic (fit contents) (default) -;x 2 Automatic (fit contents) with threshold -;x 1 Fixed +;c 3 弹窗尺寸 +;x 0 随内容变化 (默认) +;x 2 随内容有限变化 +;x 1 固定 "WeatherFixedSize"=dword:00000000 -;c 2 Widget position -;x 0 Right / bottom (default) -;x 1 Left / top +;c 2 弹窗位置 +;x 0 右 / 下 (默认) +;x 1 左 / 上 "WeatherToLeft"=dword:00000000 -;c 7 Update frequency -;x 60 Every minute -;x 300 Every 5 minutes -;x 900 Every 15 minutes -;x 1200 Every 20 minutes (default) -;x 1800 Every half an hour -;x 3600 Every hour -;x 7200 Every couple of hours +;c 7 更新频率 +;x 60 每分钟 +;x 300 每五分钟 +;x 900 每十五分钟 +;x 1200 每二十分钟 (默认) +;x 1800 每半小时 +;x 3600 每小时 +;x 7200 每两小时 "WeatherContentUpdateMode"=dword:000004B0 -;c 2 Temperature unit -;x 0 Celsius (default) -;x 1 Fahrenheit +;c 2 温度单位 +;x 0 摄氏度℃ (默认) +;x 1 华氏度℉ "WeatherTemperatureUnit"=dword:00000000 -;w Location -;Search City or Zip Code; the program looks up "weather in /* what you typed */" on Google. Leave blank for the default value (current location). -;Current location (default) +;w 位置 +;输入城市名称或邮政编码,程序将用谷歌搜索“weather in 这个地方”来查询天气。不填默认为当前位置。 +;当前位置 (默认) "WeatherLocation"="" -;;;c 2 Location accuracy -;;;x 0 Generic (based on the IP address) (default) -;;;x 1 Precise (geolocation) +;;;c 2 定位精度 +;;;x 0 通用 (IP 地址) (默认) +;;;x 1 精确 (卫星定位) ;;"WeatherLocationType"=dword:00000000 -;w Language -;Type the short code for the language you'd like the weather data to be displayed in. For example, try "en", "ro", "de", "fr" etc. Leave blank for the default value (language of the Windows OS). -;System language (default) +;w 语言 +;在此输入显示语言的语言代码,例如“en”、“ro”、“de”、“fr”等。不填默认为系统语言。 +;系统语言 (默认) "WeatherLanguage"="" -;c 3 Color scheme -;x 0 Follow system setting (default) -;x 1 Light -;x 2 Dark +;c 3 配色 +;x 0 跟随系统 (默认) +;x 1 亮 +;x 2 暗 "WeatherTheme"=dword:00000000 -;c 2 Icon pack -;x 0 Microsoft (default) -;x 1 Google +;c 2 图标 +;x 0 微软 (默认) +;x 1 谷歌 "WeatherIconPack"=dword:00000000 -;c 2 Display widget contents -;x 0 On a single line (default) -;x 1 On 2 lines, if possible +;c 2 内容 +;x 0 单行 (默认) +;x 1 两行 "WeatherContentsMode"=dword:00000000 -;c 17 Zoom +;c 17 缩放 ;x 25 25 % ;x 33 33 % ;x 50 50 % @@ -447,7 +447,7 @@ ;x 75 75 % ;x 80 80 % ;x 90 90 % -;x 0 100 % (default) +;x 0 100 % (默认) ;x 110 110 % ;x 125 125 % ;x 150 150 % @@ -459,151 +459,154 @@ ;x 500 500 % "WeatherZoomFactor"=dword:00000000 ;q -;y Learn more about the Weather taskbar widget 🡕 +;y 关于天气 🡕 ;https://github.com/valinet/ExplorerPatcher/wiki/Weather ;t %WEATHERLASTUPDATETEXT% -;u Update weather now +;u 刷新天气 ;update_weather -;u Clear weather widget local data +;u 清除天气数据 ;clear_data_weather -;T Other +;T 其他 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Remember last used section in this window +;b 下次打开本设置时跳转到关闭时的页面 "LastSectionInProperties"=dword:00000000 -;b Open clock flyout when pressing Win+C instead of Microsoft Teams * +;b 按 Win+C 打开时间,而非打开 Teams * "ClockFlyoutOnWinC"=dword:00000000 -;b Show separators between taskbar toolbars * +;b 任务栏工具栏之间显示分隔符 * "ToolbarSeparators"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] -;b Show Command Prompt instead of PowerShell in Win+X menu * +;b 在 Win+X 菜单中把 PowerShell 换成命令提示符 * "DontUsePowerShellOnWinX"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Remove shortcut key from program settings item in Win+X menu +;b Win+X 菜单中属性(EP 设置)不显示快捷键 "NoMenuAccelerator"=dword:00000000 -;b Disable Office hotkeys (Ctrl+Alt+Shift+Windows key combinations) * +;b 禁用 Ctrl+Alt+Shift+Win Office 快捷键 * "DisableOfficeHotkeys"=dword:00000000 -;b Disable Win+F (Feedback Hub) hotkey * +;b 禁用 Win+F 反馈中心快捷键 * "DisableWinFHotkey"=dword:00000000 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced] -;c 6 Default action in the Alt+F4 dialog on the desktop -;x 256 Switch user -;x 1 Sign out -;x 16 Sleep -;x 64 Hibernate -;x 2 Shut down (default) -;x 4 Restart +;c 6 桌面 Alt+F4 对话框默认选中 +;x 256 切换用户 +;x 1 注销 +;x 16 睡眠 +;x 64 休眠 +;x 2 关机 (默认) +;x 4 重启 "Start_PowerButtonAction"=dword:00000002 -;t Prevent the following Control Panel links from being redirected to the Settings app: +;t 恢复被跳转到设置的控制面板链接: [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b System / About page +;b 系统 / 关于页面 "DoNotRedirectSystemToSettingsApp"=dword:00000000 -;b Programs and Features +;b 程序和功能 "DoNotRedirectProgramsAndFeaturesToSettingsApp"=dword:00000000 -;b Adjust date/time +;b 设置日期和时间 "DoNotRedirectDateAndTimeToSettingsApp"=dword:00000000 -;b Customize notification icons +;b 自定义通知区域图标 "DoNotRedirectNotificationIconsToSettingsApp"=dword:00000000 -;T Updates +;T 更新 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;z 3 When File Explorer starts -;x 1 Notify about available updates (default) -;x 0 Prompt to install available updates -;x 2 Do not check for updates +;z 3 自动更新 +;x 1 仅通知 (默认) +;x 0 弹窗提示安装 +;x 2 不检查更新 "UpdatePolicy"=dword:00000001 -;b Receive pre-release versions, if available (not recommended) +;b 接收测试版更新 (不推荐) "UpdatePreferStaging"=dword:00000000 -;b Suggest the latest version on the server, even if it's older (not recommended) +;b 接收服务器上最新的版本,忽略本地版本 (不推荐) "UpdateAllowDowngrades"=dword:00000000 -;t Update servers: -;w Releases -;Type a URL that serves resources adhering to GitHub's releases API. To learn how to configure your own update server, please consult the wiki. -;github.com/valinet/ExplorerPatcher/releases/latest +;t 更新服务器: +;w 稳定版 +;输入一个支持 GitHub release API 的网址。如需自建更新服务器,请查阅软件 Wiki。 +;github.com/zetaloop/ExplorerPatcher/releases/latest "UpdateURL"="" -;w Pre-releases -;Type a URL that serves resources adhering to GitHub's pre-releases API. To learn how to configure your own update server, please consult the wiki. -;api.github.com/repos/valinet/ExplorerPatcher/releases?per_page=1 +;w 测试版 +;输入一个支持 GitHub pre-release API 的网址。如需自建更新服务器,请查阅软件 Wiki。 +;api.github.com/repos/zetaloop/ExplorerPatcher/releases?per_page=1 "UpdateURLStaging"="" -;y Check for updates +;y 检查更新 ;;;EP_CHECK_FOR_UPDATES -;y Update program and restart File Explorer +;y 更新并重启文件管理器 ;;;EP_INSTALL_UPDATES -;y Read about changes in the latest releases 🡕 +;y 更新日志 🡕 ;https://github.com/valinet/ExplorerPatcher/blob/master/CHANGELOG.md -;y Learn more 🡕 +;y 更多信息 🡕 ;https://github.com/valinet/ExplorerPatcher/wiki/Configure-updates +;y 关于汉化版更新 🡕 +;https://github.com/ZetaSp/ExplorerPatcher#%E6%9B%B4%E6%96%B0 -;T Advanced -;e Only change these settings after reading the documentation about them. -;y Learn more 🡕 +;T 高级 +;e 请仔细阅读文档后再修改这些设置。 +;y 文档 🡕 ;https://github.com/valinet/ExplorerPatcher/wiki/About-advanced-settings ;q [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Enable console +;b 启用控制台 "AllocConsole"=dword:00000000 -;b Dump memory leaks +;b 转储内存泄漏 "Memcheck"=dword:00000000 -;b Double click taskbar to toggle auto-hide (only works when the taskbar is locked) +;b 双击任务栏切换自动隐藏 (仅在任务栏锁定时有效) "TaskbarAutohideOnDoubleClick"=dword:00000000 [HKEY_CURRENT_USER\Control Panel\Desktop] -;b Show Windows build info on the desktop * +;b 桌面显示 Windows 版本水印 * "PaintDesktopVersion"=dword:00000000 [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Enable advanced mitigations for correct rendering using classic theme * +;b 启用高级缓解措施适配经典主题 * "ClassicThemeMitigations"=dword:00000000 [-HKEY_CURRENT_USER\Software\Classes\CLSID\{1eeb5b5a-06fb-4732-96b3-975c0194eb39}\InprocServer32] -;d Enable SysListView32 for Explorer views * +;d 启用旧版视图控件 SysListView32 * @="" [HKEY_CURRENT_USER\Software\ExplorerPatcher] -;b Do not change the taskbar context menu (e.g. do not display the "Properties" item) +;b 不修改任务栏右键菜单,隐藏 EP 设置入口(属性) "NoPropertiesInContextMenu"=dword:00000000 -;b Enable symbols download * +;b 启用符号文件下载 * "EnableSymbolDownload"=dword:00000001 -;b Pinned items act as quick launch (don't group pinned items with active apps) * +;b 固定项充当快速启动 (不把固定项和活动应用分组) * "PinnedItemsActAsQuickLaunch"=dword:00000000 -;b When the taskbar shows button labels, remove the extra gap around pinned items * +;b 任务栏显示按钮标签时,移除固定项周围的额外间隙 * "RemoveExtraGapAroundPinnedItems"=dword:00000000 -;T About +;T 关于 ;e ExplorerPatcher -;e Version %VERSIONINFORMATIONSTRING% -;t © 2006-2023 VALINET Solutions SRL. All rights reserved. +;e 版本 %VERSIONINFORMATIONSTRING% +;t © 2006-2023 VALINET Solutions SRL. 版权所有. ;e -;e This project aims to enhance the working environment on Windows. -;e Proudly engineered by Valentin-Gabriel Radu. -;t Running on Windows 10, OS Build %OSVERSIONSTRING% -;y Visit project GitHub (https://github.com/valinet) 🡕 +;e 该软件让 Windows 的工作环境更加高效。 +;e Valentin-Gabriel Radu 荣誉出品。 +;e 系统版本 Windows 10 +;t 构建版本 %OSVERSIONSTRING% +;y 查看项目 (https://github.com/valinet) 🡕 ;https://github.com/valinet ;q -;y Visit web site (https://www.valinet.ro) 🡕 +;y 访问官网 (https://www.valinet.ro) 🡕 ;https://www.valinet.ro -;y E-mail author (valentingabrielradu@gmail.com) 🡕 +;y 电邮作者 (valentingabrielradu@gmail.com) 🡕 ;mailto:valentingabrielradu@gmail.com -;y Donate (using PayPal) 🡕 +;y 捐赠支持 (PayPal) 🡕 ;https://www.paypal.com/donate?business=valentingabrielradu%40gmail.com&no_recurring=0&item_name=ExplorerPatcher¤cy_code=EUR -;y Frequently Asked Questions 🡕 +;y 常见问题 🡕 ;https://github.com/valinet/ExplorerPatcher/wiki/Frequently-asked-questions -;y Learn more managing these settings 🡕 +;y 配置指南 🡕 ;https://github.com/valinet/ExplorerPatcher/wiki/Settings-management -;u Import settings +;u 导入设置 ;import -;u Export current settings +;u 导出设置 ;export -;u Restore default settings +;u 恢复默认设置 ;reset ;f -;u Restart File Explorer (*) +;u 重启文件管理器 (*) ;restart -;;u Restore default settings +;;u 恢复默认设置 ;;reset -;;u About ExplorerPatcher +;;u 关于 ExplorerPatcher ;;about \ No newline at end of file diff --git a/ExplorerPatcher/symbols.c b/ExplorerPatcher/symbols.c index a92c16b..0e8c3d2 100644 --- a/ExplorerPatcher/symbols.c +++ b/ExplorerPatcher/symbols.c @@ -492,7 +492,7 @@ DWORD DownloadSymbols(DownloadSymbolsParams* params) buffer, DownloadOKXML, Utf8Text("当前系统版本"), - szReportedVersion + szReportedVersion, Utf8Text("的符号文件下载完成"), Utf8Text("重启文件管理器来生效并启用增强功能。") ); diff --git a/ep_setup/ep_setup.c b/ep_setup/ep_setup.c index d7a8831..0c9194a 100644 --- a/ep_setup/ep_setup.c +++ b/ep_setup/ep_setup.c @@ -416,7 +416,7 @@ int WINAPI wWinMain( RTL_OSVERSIONINFOW rovi; DWORD32 ubr = VnGetOSVersionAndUBR(&rovi); - BOOL bOk = TRUE, bInstall = TRUE, bWasShellExt = FALSE, bIsUpdate = FALSE, bForcePromptForUninstall = FALSE, bExplorerStartedFix = FALSE; + BOOL bOk = TRUE, bInstall = TRUE, bWasShellExt = FALSE, bIsUpdate = FALSE, bForcePromptForUninstall = FALSE; SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2); @@ -1163,11 +1163,6 @@ int WINAPI wWinMain( { if (!bInstall) { - // The messagebox may not be visible in certain situations, causing the screen to remain black as it blocks the launch of Explorer. - // Therefore, to mitigate this issue, we ensure that Explorer is started beforehand. - StartExplorerWithDelay(1000, userToken); - if (userToken != INVALID_HANDLE_VALUE) CloseHandle(userToken); - bExplorerStartedFix = TRUE; if (bWasShellExt) { if (MessageBox( @@ -1251,11 +1246,8 @@ int WINAPI wWinMain( exit(0); } - if (!bExplorerStartedFix) - { - StartExplorerWithDelay(1000, userToken); - if (userToken != INVALID_HANDLE_VALUE) CloseHandle(userToken); - } + StartExplorerWithDelay(1000, userToken); + if (userToken != INVALID_HANDLE_VALUE) CloseHandle(userToken); } return GetLastError();