Skip to content

feat(i18n): replace hardcoded upload strings in FeedCreateModal with i18n keys#303

Open
marsii1017 wants to merge 1 commit intoopenagents-org:developfrom
marsii1017:feat/i18n-feed-upload-strings
Open

feat(i18n): replace hardcoded upload strings in FeedCreateModal with i18n keys#303
marsii1017 wants to merge 1 commit intoopenagents-org:developfrom
marsii1017:feat/i18n-feed-upload-strings

Conversation

@marsii1017
Copy link
Copy Markdown
Contributor

FeedCreateModal.tsx had three English-only hardcoded strings in the file attachment section: "Uploading...", "Select file", and "Connect to upload"

  • createModal.selectFile already existed in all four locale files (en, zh-CN, ja, ko) but was not being used — this PR finally wires it up and is accessible for the international users
  • Added two missing keys (uploading, connectToUpload) to all four locale files with proper translations
  • All three strings now go through t() and will automatically adapt to the user's language
File Change
FeedCreateModal.tsx Replace 3 hardcoded strings with t() calls
locales/en/feed.json Add uploading, connectToUpload
locales/zh-CN/feed.json Add uploading, connectToUpload
locales/ja/feed.json Add uploading, connectToUpload
locales/ko/feed.json Add uploading, connectToUpload

…i18n keys

Three strings in the file attachment label were hardcoded in English:
- "Uploading..." (shown while upload is in progress)
- "Select file" (shown when a connector is available)
- "Connect to upload" (shown when no connector is available)

`createModal.selectFile` already existed in all four locales but was not
being used. Added the two missing keys (`uploading`, `connectToUpload`)
to en, zh-CN, ja, and ko locale files, then replaced all three hardcoded
strings with `t()` calls.

Made-with: Cursor
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 7, 2026

@marsii1017 is attempting to deploy a commit to the Raphael's projects Team on Vercel.

A member of the Team first needs to authorize it.

@marsii1017
Copy link
Copy Markdown
Contributor Author

Hi @nebukaga and @pjymint, sorry to bother you both.(Tag you both since you have most highest commits in the repro) I’ve been waiting on this PR for a few days, and at the moment I’m also blocked by Vercel since the deployment requires approval from a member of Raphael's projects team. When you have a chance, would you mind taking a look? I’d really appreciate it. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant