Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/scripts/locale-ko-key-overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -3101,6 +3101,9 @@
"auto.components.settings.auto.rename.branch.search.a482f6a423": {
"ko": "슬러그"
},
"auto.components.settings.browser.search.00f82a4c3d": {
"ko": "터미널, 마크다운, 편집기에서 http(s) 링크를 Orca 내장 브라우저로 엽니다. {{shortcut}}은(는) 항상 시스템 브라우저를 사용합니다."
},
"auto.components.settings.browser.search.0732ebe6fb": {
"ko": "비공개"
},
Expand Down
2 changes: 2 additions & 0 deletions src/renderer/src/components/settings/browser-search.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe('browser settings search copy', () => {
const description = getBrowserLinkRoutingDescription({ isMac: true })
expect(description).toContain('⇧⌘-click')
expect(description).not.toContain('Cmd/Ctrl')
expect(description).not.toContain('{{shortcut}}')

const linkRoutingEntry = getBrowserPaneSearchEntries({ isMac: true }).find(
(entry) => entry.title === 'Link Routing'
Expand All @@ -32,6 +33,7 @@ describe('browser settings search copy', () => {
const description = getBrowserLinkRoutingDescription({ isMac: false })
expect(description).toContain('Shift+Ctrl+click')
expect(description).not.toContain('Cmd/Ctrl')
expect(description).not.toContain('{{shortcut}}')

const linkRoutingEntry = getBrowserPaneSearchEntries({ isMac: false }).find(
(entry) => entry.title === 'Link Routing'
Expand Down
6 changes: 5 additions & 1 deletion src/renderer/src/components/settings/browser-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export function getBrowserLinkRoutingShortcutLabel(platform: BrowserShortcutPlat
}

export function getBrowserLinkRoutingDescription(platform: BrowserShortcutPlatform): string {
return `Open http(s) links in Orca's built-in browser — from the terminal, markdown, and the editor. ${getBrowserLinkRoutingShortcutLabel(platform)} always uses your system browser.`
return translate(
'auto.components.settings.browser.search.00f82a4c3d',
"Open http(s) links in Orca's built-in browser — from the terminal, markdown, and the editor. {{shortcut}} always uses your system browser.",
{ shortcut: getBrowserLinkRoutingShortcutLabel(platform) }
)
}

export function getBrowserPaneSearchEntries(
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -7488,7 +7488,8 @@
"a942905148": "URL opened when creating a new browser tab. Leave empty to open a blank tab.",
"c3903322d2": "Default Home Page",
"19ea5607cf": "Localhost Worktree Labels",
"4e0fdf0a3f": "Open workspace ports as worktree-specific Orca localhost URLs so browser tabs are easier to tell apart."
"4e0fdf0a3f": "Open workspace ports as worktree-specific Orca localhost URLs so browser tabs are easier to tell apart.",
"00f82a4c3d": "Open http(s) links in Orca's built-in browser — from the terminal, markdown, and the editor. {{shortcut}} always uses your system browser."
},
"use": {
"search": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -7428,7 +7428,8 @@
"a942905148": "URL abierta al crear una nueva pestaña del navegador. Déjelo vacío para abrir una pestaña en blanco.",
"c3903322d2": "Página de inicio predeterminada",
"19ea5607cf": "Etiquetas de localhost para worktrees",
"4e0fdf0a3f": "Abre los puertos del workspace como URL localhost de Orca específicas del worktree para que las pestañas del navegador sean más fáciles de distinguir."
"4e0fdf0a3f": "Abre los puertos del workspace como URL localhost de Orca específicas del worktree para que las pestañas del navegador sean más fáciles de distinguir.",
"00f82a4c3d": "Abre enlaces http(s) en el navegador integrado de Orca, desde el terminal, Markdown y el editor. {{shortcut}} siempre usa el navegador del sistema."
},
"use": {
"search": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -7450,7 +7450,8 @@
"a942905148": "新規ブラウザ タブを作成するときに開かれる URL。空白のタブを開くには、空白のままにします。",
"c3903322d2": "デフォルトのホームページ",
"19ea5607cf": "ローカルホストのワークツリーのラベル",
"4e0fdf0a3f": "ワークスペース ポートをワークツリー固有の Orca localhost URL として開くと、ブラウザーのタブを区別しやすくなります。"
"4e0fdf0a3f": "ワークスペース ポートをワークツリー固有の Orca localhost URL として開くと、ブラウザーのタブを区別しやすくなります。",
"00f82a4c3d": "ターミナル、Markdown、エディターからの http(s) リンクを Orca の内蔵ブラウザーで開きます。{{shortcut}} は常にシステムブラウザーを使用します。"
},
"use": {
"search": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -7413,7 +7413,8 @@
"a942905148": "새 브라우저 탭을 만들 때 열리는 URL입니다. 빈 탭을 열려면 비워 두세요.",
"c3903322d2": "기본 홈 페이지",
"19ea5607cf": "로컬호스트 작업 트리 레이블",
"4e0fdf0a3f": "브라우저 탭을 더 쉽게 구분할 수 있도록 작업 트리별 Orca 로컬 호스트 URL로 워크스페이스 포트를 엽니다."
"4e0fdf0a3f": "브라우저 탭을 더 쉽게 구분할 수 있도록 작업 트리별 Orca 로컬 호스트 URL로 워크스페이스 포트를 엽니다.",
"00f82a4c3d": "터미널, 마크다운, 편집기에서 http(s) 링크를 Orca 내장 브라우저로 엽니다. {{shortcut}}은(는) 항상 시스템 브라우저를 사용합니다."
},
"use": {
"search": {
Expand Down
3 changes: 2 additions & 1 deletion src/renderer/src/i18n/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -7413,7 +7413,8 @@
"a942905148": "创建新浏览器选项卡时打开的 URL。留空以打开空白选项卡。",
"c3903322d2": "默认主页",
"19ea5607cf": "本地主机工作区标签",
"4e0fdf0a3f": "将工作区端口打开为特定于工作区的 Orca localhost URL,便于区分浏览器标签页。"
"4e0fdf0a3f": "将工作区端口打开为特定于工作区的 Orca localhost URL,便于区分浏览器标签页。",
"00f82a4c3d": "在 Orca 内置浏览器中打开来自终端、Markdown 和编辑器的 http(s) 链接。{{shortcut}} 始终使用系统浏览器。"
},
"use": {
"search": {
Expand Down