feat(language): 添加多语言支持和文件关联管理器

- 新增 FileAssociationManager 类,用于管理文件扩展名与程序的关联
- 添加多语言支持,包括中文(简体、繁体)、英文、日文等
- 新增语言配置文件,定义了各种界面文本和提示信息
- 实现了在不同操作系统(Windows、macOS、Linux)上的文件关联功能
This commit is contained in:
tzdwindows 7
2025-03-02 20:54:15 +08:00
parent 0310d046aa
commit 452e6709a1
8 changed files with 1599 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#Current Loaded Language
#Sun Mar 02 19:35:49 CST 2025
loadedLanguage=system\:zh_CN

View File

@@ -0,0 +1,99 @@
default_theme.system.topicName=Default Theme
default_theme.default.tip=Default theme
metal_theme.system.topicName=Metal Style
metal_theme.default.tip=Metal style
motif_theme.system.topicName=Motif Style
motif_theme.default.tip=Motif style
flatLightLaf_theme.system.topicName=flatLightLaf Style
flatLightLaf_theme.default.tip=flatLightLaf style
mainWindow.title=Axis Creation Toolbox v1.0
mainWindow.title.2=Axis Creation Toolbox
mainWindow.settings.title=System Settings
andShow.title=Program Crash Report
andShow.title.2=<html><h2 style='color: #D32F2F;'>A serious error occurred in the program</h2></html>
andShow.title.3=<html><h3 style='color: #FF0000;'>Please report it to us!</h3></html>
andShow.pluginInfo.title==== Loaded Plugins ===
andShow.pluginInfo.title.1=Plugin Name:
andShow.pluginInfo.title.2=Plugin Description:
andShow.pluginInfo.title.3=Supported Versions:
andShow.pluginInfo.exportButton=Export Report
andShow.pluginInfo.closeButton=Close
andShow.pluginInfo.writer=The report has been saved to:
andShow.pluginInfo.writer.title=Export Successful
andShow.pluginInfo.writer.error=Export Failed:
andShow.pluginInfo.error.writer.title=Error
progressBarManager.title=Loading...
fridaWindow.title=Frida Injection Tool
fridaWindow.pidField=Enter Process PID
fridaWindow.browseButton=Select Process
fridaWindow.panel=Script Editor
fridaWindow.injectButton=Inject Script
fridaWindow.panel.log=Log Output
fridaWindow.processSelectionWindow=Select Process
fridaWindow.processSelectionWindow.search=Search Process
fridaWindow.processSelectionWindow.columns.1=Process Name
fridaWindow.processSelectionWindow.columns.2=Process ID
fridaWindow.processSelectionWindow.selectButton=Select
localWindow.newBtn=New Conversation
localWindow.saveBtn=Save Record
localWindow.cudaCheck=Enable CUDA
localWindow.searchBtn=Start Search
localWindow.searchBtn.1=Close Search
localWindow.searchBtn.appendMessage=Search functionality is enabled
localWindow.searchBtn.appendMessage.1=Search functionality is disabled
localWindow.sendButton=Send
localWindow.prompt.system=You are a helpful AI assistant. Please respond to user questions in a friendly and natural tone. Users may provide search results, and you should integrate those results into your answers.
localWindow.prompt.system.2=You are a search-focused assistant. Users will provide links, summaries, titles, and scraped content, and your job is to output the most relevant content to the user's question.
localWindow.prompt.name=[User]
settings.1.title=Plugins
settings.2.title=Basic Settings
settings.3.title=About
settings.4.title=Themes
settings.1.tip=Plugin Management
settings.2.tip=Appearance Settings
settings.3.tip=Version Information
settings.4.tip=Theme Management
settings.1.columns.1=Plugin Name
settings.1.columns.2=Supported Versions
settings.1.columns.3=Description
settings.1.scrollPane=Loaded Plugin List
settings.2.color=Interface Theme Color:
settings.2.colorBtn=Select Color
settings.2.colorBtn.color=Select Theme Color
settings.2.font=Interface Font:
settings.2.fontBtn=Select Font
settings.2.showConfirmDialog=Select Font
settings.2.cuda=Use CUDA for AI Inference:
settings.2.cudaCheckBox=Enable CUDA Acceleration
settings.2.cuda.error=Unable to reload AI inference library, please check the CUDA environment
settings.2.cuda.error.1=Error
settings.2.language=Interface Language:
settings.2.language.error=Unknown Language
settings.3.infoArea.1=Software Version:
settings.3.infoArea.2=Developer:
settings.4.no_theme=No available themes
settings.4.search=Search
settings.4.search_empty=Please enter search content!
settings.4.search_empty_title=Prompt
settings.4.search_not_found=No matching themes found!
settings.4.search_not_found_title=Prompt
settings.4.loading=This theme has already been loaded, no need to load again!
settings.4.loading_title=Prompt
settings.4.load=Load Theme
settings.4.info=Theme Class:
settings.4.info.1=Theme Name:
settings.4.info.2=Tip:
settings.4.info.3=Register Name:
settings.4.load_theme_success=Theme '
settings.4.load_theme_success.2=' loaded successfully!
settings.4.load_theme_success.3=Success
settings.4.load_theme_error=Failed to load theme:
settings.4.load_theme_error.title=Error

