修复bug, 优化代码

This commit is contained in:
蓝点lilac
2021-03-10 23:21:52 +08:00
parent 958d2a0576
commit 480b5d6c19
31 changed files with 405 additions and 308 deletions

View File

@@ -10,7 +10,7 @@ AppName = Windows Context Menu Manager
[ToolBar]
Home = Home
Type = File Type Rules
Type = File Types
Rule = Other Rules
Refresh = Refresh
About = About
@@ -32,8 +32,8 @@ OpenWith = Open with
WinX = Win+X
LnkFile = .lnk file
UwpLnk = UWP .lnk files
ExeFile = .exe
UwpLnk = UWP .lnk
ExeFile = .exe files
TextFile = Text file
ImageFile = Image file
@@ -142,43 +142,8 @@ RestoreDefault = Restore default
Edit = Edit
Save = Save
[Item]
Open = Open (& O)
Edit = Edit (& E)
Explore = Explorer (& X)
Play = Play (& L)
Print = Print (& P)
Find = Find (& E) ...
Runas = Run as administrator (& A)
CustomFolder = Customize this folder (& F) ...
MapNetworkDrive = Map Network Drive (& N) ...
DisconnectNetworkDrive = Disconnect Network Drive (& C) ...
RecycleBinProperties = Properties (& R)
RemovableDrive = Removable Disk
BuildSendtoMenu = Create "Send to" submenu
UseStoreOpenWith = Find apps in Microsoft Store
ShareWithSkype = Share using Skype
NewItem = Create new menu item
AddGuidBlockedItem = Add GUID blocked item
CurrentExtension = The currently selected file type is
LockNewMenu = Lock the new menu
EditSubItems = Edit sub-menu items for "% s"
InvalidItem = Invalid menu item:
Separator = ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
SelectExtension = Please select a file extension
SelectPerceivedType = Please select a perceived file type
SelectDirectoryType = Please select a perceived folder type
CurrentExtension = The currently selected file extension is %s
CurrentPerceivedType = The currently selected perceived file type is %s
CurrentDirectoryType = The currently selected perceived folder type is %s
WinXSortable = Enable WinX menu sorting function
ShowFilePath = Show file path of item in status bar on hover
OpenMoreRegedit = Allow the registry editor to open more
[Dialog]
Ok = Confirm
Ok = OK
Cancel = Cancel
Browse = Browse
Program = Program
@@ -214,12 +179,12 @@ DocumentDirectory = Document folder
ImageDirectory = Image folder
VideoDirectory = Video folder
AudioDirectory = Audio folder
CheckReference = Check the menu item to which you want to add a reference to
CheckCommon = Check the common menu items you want to add
CheckCopy = Check the menu item you want to copy
SelectExtension = Please select a file extension
SelectPerceivedType = Please select a perceived file type
SelectDirectoryType = Please select a perceived folder type
SelectGroup = Select to save the group
SelectSubMenuMode = The number of sub-items in the current multi-level menu is 0. There are two choices:\n① All sub-menu items in this multi-level menu are private (recommended),\n② The multi-level menu can reference the same sub-items as other multi-level menus.\nDemanding choice...
@@ -240,7 +205,6 @@ NoOpenModeExtension = There is no app associated with this extension.\nRight-cli
CannotChangePath = File path changes are not allowed!
CopiedToClipboard = Copy to clipboard:
MalformedGuid = GUID with incorrect format
UnknownGuid = Unknown GUID!
HasBeenAdded = This item has been added!
@@ -278,12 +242,38 @@ LockNewMenu = Once enabled, it can prevent third-party programs from adding item
CheckUpdate = The program automatically looks for updates once a month (when the program is started)\nYou can manually click to browse Github, Gitee to check for updates
LastCheckUpdateTime = Last automatic update check time:
OpenLanguagesDir = Open language folder
OtherLanguages = Download or upload files in other languages
OpenDictionariesDir = Open dictionary folder
ConfigPath = After changing the configuration and data file save path,\nsome of the enhanced menus that have been enabled will become invalid.\nThey can be re-enabled in the enhanced menu
CommandFiles = This command depends on the configuration file. Moving the configuration file location will cause this menu item to become invalid. Re-enable it.
CreateGroup = Create a new group
[Other]
Open = &Open
Edit = &Edit
Explore = E&xplorer
Play = P&lay
Print = &Print
Find = Find(&E)...
Runas = Run as &administrator
CustomFolder = Customize this &folder...
MapNetworkDrive = Map &Network Drive...
DisconnectNetworkDrive = Disconnect Network Drive(&C) ...
RecycleBinProperties = Properties(&R)
RemovableDrive = Removable Disk
BuildSendtoMenu = Create "Send to" submenu
UseStoreOpenWith = Find apps in Microsoft Store
ShareWithSkype = Share using Skype
NewItem = Create new menu item
AddGuidBlockedItem = Add GUID blocked item
CurrentExtension = The currently selected file type is
LockNewMenu = Lock the new menu
EditSubItems = Edit sub-menu items for "% s"
InvalidItem = Invalid menu item:
Separator = >>>>>> Separator <<<<<<
CurrentExtension = The currently selected file extension is %s
CurrentPerceivedType = The currently selected perceived file type is %s
CurrentDirectoryType = The currently selected perceived folder type is %s
RestartExplorer = Explorer must be restarted for the changes to take effect.
DictionaryDescription = Dictionary description
LanguageDictionary = Language
@@ -291,7 +281,6 @@ GuidInfosDictionary = GUID information
ThridRulesDictionary = Third-party rules
CommonItemsDictionary = Common Menu
Translators = Translators
OtherLanguages = Download or upload files in other languages
DonationList = Donation list
ConfigPath = Save location of configuration and data files
@@ -306,9 +295,12 @@ ProtectOpenItem = Protect the "Open" menu item
WebSearchEngine = Search engine used for web searches
CustomEngine = Custom
SetCustomEngine = Define search engine (use %s instead of search keywords)
WinXSortable = Enable WinX menu sorting function
ShowFilePath = Show file path of item in status bar on hover
OpenMoreRegedit = Allow the registry editor to open more
AboutApp = [Main function]\n 1. Manage common location context menu\n 2. Customize and add context menu\n\n[Compatibility]\n 1. Suitable for Win7, 8, 8.1, 10, Vista\n 2. Suitable For x64, x32 CPU operating system\n 3. Adapt to high resolution screens, the best zoom ratio is 150%\n\n[Open source code]\n 1. Code language: C#, Winform program\n 2. GitHub project: https://github.com/BluePointLilac/ContextMenuManager\n 3. Gitee project: https://gitee.com/BluePointLilac/ContextMenuManager\n\n[Contact Author]\n 1. The program is developed by myself, yet I of course also want to thank Meng Yanshe @ Kengchen for answering questions in normal times, since my ability for this is limited.\n There are inevitably some bugs, and everyone is welcome to leave feedback and make suggestions\n 2. Personal B station: https://space.bilibili.com/34492771 (I welcome everyone to follow me!)\n 3. QQ mailbox: 1617859183@qq.com\n\n[Resource Reference]\n 1. The main program icon comes from: https://www.easyicon.net/1208132-mouse_icon.html\n 2. Program button icons are mainly from the Alibaba vector icon library: https://www.iconfont.cn/\n 3. WinX HashLnk (Rafael Rivera): https://github.com/riverar/hashlnk\n\n[Program update]\n 1. The program has a check and update function. In addition to updating the program itself, it also updates the dictionary. After the download is complete, you can directly overwrite the original file.\n 2. Because GitHub Raw is walled and Gitee Raw has a monthly access limit, the program is set to check for updates once a month.\n You can also browse the GitHub Releases column or the Gitee release column to check if there are updates\n\n[Warm Tips]\n 1. Some special menu items may be affected by other factors, they will not be displayed in the context menu.\n However, they will still be displayed as enabled in this program according to the general rules used by the program. This is normal.\n 2. The method of disabling the menu for each context menu management program may be different. It is recommended not to use multiple context menu management programs at the same time.\n Most programs use a simple and violent backup-delete method. This program uses the key values provided by the system to hide operations as much as possible.\n If you have used other programs to disable the menu item before, please use the corresponding program to restore it, otherwise you may not be able to see it in this program.\n 3. This program is not used to clean up programs that have not been uninstalled, but it can help you locate the registry and file locations of the menu items.\n You can perform your operations according to the relevant content. If you are a computer novice, you are recommended to only touch the enable\disable switch.
Dictionaries = [Dictionary description]\n This program has several dictionary files, and each dictionary has a user dictionary and a network dictionary.\n If you want to add a dictionary to this program, you can right-click to save the file and follow the instructions in the file to add it.\n Send your dictionary to my email or submit it to GitHub to make your contribution to this project.\n The right tab is the original dictionary content, you can switch the tab to view it\n\n[Dictionary content]\n 1. Program display text language dictionary (Languages directory)\n 2. ShellEx menu item GUID text icon dictionary (GuidInfosDic.ini)\n 3. Third-party program menu internal setting dictionary (ThirdRulesDic.xml)\n 4. Enhanced menu items Dictionary (EnhanceMenusDic.xml)
Donate = This program is completely free. If you find this software helpful, you can donate by scanning the QR code below\n (WeChat, Alipay, Tencent QQ). The amount is up to you. Thank you for your support! \nI also hope you consider starring this program's project on Github or Gitee (this means a lot to me!)
Donate = This program is completely free. If you find this software helpful,\nyou can donate by scanning the QR code below (WeChat, Alipay, Tencent QQ).\nThe amount is up to you. Thank you for your support! I also hope you consider \nstarring this program's project on Github or Gitee (this means a lot to me!).

