diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 5e8f5a7..92def9e 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -15,6 +15,7 @@ "core:window:allow-set-decorations", "core:window:allow-set-position", "core:window:allow-set-theme", + "core:window:allow-set-title", "custom-window:default", "os:default", "process:default", diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 5597dbd..7e0ea7e 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -25,7 +25,6 @@ }, { "label": "preference", - "title": "偏好设置", "url": "index.html/#/preference", "visible": false, "titleBarStyle": "Overlay", diff --git a/src/locales/en-US.json b/src/locales/en-US.json index 1a3a543..5b7cfc5 100644 --- a/src/locales/en-US.json +++ b/src/locales/en-US.json @@ -6,6 +6,7 @@ } }, "preference": { + "title": "Preferences", "cat": { "title": "Cat", "labels": { @@ -50,11 +51,16 @@ }, "hints": { "showTaskbarIcon": "Once enabled, you can capture the window via OBS Studio.", - "inputMonitoringPermission": "Enable input monitoring permission to receive system keyboard and mouse events to respond to your actions." + "inputMonitoringPermission": "Enable input monitoring permission to receive system keyboard and mouse events to respond to your actions.", + "inputMonitoringPermissionGuide": "If the permission is already enabled, first select it and click the \"-\" button to remove it. Then add it again manually and restart the application to ensure the permission takes effect." }, "status": { "authorized": "Authorized", "authorize": "Go to Enable" + }, + "buttons": { + "openNow": "Open Now", + "openLater": "Open Later" } }, "model": { diff --git a/src/locales/vi-VN.json b/src/locales/vi-VN.json index 301316b..5aec764 100644 --- a/src/locales/vi-VN.json +++ b/src/locales/vi-VN.json @@ -6,6 +6,7 @@ } }, "preference": { + "title": "Tùy chỉnh", "cat": { "title": "Mèo", "labels": { @@ -50,11 +51,16 @@ }, "hints": { "showTaskbarIcon": "Bật để có thể quay cửa sổ qua OBS.", - "inputMonitoringPermission": "Bật quyền giám sát để nhận sự kiện bàn phím và chuột từ hệ thống nhằm phản hồi thao tác của bạn." + "inputMonitoringPermission": "Bật quyền giám sát để nhận sự kiện bàn phím và chuột từ hệ thống nhằm phản hồi thao tác của bạn.", + "inputMonitoringPermissionGuide": "Nếu quyền đã được bật, hãy chọn nó và nhấn nút \"-\" để xóa. Sau đó thêm lại thủ công và khởi động lại ứng dụng để đảm bảo quyền được áp dụng." }, "status": { "authorized": "Đã cấp quyền", "authorize": "Đi đến Bật" + }, + "buttons": { + "openNow": "Mở ngay", + "openLater": "Mở sau" } }, "model": { diff --git a/src/locales/zh-CN.json b/src/locales/zh-CN.json index 37983fd..6f0f966 100644 --- a/src/locales/zh-CN.json +++ b/src/locales/zh-CN.json @@ -6,6 +6,7 @@ } }, "preference": { + "title": "偏好设置", "cat": { "title": "猫咪设置", "labels": { @@ -50,11 +51,16 @@ }, "hints": { "showTaskbarIcon": "启用后,即可通过 OBS Studio 捕获窗口。", - "inputMonitoringPermission": "开启输入监控权限,以便接收系统的键盘和鼠标事件来响应你的操作。" + "inputMonitoringPermission": "开启输入监控权限,以便接收系统的键盘和鼠标事件来响应你的操作。", + "inputMonitoringPermissionGuide": "如果权限已开启,请先选中并点击“-”按钮将其删除,然后重新手动添加,最后重启应用以确保权限生效。" }, "status": { "authorized": "已授权", "authorize": "去授权" + }, + "buttons": { + "openNow": "前往开启", + "openLater": "稍后开启" } }, "model": { diff --git a/src/pages/preference/components/about/index.vue b/src/pages/preference/components/about/index.vue index 608ca9a..259069d 100644 --- a/src/pages/preference/components/about/index.vue +++ b/src/pages/preference/components/about/index.vue @@ -78,7 +78,7 @@ function feedbackIssue() { - +