Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(app): keep conditional AI app labels extractable for localization

Ezra Ellette4162e6a345fe
diff --git a/apps/screenpipe-app-tauri/components/settings/ai-tools-card.tsx b/apps/screenpipe-app-tauri/components/settings/ai-tools-card.tsx
index 170a19851..aeb25cdf4 100644
--- a/apps/screenpipe-app-tauri/components/settings/ai-tools-card.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/ai-tools-card.tsx
@@ -353,7 +353,7 @@ export function AiToolsCard({ onChanged }: { onChanged?: () => void }) {
) : (
<Plus className="h-3.5 w-3.5" />
)}
- {bulkRunning ? ui("Connecting...") : ui(perplexityDetected ? "Connect automatically" : "Connect all")}
+ {bulkRunning ? ui("Connecting...") : perplexityDetected ? ui("Connect automatically") : ui("Connect all")}
</Button>
) : (
<Button
@@ -504,7 +504,7 @@ export function AiToolsCard({ onChanged }: { onChanged?: () => void }) {
disabled={bulkRunning}
className="text-xs text-muted-foreground/60 hover:text-foreground transition-colors disabled:opacity-50"
>
- {confirmingDisconnect ? ui("Click again to confirm") : ui(perplexityDetected ? "Disconnect automatic apps…" : "Disconnect all…")}
+ {confirmingDisconnect ? ui("Click again to confirm") : perplexityDetected ? ui("Disconnect automatic apps…") : ui("Disconnect all…")}
</button>
{!allConnected && (
<Button