View File

@@ -12,6 +12,7 @@ AppName = Windows右ボタン管理
Home = ホーム
Type = ファイルタイプ
Rule = 他のルール
Refresh = リフレッシュ
About = ヘルプ
[SideBar]
@@ -33,15 +34,8 @@ WinX = Win+X
LnkFile = lnkファイル
UwpLnk = uwp lnk
ExeFile = アプリケーション
TextFile = テキストファイル
ImageFile = イメージファイル
VideoFile = ビデオファイル
AudioFile = オーディオファイル
ImageDirectory = イメージディレクトリ
VideoDirectory = ビデオディレクトリ
AudioDirectory = オーディオディレクトリ
UnknownType = 不明な形式
CustomType = カスタムフォーマット
CustomExtension = カスタムフォーマット
GuidBlocked = GUIDロック
ThirdRules = 第三者のルール
@@ -111,28 +105,6 @@ InitialData = 初期データ
Edit = 編集
Save = 保存
[Item]
Open = 開く(&O)
Edit = 編集(&E)
Explore = エクスプローラー(&X)
Play = 再生(&L)
Print = 印刷(&P)
Find = 検索(&E)...
Runas = 管理者として実行(&A)
CustomFolder = このフォルダーのカスタマイズ(&F)...
MapNetworkDrive = ネットワークドライブの割り当て(&N)...
DisconnectNetworkDrive = ネットワークドライブの切断(&C)...
RecycleBinProperties = プロパティ(&R)
RemovableDrive = リムーバブルディスク
BuildSendtoMenu = 「送る」サブメニューを作成
UseStoreOpenWith = Microsoft Storeでアプリを探す
NewItem = 新しいメニュー項目を作成
AddGuidBlockedItem = GUIDロックアイテムを追加
CurrentExtension = 現在選択しているファイル形式は
EditSubItems = s」のサブメニュー項目を編集
InvalidItem = 無効なメニュー項目:
Separator = ◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆◆
[Dialog]
Ok = 確認
Cancel = キャンセル
@@ -146,9 +118,16 @@ ItemCommand = 菜アイテムコマンド
SingleMenu = シングルメニュー
MultiMenu = マルチメニュー
InputGuid = ガイドを入力
SelectExtension = ファイル拡張子を選択してください
TextFile = テキストファイル
ImageFile = イメージファイル
VideoFile = ビデオファイル
AudioFile = オーディオファイル
ImageDirectory = イメージディレクトリ
VideoDirectory = ビデオディレクトリ
AudioDirectory = オーディオディレクトリ
CheckReference = 引用を追加したいメニュー項目をチェックしてください
CheckCommon = 追加したい一般的なメニュー項目を確認してください
SelectExtension = ファイル拡張子を選択してください
SelectSubMenuMode = 当現在のマルチレベルメニューのサブ項目数は0です。二つの選択肢がある:\n①このマルチレベルメニューのすべてのサブメニュー項目はプライベートですが、\n②このマルチレベルメニューは、他のマルチレベルメニューと同じサブアイテムを参照できます、\n選択してください。
[MessageBox]
@@ -184,15 +163,35 @@ AddExistingItems = 既存のプロジェクトへの参照を追加
AddSeparator = 仕切りを追加
Separator = プロジェクトの分割線
AddCommonItems =よく使うメニュー項目を追加
OtherLanguages = 他の言語でファイルをダウンロードまたはアップロードする
[Other]
Open = 開く(&O)
Edit = 編集(&E)
Explore = エクスプローラー(&X)
Play = 再生(&L)
Print = 印刷(&P)
Find = 検索(&E)...
Runas = 管理者として実行(&A)
CustomFolder = このフォルダーのカスタマイズ(&F)...
MapNetworkDrive = ネットワークドライブの割り当て(&N)...
DisconnectNetworkDrive = ネットワークドライブの切断(&C)...
RecycleBinProperties = プロパティ(&R)
RemovableDrive = リムーバブルディスク
BuildSendtoMenu = 「送る」サブメニューを作成
UseStoreOpenWith = Microsoft Storeでアプリを探す
NewItem = 新しいメニュー項目を作成
AddGuidBlockedItem = GUIDロックアイテムを追加
CurrentExtension = 現在選択しているファイル形式は
EditSubItems = s」のサブメニュー項目を編集
InvalidItem = 無効なメニュー項目:
Separator = >>>>>> プロジェクトの分割線 <<<<<<
DictionaryDescription = 辞書説明
LanguageDictionary = Language
GuidInfosDictionary = GUID情報
ThridRulesDictionary = 第三者のルール
CommonItemsDictionary = 一般メニュー
Translators = 翻訳者
OtherLanguages = 他の言語でファイルをダウンロードまたはアップロードする
RestartExplorer = 現在の一部の操作を有効にするには、ファイルエクスプローラーを再起動する必要があります
AboutApp =