View File

@@ -0,0 +1,106 @@
# \u30C6\u30FC\u30DE\u95A2\u9023
default_theme.system.topicName=\u30C7\u30D5\u30A9\u30EB\u30C8\u30C6\u30FC\u30DE
default_theme.default.tip=\u30C7\u30D5\u30A9\u30EB\u30C8\u30C6\u30FC\u30DE
metal_theme.system.topicName=\u30E1\u30BF\u30EB\u30B9\u30BF\u30A4\u30EB
metal_theme.default.tip=\u30E1\u30BF\u30EB\u30B9\u30BF\u30A4\u30EB
motif_theme.system.topicName=\u30E2\u30C1\u30FC\u30D5\u30B9\u30BF\u30A4\u30EB
motif_theme.default.tip=\u30E2\u30C1\u30FC\u30D5\u30B9\u30BF\u30A4\u30EB
flatLightLaf_theme.system.topicName=\u30D5\u30E9\u30C3\u30C8\u30E9\u30A4\u30C8\u30B9\u30BF\u30A4\u30EB
flatLightLaf_theme.default.tip=\u30D5\u30E9\u30C3\u30C8\u30E9\u30A4\u30C8\u30B9\u30BF\u30A4\u30EB
# \u30E1\u30A4\u30F3\u30A6\u30A3\u30F3\u30C9\u30A6
mainWindow.title=Axis\u30AF\u30EA\u30A8\u30FC\u30B7\u30E7\u30F3\u30C4\u30FC\u30EB\u30DC\u30C3\u30AF\u30B9 v1.0
mainWindow.title.2=Axis\u30AF\u30EA\u30A8\u30FC\u30B7\u30E7\u30F3\u30C4\u30FC\u30EB\u30DC\u30C3\u30AF\u30B9
mainWindow.settings.title=\u30B7\u30B9\u30C6\u30E0\u8A2D\u5B9A
# \u30A8\u30E9\u30FC\u30C0\u30A4\u30A2\u30ED\u30B0
andShow.title=\u30D7\u30ED\u30B0\u30E9\u30E0\u30AF\u30E9\u30C3\u30B7\u30E5\u30EC\u30DD\u30FC\u30C8
andShow.title.2=<html><h2 style='color: #D32F2F;'>\u91CD\u5927\u306A\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F</h2></html>
andShow.title.3=<html><h3 style='color: #FF0000;'>\u958B\u767A\u8005\u306B\u5831\u544A\u3057\u3066\u304F\u3060\u3055\u3044</h3></html>
andShow.pluginInfo.title==== \u8AAD\u307F\u8FBC\u307E\u308C\u305F\u30D7\u30E9\u30B0\u30A4\u30F3 ===
andShow.pluginInfo.title.1=\u30D7\u30E9\u30B0\u30A4\u30F3\u540D:
andShow.pluginInfo.title.2=\u8AAC\u660E:
andShow.pluginInfo.title.3=\u5BFE\u5FDC\u30D0\u30FC\u30B8\u30E7\u30F3:
andShow.pluginInfo.exportButton=\u30EC\u30DD\u30FC\u30C8\u51FA\u529B
andShow.pluginInfo.closeButton=\u9589\u3058\u308B
andShow.pluginInfo.writer=\u30EC\u30DD\u30FC\u30C8\u306E\u4FDD\u5B58\u5148:
andShow.pluginInfo.writer.title=\u51FA\u529B\u6210\u529F
andShow.pluginInfo.writer.error=\u51FA\u529B\u5931\u6557:
andShow.pluginInfo.error.writer.title=\u30A8\u30E9\u30FC
# \u30D7\u30ED\u30B0\u30EC\u30B9\u30D0\u30FC
progressBarManager.title=\u8AAD\u307F\u8FBC\u307F\u4E2D...
# Frida\u30C4\u30FC\u30EB
fridaWindow.title=Frida\u30A4\u30F3\u30B8\u30A7\u30AF\u30B7\u30E7\u30F3\u30C4\u30FC\u30EB
fridaWindow.pidField=\u30D7\u30ED\u30BB\u30B9PID\u3092\u5165\u529B
fridaWindow.browseButton=\u30D7\u30ED\u30BB\u30B9\u9078\u629E
fridaWindow.panel=\u30B9\u30AF\u30EA\u30D7\u30C8\u30A8\u30C7\u30A3\u30BF
fridaWindow.injectButton=\u30B9\u30AF\u30EA\u30D7\u30C8\u6CE8\u5165
fridaWindow.panel.log=\u30ED\u30B0\u51FA\u529B
fridaWindow.processSelectionWindow=\u30D7\u30ED\u30BB\u30B9\u9078\u629E
fridaWindow.processSelectionWindow.search=\u30D7\u30ED\u30BB\u30B9\u691C\u7D22
fridaWindow.processSelectionWindow.columns.1=\u30D7\u30ED\u30BB\u30B9\u540D
fridaWindow.processSelectionWindow.columns.2=\u30D7\u30ED\u30BB\u30B9ID
fridaWindow.processSelectionWindow.selectButton=\u9078\u629E
# \u30ED\u30FC\u30AB\u30EB\u30C1\u30E3\u30C3\u30C8
localWindow.newBtn=\u65B0\u898F\u4F1A\u8A71
localWindow.saveBtn=\u4FDD\u5B58
localWindow.cudaCheck=CUDA\u3092\u6709\u52B9\u5316
localWindow.searchBtn=\u691C\u7D22\u958B\u59CB
localWindow.searchBtn.1=\u691C\u7D22\u7D42\u4E86
localWindow.searchBtn.appendMessage=\u691C\u7D22\u6A5F\u80FD\u304C\u6709\u52B9\u3067\u3059
localWindow.searchBtn.appendMessage.1=\u691C\u7D22\u6A5F\u80FD\u304C\u7121\u52B9\u3067\u3059
localWindow.sendButton=\u9001\u4FE1
localWindow.prompt.system=\u3042\u306A\u305F\u306F\u89AA\u5207\u306AAI\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3067\u3059\u3002\u30E6\u30FC\u30B6\u30FC\u306E\u8CEA\u554F\u306B\u53CB\u597D\u7684\u3067\u81EA\u7136\u306A\u53E3\u8ABF\u3067\u7B54\u3048\u3066\u304F\u3060\u3055\u3044\u3002\u691C\u7D22\u7D50\u679C\u3092\u6D3B\u7528\u3057\u3066\u56DE\u7B54\u3092\u69CB\u6210\u3057\u307E\u3059\u3002
localWindow.prompt.system.2=\u691C\u7D22\u7279\u5316\u578B\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3068\u3057\u3066\u3001\u63D0\u4F9B\u3055\u308C\u305F\u60C5\u5831\u304B\u3089\u6700\u3082\u95A2\u9023\u6027\u306E\u9AD8\u3044\u5185\u5BB9\u3092\u62BD\u51FA\u3057\u3066\u56DE\u7B54\u3057\u307E\u3059\u3002
localWindow.prompt.name=[\u30E6\u30FC\u30B6\u30FC]
# \u8A2D\u5B9A\u753B\u9762
settings.1.title=\u30D7\u30E9\u30B0\u30A4\u30F3\u7BA1\u7406
settings.2.title=\u57FA\u672C\u8A2D\u5B9A
settings.3.title=\u30D0\u30FC\u30B8\u30E7\u30F3\u60C5\u5831
settings.4.title=\u30C6\u30FC\u30DE\u8A2D\u5B9A
settings.1.tip=\u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u7BA1\u7406\u3068\u8A2D\u5B9A
settings.2.tip=\u8868\u793A\u8A2D\u5B9A\u306E\u8ABF\u6574
settings.3.tip=\u30BD\u30D5\u30C8\u30A6\u30A7\u30A2\u306E\u60C5\u5831
settings.4.tip=\u30C6\u30FC\u30DE\u306E\u9078\u629E\u3068\u7BA1\u7406
settings.1.columns.1=\u30D7\u30E9\u30B0\u30A4\u30F3\u540D
settings.1.columns.2=\u5BFE\u5FDC\u30D0\u30FC\u30B8\u30E7\u30F3
settings.1.columns.3=\u8AAC\u660E
settings.1.scrollPane=\u8AAD\u307F\u8FBC\u307E\u308C\u305F\u30D7\u30E9\u30B0\u30A4\u30F3
settings.2.color=\u30C6\u30FC\u30DE\u30AB\u30E9\u30FC:
settings.2.colorBtn=\u8272\u9078\u629E
settings.2.colorBtn.color=\u30C6\u30FC\u30DE\u30AB\u30E9\u30FC\u9078\u629E
settings.2.font=\u30D5\u30A9\u30F3\u30C8\u8A2D\u5B9A:
settings.2.fontBtn=\u30D5\u30A9\u30F3\u30C8\u9078\u629E
settings.2.showConfirmDialog=\u30D5\u30A9\u30F3\u30C8\u9078\u629E
settings.2.cuda=AI\u63A8\u8AD6\u306BCUDA\u3092\u4F7F\u7528:
settings.2.cudaCheckBox=CUDA\u30A2\u30AF\u30BB\u30E9\u30EC\u30FC\u30B7\u30E7\u30F3
settings.2.cuda.error=AI\u63A8\u8AD6\u30E9\u30A4\u30D6\u30E9\u30EA\u306E\u518D\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F
settings.2.cuda.error.1=\u30A8\u30E9\u30FC
settings.2.language=\u8868\u793A\u8A00\u8A9E:
settings.2.language.error=\u4E0D\u660E\u306A\u8A00\u8A9E
settings.3.infoArea.1=\u30D0\u30FC\u30B8\u30E7\u30F3:
settings.3.infoArea.2=\u958B\u767A\u8005:
settings.4.no_theme=\u5229\u7528\u53EF\u80FD\u306A\u30C6\u30FC\u30DE\u304C\u3042\u308A\u307E\u305B\u3093
settings.4.search=\u691C\u7D22
settings.4.search_empty=\u691C\u7D22\u8A9E\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044
settings.4.search_empty_title=\u901A\u77E5
settings.4.search_not_found=\u8A72\u5F53\u3059\u308B\u30C6\u30FC\u30DE\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093
settings.4.search_not_found_title=\u901A\u77E5
settings.4.loading=\u3053\u306E\u30C6\u30FC\u30DE\u306F\u65E2\u306B\u8AAD\u307F\u8FBC\u307E\u308C\u3066\u3044\u307E\u3059
settings.4.loading_title=\u901A\u77E5
settings.4.load=\u30C6\u30FC\u30DE\u8AAD\u307F\u8FBC\u307F
settings.4.info=\u30C6\u30FC\u30DE\u30AF\u30E9\u30B9:
settings.4.info.1=\u30C6\u30FC\u30DE\u540D:
settings.4.info.2=\u30D2\u30F3\u30C8:
settings.4.info.3=\u767B\u9332\u540D:
settings.4.load_theme_success=\u30C6\u30FC\u30DE '
settings.4.load_theme_success.2=' \u306E\u8AAD\u307F\u8FBC\u307F\u306B\u6210\u529F\u3057\u307E\u3057\u305F
settings.4.load_theme_success.3=\u6210\u529F
settings.4.load_theme_error=\u30C6\u30FC\u30DE\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557:
settings.4.load_theme_error.title=\u30A8\u30E9\u30FC

