Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(mobile): 移除设置中的被控权限说明 (#3961)

Dash81e383b5acb4
diff --git a/apps/mobile/src/i18n/locales/en/settings.json b/apps/mobile/src/i18n/locales/en/settings.json
index b22caa8d4d..7873fb750b 100644
--- a/apps/mobile/src/i18n/locales/en/settings.json
+++ b/apps/mobile/src/i18n/locales/en/settings.json
@@ -58,9 +58,6 @@
"deviceName": "Device Name",
"deviceNameDetail": "This name appears in the authorization list on your computer.",
"platform": "Platform",
- "remoteControl": "Remote Control",
- "remoteControlValue": "Managed on desktop",
- "remoteControlDetail": "This phone acts only as a controller. Granting, revoking, and restoring control permissions is done in desktop settings.",
"editAccessibility": "Edit {{label}}"
},
"relay": {
diff --git a/apps/mobile/src/i18n/locales/ja/settings.json b/apps/mobile/src/i18n/locales/ja/settings.json
index 8c4db41d05..8f7b431c66 100644
--- a/apps/mobile/src/i18n/locales/ja/settings.json
+++ b/apps/mobile/src/i18n/locales/ja/settings.json
@@ -58,9 +58,6 @@
"deviceName": "デバイス名",
"deviceNameDetail": "パソコン側の承認リストにこの名前が表示されます。",
"platform": "プラットフォーム",
- "remoteControl": "リモート制御権限",
- "remoteControlValue": "パソコン側で管理",
- "remoteControlDetail": "このスマートフォンは操作する側としてのみ動作します。被操作の許可・取り消し・復元はパソコン側の設定で行います。",
"editAccessibility": "{{label}}を変更"
},
"relay": {
diff --git a/apps/mobile/src/i18n/locales/ko/settings.json b/apps/mobile/src/i18n/locales/ko/settings.json
index 66d1a71dba..e61053560c 100644
--- a/apps/mobile/src/i18n/locales/ko/settings.json
+++ b/apps/mobile/src/i18n/locales/ko/settings.json
@@ -58,9 +58,6 @@
"deviceName": "기기 이름",
"deviceNameDetail": "컴퓨터의 승인 목록에 이 이름이 표시됩니다.",
"platform": "플랫폼",
- "remoteControl": "원격 제어 권한",
- "remoteControlValue": "데스크톱에서 관리",
- "remoteControlDetail": "이 휴대폰은 제어하는 쪽으로만 동작합니다. 피제어 허용·철회·복원은 데스크톱 설정에서 진행합니다.",
"editAccessibility": "{{label}} 수정"
},
"relay": {
diff --git a/apps/mobile/src/i18n/locales/zh-CN/settings.json b/apps/mobile/src/i18n/locales/zh-CN/settings.json
index 4ac9092098..fdac779c89 100644
--- a/apps/mobile/src/i18n/locales/zh-CN/settings.json
+++ b/apps/mobile/src/i18n/locales/zh-CN/settings.json
@@ -58,9 +58,6 @@
"deviceName": "设备名称",
"deviceNameDetail": "电脑端授权列表会显示这个名称。",
"platform": "平台",
- "remoteControl": "被控权限",
- "remoteControlValue": "电脑端管理",
- "remoteControlDetail": "手机只作为控制端。允许被控、撤销和恢复权限仍在电脑端设置里完成。",
"editAccessibility": "修改{{label}}"
},
"relay": {
diff --git a/apps/mobile/src/i18n/locales/zh-TW/settings.json b/apps/mobile/src/i18n/locales/zh-TW/settings.json
index 88af8d2f6b..3babe9a8d1 100644
--- a/apps/mobile/src/i18n/locales/zh-TW/settings.json
+++ b/apps/mobile/src/i18n/locales/zh-TW/settings.json
@@ -58,9 +58,6 @@
"deviceName": "裝置名稱",
"deviceNameDetail": "電腦端授權列表會顯示這個名稱。",
"platform": "平臺",
- "remoteControl": "被控權限",
- "remoteControlValue": "電腦端管理",
- "remoteControlDetail": "手機只作為控制端。允許被控、撤銷和恢復權限仍在電腦端設定裡完成。",
"editAccessibility": "修改{{label}}"
},
"relay": {
diff --git a/apps/mobile/src/settings/mobileSettings.ts b/apps/mobile/src/settings/mobileSettings.ts
index 7564c4908e..d6f75e89d9 100644
--- a/apps/mobile/src/settings/mobileSettings.ts
+++ b/apps/mobile/src/settings/mobileSettings.ts
@@ -87,12 +87,6 @@ export function buildMobileSettingsOverview(input: MobileSettingsOverviewInput):
label: i18n.t('settings.about.platform'),
value: platformLabel(input.platform),
},
- {
- id: 'about.remoteControl',
- label: i18n.t('settings.about.remoteControl'),
- value: i18n.t('settings.about.remoteControlValue'),
- detail: i18n.t('settings.about.remoteControlDetail'),
- },
]),
},
{