mirror of
https://github.com/stablyai/orca.git
synced 2026-10-16 08:03:09 +00:00
@@ -229,7 +229,7 @@ describe('TerminalThemeCatalogSection', () => {
|
||||
)
|
||||
const preview = findElementByTypeName(element, 'TerminalSettingsPreview')
|
||||
|
||||
expect(hasText(element, 'Light mode is currently reusing the dark theme')).toBe(true)
|
||||
expect(hasText(element, 'Turn on separate light theme')).toBe(true)
|
||||
expect(preview?.props?.modeOverride).toBe('light')
|
||||
})
|
||||
|
||||
|
||||
@@ -114,11 +114,7 @@ export function TerminalThemeCatalogSection({
|
||||
<SearchableSetting
|
||||
title={translate(
|
||||
'auto.components.settings.TerminalThemeSections.target_title',
|
||||
'Theme Target'
|
||||
)}
|
||||
description={translate(
|
||||
'auto.components.settings.TerminalThemeSections.target_description',
|
||||
'Choose whether the catalog edits dark or light terminal settings.'
|
||||
'Theme Mode'
|
||||
)}
|
||||
keywords={['terminal', 'theme', 'dark', 'light']}
|
||||
forceVisible
|
||||
@@ -126,8 +122,8 @@ export function TerminalThemeCatalogSection({
|
||||
<div className="space-y-2">
|
||||
<p className="text-xs font-medium text-muted-foreground">
|
||||
{translate(
|
||||
'auto.components.settings.TerminalThemeSections.target_label',
|
||||
'Editing Target'
|
||||
'auto.components.settings.TerminalThemeSections.target_title',
|
||||
'Theme Mode'
|
||||
)}
|
||||
</p>
|
||||
<SettingsSegmentedControl
|
||||
@@ -135,7 +131,7 @@ export function TerminalThemeCatalogSection({
|
||||
onChange={setTarget}
|
||||
ariaLabel={translate(
|
||||
'auto.components.settings.TerminalThemeSections.target_aria',
|
||||
'Terminal theme editing target'
|
||||
'Terminal theme mode'
|
||||
)}
|
||||
equalWidth
|
||||
options={[
|
||||
@@ -165,7 +161,7 @@ export function TerminalThemeCatalogSection({
|
||||
)}
|
||||
description={translate(
|
||||
'auto.components.settings.TerminalThemeSections.b584287e84',
|
||||
'When disabled, light mode reuses the dark terminal theme.'
|
||||
'When enabled, light mode uses its own terminal theme and divider color.'
|
||||
)}
|
||||
keywords={['terminal', 'light mode', 'theme']}
|
||||
forceVisible
|
||||
@@ -177,7 +173,7 @@ export function TerminalThemeCatalogSection({
|
||||
)}
|
||||
description={translate(
|
||||
'auto.components.settings.TerminalThemeSections.b584287e84',
|
||||
'When disabled, light mode reuses the dark terminal theme.'
|
||||
'When enabled, light mode uses its own terminal theme and divider color.'
|
||||
)}
|
||||
checked={settings.terminalUseSeparateLightTheme}
|
||||
onChange={() =>
|
||||
@@ -187,16 +183,16 @@ export function TerminalThemeCatalogSection({
|
||||
}
|
||||
/>
|
||||
</SearchableSetting>
|
||||
</div>
|
||||
|
||||
{isLightTarget && !settings.terminalUseSeparateLightTheme ? (
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{translate(
|
||||
'auto.components.settings.TerminalThemeSections.light_inactive_note',
|
||||
'Light mode is currently reusing the dark theme. Turn on separate light theme to apply this selection.'
|
||||
)}
|
||||
</p>
|
||||
) : null}
|
||||
{isLightTarget && !settings.terminalUseSeparateLightTheme ? (
|
||||
<p className="text-xs text-muted-foreground">
|
||||
{translate(
|
||||
'auto.components.settings.TerminalThemeSections.light_inactive_note',
|
||||
'Turn on separate light theme to apply this light-mode selection.'
|
||||
)}
|
||||
</p>
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
<SearchableSetting
|
||||
title={pickerTitle}
|
||||
|
||||
@@ -35,11 +35,7 @@ export const getTerminalDarkThemeSearchEntries = createLocalizedCatalog(() => [
|
||||
|
||||
export const getTerminalThemeTargetSearchEntries = createLocalizedCatalog(() => [
|
||||
{
|
||||
title: translate('auto.components.settings.terminal.search.theme_target.title', 'Theme Target'),
|
||||
description: translate(
|
||||
'auto.components.settings.terminal.search.theme_target.description',
|
||||
'Choose whether the terminal theme catalog edits dark or light settings.'
|
||||
),
|
||||
title: translate('auto.components.settings.terminal.search.theme_target.title', 'Theme Mode'),
|
||||
keywords: [
|
||||
...translateSearchKeyword('auto.components.settings.terminal.search.f66a7cf715', 'terminal'),
|
||||
...translateSearchKeyword('auto.components.settings.terminal.search.0ce176909a', 'theme'),
|
||||
@@ -63,7 +59,7 @@ export const getTerminalLightThemeSearchEntries = createLocalizedCatalog(() => [
|
||||
),
|
||||
description: translate(
|
||||
'auto.components.settings.terminal.search.f268092ee3',
|
||||
'When disabled, light mode reuses the dark terminal theme.'
|
||||
'When enabled, light mode uses its own terminal theme and divider color.'
|
||||
),
|
||||
keywords: [
|
||||
...translateSearchKeyword('auto.components.settings.terminal.search.f66a7cf715', 'terminal'),
|
||||
|
||||
@@ -6329,7 +6329,7 @@
|
||||
"d56af60e6f": "Choose the theme used when Orca is in light mode.",
|
||||
"8273bc75d7": "Light Theme",
|
||||
"74b15574c8": "Configure the optional light-mode terminal appearance.",
|
||||
"b584287e84": "When disabled, light mode reuses the dark terminal theme.",
|
||||
"b584287e84": "When enabled, light mode uses its own terminal theme and divider color.",
|
||||
"d76f60c9cc": "Use separate light theme",
|
||||
"bc8e8a251a": "Dark Mode Preview",
|
||||
"cbe56a0f79": "Controls the split divider line between panes in dark mode.",
|
||||
@@ -6339,13 +6339,12 @@
|
||||
"f012172e21": "Choose the theme used for terminal panes in dark mode.",
|
||||
"catalog_title": "Terminal Themes",
|
||||
"catalog_description": "Choose terminal themes and divider colors for dark and light mode.",
|
||||
"target_title": "Theme Target",
|
||||
"target_description": "Choose whether the catalog edits dark or light terminal settings.",
|
||||
"target_label": "Editing Target",
|
||||
"target_aria": "Terminal theme editing target",
|
||||
"target_title": "Theme Mode",
|
||||
"target_label": "Theme Mode",
|
||||
"target_aria": "Terminal theme mode",
|
||||
"target_dark": "Dark",
|
||||
"target_light": "Light",
|
||||
"light_inactive_note": "Light mode is currently reusing the dark theme. Turn on separate light theme to apply this selection.",
|
||||
"light_inactive_note": "Turn on separate light theme to apply this light-mode selection.",
|
||||
"light_preview_description": "Shows the effective light terminal appearance.",
|
||||
"dark_preview_description": "Shows the effective dark terminal appearance."
|
||||
},
|
||||
@@ -7895,7 +7894,7 @@
|
||||
"1dee533bd9": "Choose the theme used when Orca is in light mode.",
|
||||
"1d89457764": "Light Theme",
|
||||
"da864e6cec": "light mode",
|
||||
"f268092ee3": "When disabled, light mode reuses the dark terminal theme.",
|
||||
"f268092ee3": "When enabled, light mode uses its own terminal theme and divider color.",
|
||||
"232e532169": "Use separate light theme",
|
||||
"f785374072": "dark",
|
||||
"9c32726f47": "Controls the split divider line between panes in dark mode.",
|
||||
@@ -7964,8 +7963,7 @@
|
||||
"description": "Tune normal terminal scrollback, fast modifier scrolling, and full-screen TUI wheel speed."
|
||||
},
|
||||
"theme_target": {
|
||||
"title": "Theme Target",
|
||||
"description": "Choose whether the terminal theme catalog edits dark or light settings.",
|
||||
"title": "Theme Mode",
|
||||
"keyword_target": "target",
|
||||
"keyword_editing": "editing"
|
||||
}
|
||||
|
||||
@@ -6290,7 +6290,7 @@
|
||||
"d56af60e6f": "Elige el tema utilizado cuando Orca está en modo claro.",
|
||||
"8273bc75d7": "Tema ligero",
|
||||
"74b15574c8": "Configure la apariencia del terminal en modo de luz opcional.",
|
||||
"b584287e84": "Cuando está deshabilitado, el modo claro reutiliza el tema oscuro del terminal.",
|
||||
"b584287e84": "Cuando está activado, el modo claro usa su propio tema de terminal y color de divisor.",
|
||||
"d76f60c9cc": "Utilice un tema independiente en el modo claro",
|
||||
"bc8e8a251a": "Vista previa del modo oscuro",
|
||||
"cbe56a0f79": "Controla la línea divisoria entre paneles en modo oscuro.",
|
||||
@@ -6302,13 +6302,12 @@
|
||||
"import_themes_description": "Los temas importados están disponibles para los destinos de tema oscuro y claro.",
|
||||
"catalog_title": "Temas de terminal",
|
||||
"catalog_description": "Elige temas de terminal y colores de divisor para los modos oscuro y claro.",
|
||||
"target_title": "Destino del tema",
|
||||
"target_description": "Elige si el catálogo edita la configuración de terminal oscura o clara.",
|
||||
"target_label": "Destino de edición",
|
||||
"target_aria": "Destino de edición del tema de terminal",
|
||||
"target_title": "Modo del tema",
|
||||
"target_label": "Modo del tema",
|
||||
"target_aria": "Modo del tema de terminal",
|
||||
"target_dark": "Oscuro",
|
||||
"target_light": "Claro",
|
||||
"light_inactive_note": "El modo claro está reutilizando el tema oscuro. Activa el tema claro separado para aplicar esta selección.",
|
||||
"light_inactive_note": "Activa el tema claro separado para aplicar esta selección de modo claro.",
|
||||
"light_preview_description": "Muestra la apariencia efectiva del terminal claro.",
|
||||
"dark_preview_description": "Muestra la apariencia efectiva del terminal oscuro."
|
||||
},
|
||||
@@ -7845,7 +7844,7 @@
|
||||
"1dee533bd9": "Elige el tema utilizado cuando Orca está en modo claro.",
|
||||
"1d89457764": "Tema ligero",
|
||||
"da864e6cec": "modo de luz",
|
||||
"f268092ee3": "Cuando está deshabilitado, el modo claro reutiliza el tema oscuro del terminal.",
|
||||
"f268092ee3": "Cuando está activado, el modo claro usa su propio tema de terminal y color de divisor.",
|
||||
"232e532169": "Utilice un tema independiente en el modo claro",
|
||||
"f785374072": "oscuro",
|
||||
"9c32726f47": "Controla la línea divisoria entre paneles en modo oscuro.",
|
||||
@@ -7927,8 +7926,7 @@
|
||||
"description": "Ajusta el desplazamiento normal del terminal, el desplazamiento rápido con modificador y la velocidad de rueda en TUI de pantalla completa."
|
||||
},
|
||||
"theme_target": {
|
||||
"title": "Destino del tema",
|
||||
"description": "Elige si el catálogo de temas del terminal edita la configuración oscura o clara.",
|
||||
"title": "Modo del tema",
|
||||
"keyword_target": "destino",
|
||||
"keyword_editing": "edición"
|
||||
}
|
||||
|
||||
@@ -6314,7 +6314,7 @@
|
||||
"d56af60e6f": "Orca がライト モードのときに使用されるテーマを選択します。",
|
||||
"8273bc75d7": "ライトテーマ",
|
||||
"74b15574c8": "オプションのライトモード terminal の外観を構成します。",
|
||||
"b584287e84": "無効にすると、ライト モードはダーク terminal テーマを再利用します。",
|
||||
"b584287e84": "有効にすると、ライトモードは独自のターミナルテーマと区切り線の色を使用します。",
|
||||
"d76f60c9cc": "ライトモードで別のテーマを使用する",
|
||||
"bc8e8a251a": "ダークモードのプレビュー",
|
||||
"cbe56a0f79": "ダーク モードでのペイン間の分割分割線を制御します。",
|
||||
@@ -6324,13 +6324,12 @@
|
||||
"f012172e21": "ダーク モードの terminal ペインに使用されるテーマを選択します。",
|
||||
"catalog_title": "ターミナルテーマ",
|
||||
"catalog_description": "ダークモードとライトモードのターミナルテーマと区切り線の色を選択します。",
|
||||
"target_title": "テーマの対象",
|
||||
"target_description": "カタログでダークまたはライトのターミナル設定のどちらを編集するかを選択します。",
|
||||
"target_label": "編集対象",
|
||||
"target_aria": "ターミナルテーマの編集対象",
|
||||
"target_title": "テーマモード",
|
||||
"target_label": "テーマモード",
|
||||
"target_aria": "ターミナルテーマモード",
|
||||
"target_dark": "ダーク",
|
||||
"target_light": "ライト",
|
||||
"light_inactive_note": "ライトモードは現在ダークテーマを再利用しています。この選択を適用するには、別のライトテーマをオンにしてください。",
|
||||
"light_inactive_note": "このライトモードの選択を適用するには、別のライトテーマをオンにしてください。",
|
||||
"light_preview_description": "有効なライトターミナルの外観を表示します。",
|
||||
"dark_preview_description": "有効なダークターミナルの外観を表示します。"
|
||||
},
|
||||
@@ -7880,7 +7879,7 @@
|
||||
"1dee533bd9": "Orca がライト モードのときに使用されるテーマを選択します。",
|
||||
"1d89457764": "ライトテーマ",
|
||||
"da864e6cec": "ライトモード",
|
||||
"f268092ee3": "無効にすると、ライト モードはダーク terminal テーマを再利用します。",
|
||||
"f268092ee3": "有効にすると、ライトモードは独自のターミナルテーマと区切り線の色を使用します。",
|
||||
"232e532169": "ライトモードで別のテーマを使用する",
|
||||
"f785374072": "ダーク",
|
||||
"9c32726f47": "ダーク モードでのペイン間の分割分割線を制御します。",
|
||||
@@ -7949,8 +7948,7 @@
|
||||
"description": "通常のターミナルスクロールバック、修飾キーでの高速スクロール、全画面 TUI のホイール速度を調整します。"
|
||||
},
|
||||
"theme_target": {
|
||||
"title": "テーマの対象",
|
||||
"description": "ターミナルテーマのカタログでダークまたはライト設定のどちらを編集するかを選択します。",
|
||||
"title": "テーマモード",
|
||||
"keyword_target": "対象",
|
||||
"keyword_editing": "編集"
|
||||
}
|
||||
|
||||
@@ -6275,7 +6275,7 @@
|
||||
"d56af60e6f": "Orca가 라이트 모드일 때 사용되는 테마를 선택합니다.",
|
||||
"8273bc75d7": "라이트 테마",
|
||||
"74b15574c8": "선택적 라이트 모드 terminal 모양을 구성합니다.",
|
||||
"b584287e84": "비활성화되면 라이트 모드는 어두운 terminal 테마를 재사용합니다.",
|
||||
"b584287e84": "활성화하면 라이트 모드는 별도의 터미널 테마와 구분선 색상을 사용합니다.",
|
||||
"d76f60c9cc": "라이트 모드에서 별도 테마 사용",
|
||||
"bc8e8a251a": "다크 모드 미리보기",
|
||||
"cbe56a0f79": "어두운 모드에서 창 사이의 분할 구분선을 제어합니다.",
|
||||
@@ -6287,13 +6287,12 @@
|
||||
"import_themes_description": "가져온 테마는 다크 및 라이트 테마 대상 모두에서 사용할 수 있습니다.",
|
||||
"catalog_title": "터미널 테마",
|
||||
"catalog_description": "다크 및 라이트 모드의 터미널 테마와 구분선 색상을 선택합니다.",
|
||||
"target_title": "테마 대상",
|
||||
"target_description": "카탈로그가 다크 또는 라이트 터미널 설정 중 무엇을 편집할지 선택합니다.",
|
||||
"target_label": "편집 대상",
|
||||
"target_aria": "터미널 테마 편집 대상",
|
||||
"target_title": "테마 모드",
|
||||
"target_label": "테마 모드",
|
||||
"target_aria": "터미널 테마 모드",
|
||||
"target_dark": "다크",
|
||||
"target_light": "라이트",
|
||||
"light_inactive_note": "라이트 모드는 현재 다크 테마를 다시 사용하고 있습니다. 이 선택을 적용하려면 별도의 라이트 테마를 켜세요.",
|
||||
"light_inactive_note": "이 라이트 모드 선택을 적용하려면 별도의 라이트 테마를 켜세요.",
|
||||
"light_preview_description": "적용 중인 라이트 터미널 모양을 표시합니다.",
|
||||
"dark_preview_description": "적용 중인 다크 터미널 모양을 표시합니다."
|
||||
},
|
||||
@@ -7830,7 +7829,7 @@
|
||||
"1dee533bd9": "Orca가 라이트 모드일 때 사용되는 테마를 선택합니다.",
|
||||
"1d89457764": "라이트 테마",
|
||||
"da864e6cec": "라이트 모드",
|
||||
"f268092ee3": "비활성화되면 라이트 모드는 어두운 terminal 테마를 재사용합니다.",
|
||||
"f268092ee3": "활성화하면 라이트 모드는 별도의 터미널 테마와 구분선 색상을 사용합니다.",
|
||||
"232e532169": "라이트 모드에서 별도의 테마 사용",
|
||||
"f785374072": "다크",
|
||||
"9c32726f47": "어두운 모드에서 창 사이의 분할 구분선을 제어합니다.",
|
||||
@@ -7912,8 +7911,7 @@
|
||||
"description": "일반 터미널 스크롤백, 수정 키 빠른 스크롤, 전체 화면 TUI 휠 속도를 조정합니다."
|
||||
},
|
||||
"theme_target": {
|
||||
"title": "테마 대상",
|
||||
"description": "터미널 테마 카탈로그가 다크 또는 라이트 설정 중 무엇을 편집할지 선택합니다.",
|
||||
"title": "테마 모드",
|
||||
"keyword_target": "대상",
|
||||
"keyword_editing": "편집"
|
||||
}
|
||||
|
||||
@@ -6275,7 +6275,7 @@
|
||||
"d56af60e6f": "选择 Orca 处于浅色模式时使用的主题。",
|
||||
"8273bc75d7": "浅色主题",
|
||||
"74b15574c8": "配置可选的轻型模式 terminal 外观。",
|
||||
"b584287e84": "禁用后,浅色模式会重用深色 terminal 主题。",
|
||||
"b584287e84": "启用后,浅色模式会使用自己的终端主题和分隔线颜色。",
|
||||
"d76f60c9cc": "在浅色模式下使用单独的主题",
|
||||
"bc8e8a251a": "深色模式预览",
|
||||
"cbe56a0f79": "控制深色模式下窗格之间的分割分隔线。",
|
||||
@@ -6287,13 +6287,12 @@
|
||||
"import_themes_description": "已导入的主题可用于深色和浅色主题目标。",
|
||||
"catalog_title": "终端主题",
|
||||
"catalog_description": "为深色和浅色模式选择终端主题和分隔线颜色。",
|
||||
"target_title": "主题目标",
|
||||
"target_description": "选择目录要编辑深色还是浅色终端设置。",
|
||||
"target_label": "编辑目标",
|
||||
"target_aria": "终端主题编辑目标",
|
||||
"target_title": "主题模式",
|
||||
"target_label": "主题模式",
|
||||
"target_aria": "终端主题模式",
|
||||
"target_dark": "深色",
|
||||
"target_light": "浅色",
|
||||
"light_inactive_note": "浅色模式当前正在重用深色主题。开启单独的浅色主题以应用此选择。",
|
||||
"light_inactive_note": "开启单独的浅色主题以应用此浅色模式选择。",
|
||||
"light_preview_description": "显示实际生效的浅色终端外观。",
|
||||
"dark_preview_description": "显示实际生效的深色终端外观。"
|
||||
},
|
||||
@@ -7830,7 +7829,7 @@
|
||||
"1dee533bd9": "选择 Orca 处于浅色模式时使用的主题。",
|
||||
"1d89457764": "浅色主题",
|
||||
"da864e6cec": "灯光模式",
|
||||
"f268092ee3": "禁用后,浅色模式会重用深色 terminal 主题。",
|
||||
"f268092ee3": "启用后,浅色模式会使用自己的终端主题和分隔线颜色。",
|
||||
"232e532169": "在浅色模式下使用单独的主题",
|
||||
"f785374072": "深色",
|
||||
"9c32726f47": "控制深色模式下窗格之间的分割分隔线。",
|
||||
@@ -7912,8 +7911,7 @@
|
||||
"description": "调整普通终端回滚、修饰键快速滚动以及全屏 TUI 滚轮速度。"
|
||||
},
|
||||
"theme_target": {
|
||||
"title": "主题目标",
|
||||
"description": "选择终端主题目录要编辑深色还是浅色设置。",
|
||||
"title": "主题模式",
|
||||
"keyword_target": "目标",
|
||||
"keyword_editing": "编辑"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user