View File

@@ -0,0 +1,110 @@
default_theme.system.topicName=\u9ED8\u8BA4\u4E3B\u9898
default_theme.default.tip=\u9ED8\u8BA4\u7684\u4E3B\u9898
metal_theme.system.topicName=Metal\u98CE\u683C
metal_theme.default.tip=Metal\u98CE\u683C
motif_theme.system.topicName=Motif\u98CE\u683C
motif_theme.default.tip=Motif\u98CE\u683C
flatLightLaf_theme.system.topicName=flatLightLaf\u98CE\u683C
flatLightLaf_theme.default.tip=flatLightLaf\u98CE\u683C
mainWindow.title=\u8F74\u521B\u5DE5\u5177\u7BB1 v1.0
mainWindow.title.2=\u8F74\u521B\u5DE5\u5177\u7BB1
mainWindow.settings.title=\u7CFB\u7EDF\u8BBE\u7F6E
andShow.title=\u7A0B\u5E8F\u5D29\u6E83\u62A5\u544A
andShow.title.2=<html><h2 style='color: #D32F2F;'>\u7A0B\u5E8F\u53D1\u751F\u4E25\u91CD\u9519\u8BEF</h2></html>
andShow.title.3=<html><h3 style='color: #FF0000;'>\u8BF7\u5411\u6211\u4EEC\u53CD\u9988\uFF01</h3></html>
andShow.pluginInfo.title==== \u52A0\u8F7D\u7684\u63D2\u4EF6 ===
andShow.pluginInfo.title.1=\u63D2\u4EF6\u540D\u79F0:
andShow.pluginInfo.title.2=\u63D2\u4EF6\u63CF\u8FF0:
andShow.pluginInfo.title.3=\u652F\u6301\u7684\u7248\u672C:
andShow.pluginInfo.exportButton=\u5BFC\u51FA\u62A5\u544A
andShow.pluginInfo.closeButton=\u5173\u95ED
andShow.pluginInfo.writer=\u62A5\u544A\u5DF2\u4FDD\u5B58\u81F3:
andShow.pluginInfo.writer.title=\u5BFC\u51FA\u6210\u529F
andShow.pluginInfo.writer.error=\u5BFC\u51FA\u5931\u8D25:
andShow.pluginInfo.error.writer.title=\u9519\u8BEF
progressBarManager.title=\u52A0\u8F7D\u4E2D...
fridaWindow.title=Frida \u6CE8\u5165\u5DE5\u5177
fridaWindow.pidField=\u8BF7\u8F93\u5165\u8FDB\u7A0BPID
fridaWindow.browseButton=\u9009\u62E9\u8FDB\u7A0B
fridaWindow.panel=\u811A\u672C\u7F16\u8F91\u5668
fridaWindow.injectButton=\u6CE8\u5165\u811A\u672C
fridaWindow.panel.log=\u65E5\u5FD7\u8F93\u51FA
fridaWindow.processSelectionWindow=\u9009\u62E9\u8FDB\u7A0B
fridaWindow.processSelectionWindow.search=\u641C\u7D22\u8FDB\u7A0B
fridaWindow.processSelectionWindow.columns.1=\u8FDB\u7A0B\u540D\u79F0
fridaWindow.processSelectionWindow.columns.2=\u8FDB\u7A0BID
fridaWindow.processSelectionWindow.selectButton=\u9009\u62E9
fridaWindow.button.inject=\u6CE8\u5165
fridaWindow.button.inject.pid=\u6253\u5F00PID\u9009\u9879\u5361
fridaWindow.inject.end=[INFO] \u6CE8\u5165\u5DF2\u505C\u6B62
fridaWindow.inject.end.err=[ERROR] \u505C\u6B62\u5931\u8D25:
fridaWindow.inject.end.err.1=[WARN] \u6CA1\u6709\u6B63\u5728\u8FD0\u884C\u7684\u6CE8\u5165\u8FDB\u7A0B
fridaWindow.menu=\u6587\u4EF6
fridaWindow.menu.exit=\u9000\u51FA
fridaWindow.menu.2=\u9000\u51FA
fridaWindow.menu.help=\u5E2E\u52A9
fridaWindow.menu.help.about=\u5173\u4E8E
localWindow.newBtn=\u65B0\u5BF9\u8BDD
localWindow.saveBtn=\u4FDD\u5B58\u8BB0\u5F55
localWindow.cudaCheck=\u542F\u7528CUDA
localWindow.searchBtn=\u5F00\u542F\u641C\u7D22
localWindow.searchBtn.1=\u5173\u95ED\u641C\u7D22
localWindow.searchBtn.appendMessage=\u641C\u7D22\u529F\u80FD\u5DF2\u5F00\u542F
localWindow.searchBtn.appendMessage.1=\u641C\u7D22\u529F\u80FD\u5DF2\u5173\u95ED
localWindow.sendButton=\u53D1\u9001
localWindow.prompt.system=\u4F60\u662F\u4E00\u4E2A\u4E50\u4E8E\u52A9\u4EBA\u7684AI\u52A9\u624B\uFF0C\u8BF7\u7528\u53CB\u597D\u81EA\u7136\u7684\u8BED\u6C14\u56DE\u7B54\u7528\u6237\u95EE\u9898,\u7528\u6237\u53EF\u80FD\u4F1A\u63D0\u4F9B\u4E00\u4E9B\u641C\u7D22\u7ED3\u679C\u8BF7\u4F60\u7ED3\u5408\u641C\u7D22\u7ED3\u679C\u6765\u56DE\u7B54\u7528\u6237\u3002
localWindow.prompt.system.2=\u4F60\u662F\u4E00\u4E2A\u4E13\u6CE8\u68C0\u7D22\u641C\u7D22\u4FE1\u606F\u7684\u52A9\u624B\uFF0C\u7528\u6237\u5C06\u63D0\u4F9B\u4E00\u4E9B\u94FE\u63A5\u3001\u6458\u8981\u3001\u6807\u9898\u3001\u722C\u53D6\u5230\u7684\u5185\u5BB9\uFF0C\u4F60\u7684\u4F5C\u7528\u5C31\u662F\u8F93\u51FA\u4E3B\u8981\u5185\u5BB9\u4E0E\u7528\u6237\u95EE\u9898\u76F8\u5173\u7684\u5185\u5BB9\u3002
localWindow.prompt.name=\u3010\u7528\u6237\u3011
settings.1.title=\u63D2\u4EF6
settings.2.title=\u57FA\u7840\u8BBE\u7F6E
settings.3.title=\u5173\u4E8E
settings.4.title=\u4E3B\u9898
settings.1.tip=\u63D2\u4EF6\u7BA1\u7406
settings.2.tip=\u5916\u89C2\u8BBE\u7F6E
settings.3.tip=\u7248\u672C\u4FE1\u606F
settings.4.tip=\u4E3B\u9898\u7BA1\u7406
settings.1.columns.0=\u63D2\u4EF6\u7C7B\u578B
settings.1.columns.1=\u63D2\u4EF6\u540D\u79F0
settings.1.columns.2=\u7248\u672C\u652F\u6301
settings.1.columns.3=\u63CF\u8FF0
settings.1.scrollPane=\u5DF2\u52A0\u8F7D\u63D2\u4EF6\u5217\u8868
settings.2.color=\u754C\u9762\u4E3B\u9898\u989C\u8272\uFF1A
settings.2.colorBtn=\u9009\u62E9\u989C\u8272
settings.2.colorBtn.color=\u9009\u62E9\u4E3B\u9898\u989C\u8272
settings.2.font=\u754C\u9762\u5B57\u4F53\uFF1A
settings.2.fontBtn=\u9009\u62E9\u5B57\u4F53
settings.2.showConfirmDialog=\u9009\u62E9\u5B57\u4F53
settings.2.cuda=AI\u63A8\u7406\u65F6\u4F7F\u7528CUDA\uFF1A
settings.2.cudaCheckBox=\u542F\u7528CUDA\u52A0\u901F
settings.2.cuda.error=\u65E0\u6CD5\u91CD\u65B0\u52A0\u8F7DAI\u63A8\u7406\u5E93\uFF0C\u8BF7\u68C0\u67E5CUDA\u73AF\u5883
settings.2.cuda.error.1=\u9519\u8BEF
settings.2.language=\u754C\u9762\u8BED\u8A00\uFF1A
settings.2.language.error=\u672A\u77E5\u8BED\u8A00
settings.3.infoArea.1=\u8F6F\u4EF6\u7248\u672C:
settings.3.infoArea.2=\u5F00\u53D1\u4F5C\u8005:
settings.4.no_theme=\u6CA1\u6709\u53EF\u7528\u7684\u4E3B\u9898
settings.4.search=\u641C\u7D22
settings.4.search_empty=\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9\uFF01
settings.4.search_empty_title=\u63D0\u793A
settings.4.search_not_found=\u672A\u627E\u5230\u5339\u914D\u7684\u4E3B\u9898\uFF01
settings.4.search_not_found_title=\u63D0\u793A
settings.4.loading=\u8BE5\u4E3B\u9898\u5DF2\u52A0\u8F7D\uFF0C\u65E0\u9700\u91CD\u590D\u52A0\u8F7D\uFF01
settings.4.loading_title=\u63D0\u793A
settings.4.load=\u52A0\u8F7D\u4E3B\u9898
settings.4.info=\u4E3B\u9898\u7C7B:
settings.4.info.1=\u4E3B\u9898\u540D:
settings.4.info.2=\u63D0\u793A:
settings.4.info.3=\u6CE8\u518C\u540D:
settings.4.load_theme_success=\u4E3B\u9898 '
settings.4.load_theme_success.2=' \u5DF2\u6210\u529F\u52A0\u8F7D\uFF01
settings.4.load_theme_success.3=\u6210\u529F
settings.4.load_theme_error=\u52A0\u8F7D\u4E3B\u9898\u5931\u8D25:
settings.4.load_theme_error.title=\u9519\u8BEF

View File

@@ -0,0 +1,99 @@
default_theme.system.topicName=\u9810\u8A2D\u4E3B\u984C
default_theme.default.tip=\u9810\u8A2D\u7684\u4E3B\u984C
metal_theme.system.topicName=Metal\u98A8\u683C
metal_theme.default.tip=Metal\u98A8\u683C
motif_theme.system.topicName=Motif\u98A8\u683C
motif_theme.default.tip=Motif\u98A8\u683C
flatLightLaf_theme.system.topicName=flatLightLaf\u98A8\u683C
flatLightLaf_theme.default.tip=flatLightLaf\u98A8\u683C
mainWindow.title=\u8EF8\u5275\u5DE5\u5177\u7BB1 v1.0
mainWindow.title.2=\u8EF8\u5275\u5DE5\u5177\u7BB1
mainWindow.settings.title=\u7CFB\u7D71\u8A2D\u7F6E
andShow.title=\u7A0B\u5F0F\u5D29\u6F70\u5831\u544A
andShow.title.2=<html><h2 style='color: #D32F2F;'>\u7A0B\u5F0F\u767C\u751F\u56B4\u91CD\u932F\u8AA4</h2></html>
andShow.title.3=<html><h3 style='color: #FF0000;'>\u8ACB\u5411\u6211\u5011\u53CD\u994B\uFF01</h3></html>
andShow.pluginInfo.title==== \u8F09\u5165\u7684\u63D2\u4EF6 ===
andShow.pluginInfo.title.1=\u63D2\u4EF6\u540D\u7A31:
andShow.pluginInfo.title.2=\u63D2\u4EF6\u63CF\u8FF0:
andShow.pluginInfo.title.3=\u652F\u63F4\u7684\u7248\u672C:
andShow.pluginInfo.exportButton=\u532F\u51FA\u5831\u544A
andShow.pluginInfo.closeButton=\u95DC\u9589
andShow.pluginInfo.writer=\u5831\u544A\u5DF2\u5132\u5B58\u81F3:
andShow.pluginInfo.writer.title=\u532F\u51FA\u6210\u529F
andShow.pluginInfo.writer.error=\u532F\u51FA\u5931\u6557:
andShow.pluginInfo.error.writer.title=\u932F\u8AA4
progressBarManager.title=\u52A0\u8F09\u4E2D...
fridaWindow.title=Frida \u6CE8\u5165\u5DE5\u5177
fridaWindow.pidField=\u8F38\u5165\u9032\u7A0BPID
fridaWindow.browseButton=\u9078\u64C7\u9032\u7A0B
fridaWindow.panel=\u8173\u672C\u7DE8\u8F2F\u5668
fridaWindow.injectButton=\u6CE8\u5165\u8173\u672C
fridaWindow.panel.log=\u65E5\u8A8C\u8F38\u51FA
fridaWindow.processSelectionWindow=\u9078\u64C7\u9032\u7A0B
fridaWindow.processSelectionWindow.search=\u641C\u5C0B\u9032\u7A0B
fridaWindow.processSelectionWindow.columns.1=\u9032\u7A0B\u540D\u7A31
fridaWindow.processSelectionWindow.columns.2=\u9032\u7A0BID
fridaWindow.processSelectionWindow.selectButton=\u9078\u64C7
localWindow.newBtn=\u65B0\u5C0D\u8A71
localWindow.saveBtn=\u4FDD\u5B58\u8A18\u9304
localWindow.cudaCheck=\u555F\u7528CUDA
localWindow.searchBtn=\u958B\u555F\u641C\u5C0B
localWindow.searchBtn.1=\u95DC\u9589\u641C\u5C0B
localWindow.searchBtn.appendMessage=\u641C\u5C0B\u529F\u80FD\u5DF2\u958B\u555F
localWindow.searchBtn.appendMessage.1=\u641C\u5C0B\u529F\u80FD\u5DF2\u95DC\u9589
localWindow.sendButton=\u767C\u9001
localWindow.prompt.system=\u4F60\u662F\u4E00\u4E2A\u4E50\u4E8E\u52A9\u4EBA\u7684AI\u52A9\u624B\uFF0C\u8BF7\u7528\u53CB\u597D\u81EA\u7136\u7684\u8BED\u6C14\u56DE\u7B54\u7528\u6237\u95EE\u9898,\u7528\u6237\u53EF\u80FD\u4F1A\u63D0\u4F9B\u4E00\u4E9B\u641C\u7D22\u7ED3\u679C\u8BF7\u4F60\u7ED3\u5408\u641C\u7D22\u7ED3\u679C\u6765\u56DE\u7B54\u7528\u6237\u3002
localWindow.prompt.system.2=\u4F60\u662F\u4E00\u4E2A\u4E13\u6CE8\u68C0\u7D22\u641C\u7D22\u4FE1\u606F\u7684\u52A9\u624B\uFF0C\u7528\u6237\u5C06\u63D0\u4F9B\u4E00\u4E9B\u94FE\u63A5\u3001\u6458\u8981\u3001\u6807\u9898\u3001\u722C\u53D6\u5230\u7684\u5185\u5BB9\uFF0C\u4F60\u7684\u4F5C\u7528\u5C31\u662F\u8F93\u51FA\u4E3B\u8981\u5185\u5BB9\u4E0E\u7528\u6237\u95EE\u9898\u76F8\u5173\u7684\u5185\u5BB9\u3002
localWindow.prompt.name=[\u7528\u6236]
settings.1.title=\u63D2\u4EF6
settings.2.title=\u57FA\u672C\u8A2D\u7F6E
settings.3.title=\u95DC\u65BC
settings.4.title=\u4E3B\u984C
settings.1.tip=\u63D2\u4EF6\u7BA1\u7406
settings.2.tip=\u5916\u89C0\u8A2D\u7F6E
settings.3.tip=\u7248\u672C\u4FE1\u606F
settings.4.tip=\u4E3B\u984C\u7BA1\u7406
settings.1.columns.1=\u63D2\u4EF6\u540D\u7A31
settings.1.columns.2=\u7248\u672C\u652F\u6301
settings.1.columns.3=\u63CF\u8FF0
settings.1.scrollPane=\u5DF2\u8F09\u5165\u63D2\u4EF6\u5217\u8868
settings.2.color=\u4ECB\u9762\u4E3B\u984C\u984F\u8272\uFF1A
settings.2.colorBtn=\u9078\u64C7\u984F\u8272
settings.2.colorBtn.color=\u9078\u64C7\u4E3B\u984C\u984F\u8272
settings.2.font=\u4ECB\u9762\u5B57\u9AD4\uFF1A
settings.2.fontBtn=\u9078\u64C7\u5B57\u9AD4
settings.2.showConfirmDialog=\u9078\u64C7\u5B57\u9AD4
settings.2.cuda=AI\u63A8\u7406\u6642\u4F7F\u7528CUDA\uFF1A
settings.2.cudaCheckBox=\u555F\u7528CUDA\u52A0\u901F
settings.2.cuda.error=\u7121\u6CD5\u91CD\u65B0\u52A0\u8F09AI\u63A8\u7406\u5EAB\uFF0C\u8ACB\u6AA2\u67E5CUDA\u74B0\u5883
settings.2.cuda.error.1=\u932F\u8AA4
settings.2.language=\u4ECB\u9762\u8A9E\u8A00\uFF1A
settings.2.language.error=\u672A\u77E5\u8A9E\u8A00
settings.3.infoArea.1=\u8EDF\u9AD4\u7248\u672C:
settings.3.infoArea.2=\u958B\u767C\u4F5C\u8005:
settings.4.no_theme=\u6C92\u6709\u53EF\u7528\u7684\u4E3B\u984C
settings.4.search=\u641C\u5C0B
settings.4.search_empty=\u8ACB\u8F38\u5165\u641C\u5C0B\u5167\u5BB9\uFF01
settings.4.search_empty_title=\u63D0\u793A
settings.4.search_not_found=\u672A\u627E\u5230\u5339\u914D\u7684\u4E3B\u984C\uFF01
settings.4.search_not_found_title=\u63D0\u793A
settings.4.loading=\u8A72\u4E3B\u984C\u5DF2\u8F09\u5165\uFF0C\u7121\u9700\u91CD\u8907\u8F09\u5165\uFF01
settings.4.loading_title=\u63D0\u793A
settings.4.load=\u52A0\u8F09\u4E3B\u984C
settings.4.info=\u4E3B\u984C\u985E\u5225:
settings.4.info.1=\u4E3B\u984C\u540D\u7A31:
settings.4.info.2=\u63D0\u793A:
settings.4.info.3=\u8A3B\u518A\u540D\u7A31:
settings.4.load_theme_success=\u4E3B\u984C '
settings.4.load_theme_success.2=' \u5DF2\u6210\u529F\u52A0\u8F09\uFF01
settings.4.load_theme_success.3=\u6210\u529F
settings.4.load_theme_error=\u52A0\u8F09\u4E3B\u984C\u5931\u6557:
settings.4.load_theme_error.title=\u932F\u8AA4