View File

@@ -46,6 +46,7 @@ DragDrop = 右键拖拽
PublicReferences = 公共引用
GuidBlocked = GUID 锁
IEMenu = IE 右键
AppSetting = 程序设置
AppLanguage = 程序语言
Dictionaries = 程序字典
@@ -121,38 +122,6 @@ RestoreDefault = 还原默认
Edit = 编辑
Save = 保存
[Item]
Open = 打开(&O)
Edit = 编辑(&E)
Explore = 浏览(&X)
ExploreOld = 资源管理器(&X)
Play = 播放(&L)
Print = 打印(&P)
Find = 搜索(&E)...
Runas = 以管理员身份运行(&A)
CustomFolder = 自定义文件夹(&F)...
MapNetworkDrive = 映射网络驱动器(&N)...
DisconnectNetworkDrive = 断开网络驱动器的连接(&C)...
RecycleBinProperties = 属性(&R)
RemovableDrive = 可移动磁盘
BuildSendtoMenu = 快速构建发送到子菜单
UseStoreOpenWith = 在Microsoft Store中查找应用
NewItem = 新建一个菜单项目
AddGuidBlockedItem = 添加GUID锁定项目
LockNewMenu = 锁定新建菜单
EditSubItems = 编辑 "%s" 的子菜单项目
InvalidItem = 无效菜单项目:
Separator = >>>>>> 分割线 <<<<<<
SelectExtension = 请选择一个文件扩展名
SelectPerceivedType = 请选择一个文件感知类型
SelectDirectoryType = 请选择一个目录感知类型
CurrentExtension = 你当前选择的文件扩展名为 %s
CurrentPerceivedType = 你当前选择的文件感知类型为 %s
CurrentDirectoryType = 你当前选择的目录感知类型为 %s
WinXSortable = 启用 WinX 菜单排序功能
ShowFilePath = 状态栏实时显示文件路径
OpenMoreRegedit = 允许注册表编辑器多开
[Dialog]
Ok = 确认
Cancel = 取消
@@ -184,6 +153,9 @@ VideoDirectory = 视频目录
AudioDirectory = 音频目录
CheckReference = 请勾选你想要引用的菜单项目
CheckCopy = 请勾选你想要复制的菜单项目
SelectExtension = 请选择一个文件扩展名
SelectPerceivedType = 请选择一个文件感知类型
SelectDirectoryType = 请选择一个目录感知类型
SelectGroup = 请选择保存分组
SelectNewItemType = 请选择新建菜单类型
SelectSubMenuMode = 该多级菜单子项目数为0, 你有两个选择:\n①该多级菜单的所有子菜单项目私有(推荐),\n②该多级菜单可与其他多级菜单引用相同子项,\n请做出你的选择......
@@ -234,17 +206,45 @@ LockNewMenu = 启用后可阻止第三方程序增加项目\n且可对现有项
CheckUpdate = 程序每月自动检测一次更新 (启动程序时)\n你可手动点击浏览Github、Gitee检查更新
LastCheckUpdateTime = 上次自动更新检查时间:
OpenLanguagesDir = 打开语言文件夹
OtherLanguages = 下载或上传其他语言文件
OpenDictionariesDir = 打开字典文件夹
ConfigPath = 更改配置和数据文件保存路径后,\n会导致部分已启用增强菜单失效,\n可在增强菜单中重新启用一遍
CommandFiles = 此命令依赖配置文件,移动配置文件位置\n会导致此菜单项失效重新启用一遍即可
CreateGroup = 新建一个分组
[Other]
Open = 打开(&O)
Edit = 编辑(&E)
Explore = 浏览(&X)
ExploreOld = 资源管理器(&X)
Play = 播放(&L)
Print = 打印(&P)
Find = 搜索(&E)...
Runas = 以管理员身份运行(&A)
CustomFolder = 自定义文件夹(&F)...
MapNetworkDrive = 映射网络驱动器(&N)...
DisconnectNetworkDrive = 断开网络驱动器的连接(&C)...
RecycleBinProperties = 属性(&R)
RemovableDrive = 可移动磁盘
BuildSendtoMenu = 快速构建发送到子菜单
UseStoreOpenWith = 在Microsoft Store中查找应用
NewItem = 新建一个菜单项目
AddGuidBlockedItem = 添加GUID锁定项目
LockNewMenu = 锁定新建菜单
EditSubItems = 编辑 "%s" 的子菜单项目
InvalidItem = 无效菜单项目:
Separator = >>>>>> 分割线 <<<<<<
CurrentExtension = 你当前选择的文件扩展名为 %s
CurrentPerceivedType = 你当前选择的文件感知类型为 %s
CurrentDirectoryType = 你当前选择的目录感知类型为 %s
WinXSortable = 启用 WinX 菜单排序功能
ShowFilePath = 状态栏实时显示文件路径
OpenMoreRegedit = 允许注册表编辑器多开
RestartExplorer = 当前部分操作需要重启文件资源管理器生效
DictionaryDescription = 字典说明
GuidInfosDictionary = GUID信息
Translators = 翻译贡献者
OtherLanguages = 下载或上传其他语言文件
DonationList = 捐赠名单
ConfigPath = 配置和数据文件保存位置
AppDataDir = AppData 目录