feat: setting plugin config

This commit is contained in:
Junyan Qin
2025-08-17 21:01:43 +08:00
parent b176959836
commit 8b2480ad3b
10 changed files with 61 additions and 71 deletions
+5 -1
View File
@@ -170,7 +170,7 @@ const enUS = {
saveConfig: 'Save Config',
saving: 'Saving...',
confirmDeletePlugin:
'Are you sure you want to delete the plugin ({{author}}/{{name}})?',
'Are you sure you want to delete the plugin ({{author}}/{{name}})? This will also delete the plugin configuration.',
confirmDelete: 'Confirm Delete',
deleteError: 'Delete failed: ',
close: 'Close',
@@ -205,6 +205,10 @@ const enUS = {
updating: 'Updating...',
updateSuccess: 'Plugin updated successfully',
updateError: 'Update failed: ',
saveConfigSuccessNormal: 'Configuration saved successfully',
saveConfigSuccessDebugPlugin:
'Configuration saved successfully, please manually restart the plugin',
saveConfigError: 'Configuration save failed: ',
},
market: {
searchPlaceholder: 'Search plugins...',
+5 -1
View File
@@ -170,7 +170,7 @@ const jaJP = {
saveConfig: '設定を保存',
saving: '保存中...',
confirmDeletePlugin:
'プラグイン「{{author}}/{{name}}」を削除してもよろしいですか?',
'プラグイン「{{author}}/{{name}}」を削除してもよろしいですか?この操作により、プラグインの設定も削除されます。',
confirmDelete: '削除を確認',
deleteError: '削除に失敗しました:',
close: '閉じる',
@@ -205,6 +205,10 @@ const jaJP = {
updating: '更新中...',
updateSuccess: 'プラグインの更新に成功しました',
updateError: '更新に失敗しました:',
saveConfigSuccessNormal: '設定を保存しました',
saveConfigSuccessDebugPlugin:
'設定を保存しました。手動でプラグインを再起動してください',
saveConfigError: '設定の保存に失敗しました:',
},
market: {
searchPlaceholder: 'プラグインを検索...',
+5 -1
View File
@@ -166,7 +166,8 @@ const zhHans = {
cancel: '取消',
saveConfig: '保存配置',
saving: '保存中...',
confirmDeletePlugin: '你确定要删除插件({{author}}/{{name}})吗?',
confirmDeletePlugin:
'你确定要删除插件({{author}}/{{name}})吗?这将同时删除插件的配置。',
confirmDelete: '确认删除',
deleteError: '删除失败:',
close: '关闭',
@@ -199,6 +200,9 @@ const zhHans = {
updating: '更新中...',
updateSuccess: '插件更新成功',
updateError: '更新失败:',
saveConfigSuccessNormal: '保存配置成功',
saveConfigSuccessDebugPlugin: '保存配置成功,请手动重启插件',
saveConfigError: '保存配置失败:',
},
market: {
searchPlaceholder: '搜索插件...',