1139
mapping.properties Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,43 @@
package com.axis.innovators.box.util;
import java.io.IOException;
/**
* 文件扩展名管理器
* @author tzdwindows 7
*/
public class FileAssociationManager {
/**
* 将指定的文件扩展名与程序关联
* @param extension 文件扩展名,例如 ".txt"
*/
public static void associateFileExtension(String extension) throws IOException {
associateProgramWithExtension(extension, System.getProperty("user.dir") + "\\toolbox.exe");
}
/**
* 将指定的程序与文件扩展名关联
*
* @param extension 文件扩展名,例如 ".txt"
* @param programPath 程序的完整路径,例如 "C:\\Program Files\\Notepad++\\notepad++.exe"
* @throws IOException 如果关联失败时抛出异常
*/
private static void associateProgramWithExtension(String extension, String programPath) throws IOException {
String os = System.getProperty("os.name").toLowerCase();
if (os.contains("win")) {
String command = "assoc " + extension + "=MyFileType";
Runtime.getRuntime().exec(command);
command = "ftype MyFileType=\"" + programPath + "\" \"%1\"";
Runtime.getRuntime().exec(command);
} else if (os.contains("mac")) {
String command = "duti -s " + programPath + " " + extension + " all";
Runtime.getRuntime().exec(command);
} else if (os.contains("nix") || os.contains("nux") || os.contains("aix")) {
String command = "xdg-mime default " + programPath + " " + extension;
Runtime.getRuntime().exec(command);
} else {
throw new UnsupportedOperationException("Unsupported operating system: " + os);
}
}
}

0
state/toolbox.properties Normal file
View File