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): 将插件远控入口文案简化为打开桌面

Dash77ec4c297e93
diff --git a/apps/mobile/src/i18n/locales/en/interaction.json b/apps/mobile/src/i18n/locales/en/interaction.json
index 1883a613a5..a5ccf2cf51 100644
--- a/apps/mobile/src/i18n/locales/en/interaction.json
+++ b/apps/mobile/src/i18n/locales/en/interaction.json
@@ -197,7 +197,7 @@
"photoNotReadable": "This photo can't be read right now (it may not have finished downloading from iCloud). Try again later."
},
"pluginSetup": {
- "remoteDesktop": "Control {{device}} to complete setup",
+ "remoteDesktop": "Open desktop",
"completeOnDesktop": "Use Remote Desktop to complete setup on the computer. Login, authorization and credentials stay on that computer; this card updates automatically.",
"chooseOne": "Choose one setup method",
"progress": "{{satisfied}}/{{total}} completed",
diff --git a/apps/mobile/src/i18n/locales/ja/interaction.json b/apps/mobile/src/i18n/locales/ja/interaction.json
index c99ff7cba7..fcf93e899a 100644
--- a/apps/mobile/src/i18n/locales/ja/interaction.json
+++ b/apps/mobile/src/i18n/locales/ja/interaction.json
@@ -197,7 +197,7 @@
"photoNotReadable": "この写真は現在読み込めません(iCloud からのダウンロードが未完了の可能性があります)。後でもう一度お試しください。"
},
"pluginSetup": {
- "remoteDesktop": "{{device}} を遠隔操作して設定",
+ "remoteDesktop": "デスクトップを開く",
"completeOnDesktop": "リモートデスクトップでパソコンを操作して設定できます。ログイン、認証、認証情報の保存はすべてそのパソコンで行われ、このカードは自動的に更新されます。",
"chooseOne": "設定方法を1つ選択してください",
"progress": "{{satisfied}}/{{total}} 完了",
diff --git a/apps/mobile/src/i18n/locales/ko/interaction.json b/apps/mobile/src/i18n/locales/ko/interaction.json
index 5a1b800c2d..cc75f2d393 100644
--- a/apps/mobile/src/i18n/locales/ko/interaction.json
+++ b/apps/mobile/src/i18n/locales/ko/interaction.json
@@ -197,7 +197,7 @@
"photoNotReadable": "이 사진은 지금 읽을 수 없습니다(iCloud에서 다운로드가 완료되지 않았을 수 있습니다). 나중에 다시 시도하세요."
},
"pluginSetup": {
- "remoteDesktop": "{{device}} 원격 조작으로 설정 완료",
+ "remoteDesktop": "데스크톱 열기",
"completeOnDesktop": "원격 데스크톱으로 컴퓨터를 조작하여 설정하세요. 로그인, 인증 및 인증 정보 저장은 모두 해당 컴퓨터에서 이루어지며 이 카드는 자동으로 업데이트됩니다.",
"chooseOne": "설정 방법을 하나 선택하세요",
"progress": "{{satisfied}}/{{total}} 완료",
diff --git a/apps/mobile/src/i18n/locales/zh-CN/interaction.json b/apps/mobile/src/i18n/locales/zh-CN/interaction.json
index 4b9a7c149d..df48d6ce2e 100644
--- a/apps/mobile/src/i18n/locales/zh-CN/interaction.json
+++ b/apps/mobile/src/i18n/locales/zh-CN/interaction.json
@@ -197,7 +197,7 @@
"photoNotReadable": "这张照片暂时无法读取(可能还没从 iCloud 下载完成),请稍后重试。"
},
"pluginSetup": {
- "remoteDesktop": "遥控 {{device}} 完成设置",
+ "remoteDesktop": "打开桌面",
"completeOnDesktop": "可通过远程桌面操作电脑完成设置。登录、授权和凭据保存均在该电脑进行,本卡片会自动更新状态。",
"chooseOne": "选择一种配置方式",
"progress": "{{satisfied}}/{{total}} 已完成",
diff --git a/apps/mobile/src/i18n/locales/zh-TW/interaction.json b/apps/mobile/src/i18n/locales/zh-TW/interaction.json
index 9eaccc5182..2b60d7617c 100644
--- a/apps/mobile/src/i18n/locales/zh-TW/interaction.json
+++ b/apps/mobile/src/i18n/locales/zh-TW/interaction.json
@@ -197,7 +197,7 @@
"photoNotReadable": "這張照片暫時無法讀取(可能還沒從 iCloud 下載完成),請稍後重試。"
},
"pluginSetup": {
- "remoteDesktop": "遙控 {{device}} 完成設定",
+ "remoteDesktop": "開啟桌面",
"completeOnDesktop": "可透過遠端桌面操作電腦完成設定。登入、授權和憑據儲存均在該電腦進行,本卡片會自動更新狀態。",
"chooseOne": "選擇一種配置方式",
"progress": "{{satisfied}}/{{total}} 已完成",
diff --git a/apps/mobile/src/session/InteractionPanel.tsx b/apps/mobile/src/session/InteractionPanel.tsx
index 4000401614..b1431dba9b 100644
--- a/apps/mobile/src/session/InteractionPanel.tsx
+++ b/apps/mobile/src/session/InteractionPanel.tsx
@@ -1608,7 +1608,7 @@ function PluginSetupRemoteDesktopButton({ deviceId, busy }: { deviceId: string;
const styles = useInteractionStyles();
const { t } = useTranslation();
const deviceName = devices.find(device => device.deviceId === deviceId)?.name || deviceId;
- const label = t('interaction.pluginSetup.remoteDesktop', { device: deviceName });
+ const label = t('interaction.pluginSetup.remoteDesktop');
return <InteractionTouchButton accessibilityLabel={label} disabled={busy}
style={styles.primaryButton} testID="interaction.pluginSetup.remoteDesktop"
onPress={() => router.push({ pathname: '/devices/desktop/[deviceId]', params: { deviceId, deviceName } })}>