Skip to content
Merged
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
12 changes: 6 additions & 6 deletions src/CONST/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8794,6 +8794,12 @@ const CONST = {
// Maximum number of items in TimeSensitiveSection and YourSpendSection. Any extra items are revealed via the expand toggle button.
SECTION_VISIBLE_LIMIT: 5,
ANNOUNCEMENTS: [
{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ CONSISTENCY-7 (docs)

The new announcement's title and subtitle are hardcoded English strings that are rendered directly as user-visible copy in src/pages/home/AnnouncementSection.tsx (title={announcement.title} and description={announcement.subtitle}). Because they never pass through translate(...), they cannot be localized and will always display in English regardless of the user's locale.

Move the copy into src/languages/* and reference translation keys instead of raw strings, e.g.:

{
    titleKey: 'homePage.announcements.conciergeAiAutomation.title',
    subtitleKey: 'homePage.announcements.pressRelease',
    url: 'https://www.businesswire.com/news/home/20260701645763/en/...',
    publishedDate: '2026-07-01',
},

and render translate(announcement.titleKey) / translate(announcement.subtitleKey) in AnnouncementSection.tsx. (Note: the existing entries follow the same un-localized pattern, so consider addressing them together.)


Reviewed at: 2c248f0 | Please rate this suggestion with 👍 or 👎 to help us improve! Reactions are used to monitor reviewer efficiency.

title: 'More Concierge AI upgrades, plus agent beta',
subtitle: 'Press release',
url: 'https://www.businesswire.com/news/home/20260701645763/en/Expensifys-AI-Expands-to-Expense-Automation-Spend-Insights-and-Agents',
publishedDate: '2026-07-01',
},
{
title: 'Ask Concierge AI: charts, insights & more',
subtitle: 'Newsletter',
Expand All @@ -8806,12 +8812,6 @@ const CONST = {
url: 'https://use.expensify.com/blog/expensify-june-2026-product-update',
publishedDate: '2026-06-24',
},
{
title: 'Connect Expensify to ChatGPT, Claude, Cursor',
subtitle: 'Press release',
url: 'https://www.businesswire.com/news/home/20260608727624/en/Expensify-Launches-MCP-for-AI-powered-Expense-Management',
publishedDate: '2026-06-08',
},
],
},

Expand Down
Loading