refactor(setting): rename local repo paths setting

This commit is contained in:
InfinityPacer
2026-04-19 03:03:22 +08:00
parent df66b3e917
commit 7b20a7b775
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1467,8 +1467,8 @@ export default {
logFileFormatHint: 'Set the output format of log files to customize the displayed content of logs', logFileFormatHint: 'Set the output format of log files to customize the displayed content of logs',
pluginAutoReload: 'Plugin Hot Reload', pluginAutoReload: 'Plugin Hot Reload',
pluginAutoReloadHint: 'Automatically reload after modifying plugin files, used when developing plugins', pluginAutoReloadHint: 'Automatically reload after modifying plugin files, used when developing plugins',
pluginLocalPaths: 'Local Plugin Paths', pluginLocalRepoPaths: 'Local Plugin Repository Paths',
pluginLocalPathsHint: pluginLocalRepoPathsHint:
'Local plugin repository directories. Separate multiple directories with commas. Relative and absolute paths are supported.', 'Local plugin repository directories. Separate multiple directories with commas. Relative and absolute paths are supported.',
encodingDetectionPerformanceMode: 'Encoding Detection Performance Mode', encodingDetectionPerformanceMode: 'Encoding Detection Performance Mode',
encodingDetectionPerformanceModeHint: encodingDetectionPerformanceModeHint:
+2 -2
View File
@@ -1459,8 +1459,8 @@ export default {
logFileFormatHint: '设置日志文件的输出格式,用于自定义日志的显示内容', logFileFormatHint: '设置日志文件的输出格式,用于自定义日志的显示内容',
pluginAutoReload: '插件热加载', pluginAutoReload: '插件热加载',
pluginAutoReloadHint: '修改插件文件后自动重新加载,开发插件时使用', pluginAutoReloadHint: '修改插件文件后自动重新加载,开发插件时使用',
pluginLocalPaths: '本地插件路径', pluginLocalRepoPaths: '本地插件仓库路径',
pluginLocalPathsHint: '本地插件仓库目录,多个目录用英文逗号分隔,支持相对路径和绝对路径', pluginLocalRepoPathsHint: '本地插件仓库目录,多个目录用英文逗号分隔,支持相对路径和绝对路径',
encodingDetectionPerformanceMode: '编码探测性能模式', encodingDetectionPerformanceMode: '编码探测性能模式',
encodingDetectionPerformanceModeHint: '优先提升探测效率,但可能降低编码探测的准确性', encodingDetectionPerformanceModeHint: '优先提升探测效率,但可能降低编码探测的准确性',
transferThreads: '文件整理线程数', transferThreads: '文件整理线程数',
+2 -2
View File
@@ -1460,8 +1460,8 @@ export default {
logFileFormatHint: '設置日誌文件的輸出格式,用於自定義日誌的顯示內容', logFileFormatHint: '設置日誌文件的輸出格式,用於自定義日誌的顯示內容',
pluginAutoReload: '插件熱加載', pluginAutoReload: '插件熱加載',
pluginAutoReloadHint: '修改插件文件後自動重新加載,開發插件時使用', pluginAutoReloadHint: '修改插件文件後自動重新加載,開發插件時使用',
pluginLocalPaths: '本地插件路徑', pluginLocalRepoPaths: '本地插件倉庫路徑',
pluginLocalPathsHint: '本地插件倉庫目錄,多個目錄用英文逗號分隔,支持相對路徑和絕對路徑', pluginLocalRepoPathsHint: '本地插件倉庫目錄,多個目錄用英文逗號分隔,支持相對路徑和絕對路徑',
encodingDetectionPerformanceMode: '編碼探測性能模式', encodingDetectionPerformanceMode: '編碼探測性能模式',
encodingDetectionPerformanceModeHint: '優先提升探測效率,但可能降低編碼探測的準確性', encodingDetectionPerformanceModeHint: '優先提升探測效率,但可能降低編碼探測的準確性',
transferThreads: '文件整理線程數', transferThreads: '文件整理線程數',
+4 -4
View File
@@ -84,7 +84,7 @@ const SystemSettings = ref<any>({
LOG_FILE_FORMAT: '【%(levelname)s】%(asctime)s - %(message)s', LOG_FILE_FORMAT: '【%(levelname)s】%(asctime)s - %(message)s',
// 实验室 // 实验室
PLUGIN_AUTO_RELOAD: false, PLUGIN_AUTO_RELOAD: false,
PLUGIN_LOCAL_PATHS: '', PLUGIN_LOCAL_REPO_PATHS: '',
ENCODING_DETECTION_PERFORMANCE_MODE: true, ENCODING_DETECTION_PERFORMANCE_MODE: true,
TRANSFER_THREADS: 1, TRANSFER_THREADS: 1,
}, },
@@ -1461,9 +1461,9 @@ onDeactivated(() => {
</VCol> </VCol>
<VCol cols="12" md="6"> <VCol cols="12" md="6">
<VTextField <VTextField
v-model="SystemSettings.Advanced.PLUGIN_LOCAL_PATHS" v-model="SystemSettings.Advanced.PLUGIN_LOCAL_REPO_PATHS"
:label="t('setting.system.pluginLocalPaths')" :label="t('setting.system.pluginLocalRepoPaths')"
:hint="t('setting.system.pluginLocalPathsHint')" :hint="t('setting.system.pluginLocalRepoPathsHint')"
persistent-hint persistent-hint
prepend-inner-icon="mdi-folder-code" prepend-inner-icon="mdi-folder-code"
/> />