From 5dc6799c484adf6b2c819d4db36956b21d4a5fd5 Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Thu, 23 Jul 2026 12:48:26 -0700 Subject: [PATCH] Rename 'local network' to 'LAN' across the UI (#10216) Improves clarity and consistency throughout mobile pairing, settings, and permission descriptions. Makes the distinction from Tailscale more explicit where relevant. Updates all translated locales. --- mobile/app.json | 2 +- .../diagnostics/troubleshoot-common-issues.tsx | 2 +- .../src/components/mobile/MobileHero.test.tsx | 2 +- .../src/components/mobile/MobileHero.tsx | 4 ++-- .../src/components/mobile/MobilePage.test.tsx | 14 +++++++------- .../src/components/mobile/MobilePage.tsx | 2 +- .../settings/DeveloperPermissionsPane.tsx | 5 +---- .../MobilePairingConnectionOptions.test.tsx | 4 ++-- .../MobilePairingConnectionOptions.tsx | 4 ++-- .../components/settings/MobilePane.test.tsx | 10 +++++----- .../src/components/settings/MobilePane.tsx | 2 +- .../settings/developer-permissions-search.ts | 11 +++++++---- .../terminal-pane/terminal-osc-link-routing.ts | 2 +- src/renderer/src/i18n/locales/en.json | 18 +++++++++--------- src/renderer/src/i18n/locales/es.json | 16 ++++++++-------- src/renderer/src/i18n/locales/ja.json | 16 ++++++++-------- src/renderer/src/i18n/locales/ko.json | 16 ++++++++-------- src/renderer/src/i18n/locales/zh.json | 18 +++++++++--------- 18 files changed, 74 insertions(+), 74 deletions(-) diff --git a/mobile/app.json b/mobile/app.json index bd307ea83..6f55551e9 100644 --- a/mobile/app.json +++ b/mobile/app.json @@ -18,7 +18,7 @@ "bundleIdentifier": "com.stably.orca.mobile", "buildNumber": "1", "infoPlist": { - "NSLocalNetworkUsageDescription": "Orca connects to the desktop app on your local network.", + "NSLocalNetworkUsageDescription": "Orca connects to the desktop app on your LAN.", "NSMicrophoneUsageDescription": "Allow Orca to record voice dictation and transcribe it on your paired desktop.", "NSPhotoLibraryUsageDescription": "Allow Orca to attach photos from your library to a terminal session on your paired desktop.", "NSAppTransportSecurity": { diff --git a/mobile/src/diagnostics/troubleshoot-common-issues.tsx b/mobile/src/diagnostics/troubleshoot-common-issues.tsx index 5dc91eb65..b794ad004 100644 --- a/mobile/src/diagnostics/troubleshoot-common-issues.tsx +++ b/mobile/src/diagnostics/troubleshoot-common-issues.tsx @@ -14,7 +14,7 @@ export const troubleshootCommonIssues: TroubleshootSection[] = [ icon: , title: 'Different WiFi Networks', steps: [ - 'Both devices must be on the same local network (unless connected through Tailscale).', + 'Both devices must be on the same LAN (unless connected through Tailscale).', 'Ethernet and WiFi must share the same subnet.', 'Try reconnecting WiFi on both devices.' ] diff --git a/src/renderer/src/components/mobile/MobileHero.test.tsx b/src/renderer/src/components/mobile/MobileHero.test.tsx index 8e1d237a0..cf816081a 100644 --- a/src/renderer/src/components/mobile/MobileHero.test.tsx +++ b/src/renderer/src/components/mobile/MobileHero.test.tsx @@ -139,7 +139,7 @@ describe('HeroFlow height', () => { relayDegraded: true }) const notice = screen.getByTestId('relay-degraded-notice') - expect(notice).toHaveTextContent('only works on your local network') + expect(notice).toHaveTextContent('only works on your LAN or Tailscale') // Why: wrap-capable text item inside the fixed QR track (#9700); bare text // nodes in a flex row cannot shrink below max-content and overflow the track. expect(notice.querySelector('.min-w-0')).not.toBeNull() diff --git a/src/renderer/src/components/mobile/MobileHero.tsx b/src/renderer/src/components/mobile/MobileHero.tsx index cdb49f7c7..e9fdc7154 100644 --- a/src/renderer/src/components/mobile/MobileHero.tsx +++ b/src/renderer/src/components/mobile/MobileHero.tsx @@ -279,7 +279,7 @@ export function HeroFlow({ onClick={onRegeneratePairing} // Why: signed-out Anywhere can't serve Relay; disabling avoids // minting a local-only QR under the Relay label. Sign in or pick - // Local network (shown in the path options above) to enable it. + // LAN (shown in the path options above) to enable it. disabled={pairLoading || !canGeneratePairing} > {pairLoading @@ -298,7 +298,7 @@ export function HeroFlow({ {translate( 'auto.components.mobile.MobileHero.relayDegradedNotice', - 'Relay couldn’t be reached — this code only works on your local network.' + 'Relay couldn’t be reached — this code only works on your LAN or Tailscale.' )}

diff --git a/src/renderer/src/components/mobile/MobilePage.test.tsx b/src/renderer/src/components/mobile/MobilePage.test.tsx index 23d9feb28..b8fca9566 100644 --- a/src/renderer/src/components/mobile/MobilePage.test.tsx +++ b/src/renderer/src/components/mobile/MobilePage.test.tsx @@ -66,7 +66,7 @@ vi.mock('./MobilePageContent', () => ({ Orca Relay