Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.
TypeScript aeoai-agentai-searchanswer-engine-optimizationbrand-monitoringchatgptclaudecopilotdockergeminigeogoogle-ai-overviewsgrokmcpnextjsopen-sourceperplexityseosupabasetypescript
fix(web): pluralize Topics KPI strings and align pts decimal formatting (#619)
Patel Dhrit0498ed7e9879
diff --git a/web/messages/en.json b/web/messages/en.jsonindex fad54eea3..87989c631 100644--- a/web/messages/en.json+++ b/web/messages/en.json@@ -186,7 +186,7 @@"manageTopics": "Manage topics","kpi": {"trackedTopics": "Tracked topics",- "unassignedPrompts": "{count} prompts without a topic",+ "unassignedPrompts": "{count, plural, one {# prompt without a topic} other {# prompts without a topic}}","allCategorised": "All prompts categorised","bestPerformer": "Best performer","biggestGap": "Biggest gap",@@ -211,7 +211,7 @@"topCompetitor": "Top competitor","lastRun": "Last run"},- "appearedIn": "Appeared in {visible} of {active} prompts",+ "appearedIn": "Appeared in {visible} of {active, plural, one {# prompt} other {# prompts}}","openDetails": "Open topic details","relative": {"justNow": "just now",diff --git a/web/src/app/[locale]/(dashboard)/dashboard/topics/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/topics/page.tsxindex 56ad2f397..a3fe2eedc 100644--- a/web/src/app/[locale]/(dashboard)/dashboard/topics/page.tsx+++ b/web/src/app/[locale]/(dashboard)/dashboard/topics/page.tsx@@ -429,7 +429,7 @@ export default function TopicsPage() {value={kpis.gainer && kpis.gainer.visibilityChange !== null? t('ptsChange', {- value: `${kpis.gainer.visibilityChange > 0 ? '+' : ''}${kpis.gainer.visibilityChange}`,+ value: `${kpis.gainer.visibilityChange > 0 ? '+' : ''}${kpis.gainer.visibilityChange.toFixed(1)}`,}): '—'}