Skip to content

Hardcoded strings across codebase should use i18n #340

@hakonharnes

Description

@hakonharnes

Multiple components and pages contain hardcoded English strings instead of using the i18n translation system.

Dates (PR #343)

  • Date formatting does not use locale-aware formatting.

Auth (PR: #344)

  • src/components/auth/sign-in.tsx:87, :101
  • src/components/auth/sign-up.tsx:36
  • src/components/auth/email-sign-up.tsx:141, :164, :168, :188
  • src/app/api/auth/error/page.tsx:14, :16, :38

MCP

  • src/components/mcp-card.tsx:161, :194, :218, :236, :296, :382
  • src/components/mcp-editor.tsx:183, :200, :224, :235
  • src/app/(chat)/mcp/test/[id]/page.tsx:159, :166, :169, :246, :251, :318, :327, :350, :465, :484, :585, :602, :646, :672, :699, :713, :730, :739

Chat

  • src/components/chat-bot.tsx:390
  • src/components/chat-bot-voice.tsx:62
  • src/components/chat-mention-input.tsx:355, :359, :363, :367, :371, :375, :379, :383, :387, :470, :471, :472, :473, :474
  • src/components/message-parts.tsx:138, :139, :229, :245, :313, :314, :391, :615, :810, :811, :1199, :1317, :1424
  • src/components/message-editor.tsx:102
  • src/components/prompt-input.tsx:327, :734, :753, :763, :771
  • src/components/chat-preferences-content.tsx:334

Tools (PR #367)

  • src/components/tool-select-dropdown.tsx:193, :195, :196, :225, :374, :639, :645, :691, :786, :788
  • src/components/tool-mode-dropdown.tsx:128, :145, :162, :164
  • src/components/tool-detail-popup.tsx:231
  • src/components/enabled-tools-dropdown.tsx:40, :79

Tool Invocations

  • src/components/tool-invocation/image-generator.tsx:55, :57, :59, :66, :68, :70, :94, :104, :105
  • src/components/tool-invocation/code-executor.tsx:80, :88, :149
  • src/components/tool-invocation/interactive-table.tsx:78, :81, :112, :329
  • src/components/tool-invocation/pie-chart.tsx:141

Workflow

  • src/components/workflow/workflow-list-page.tsx:50, :62, :117, :141
  • src/components/workflow/workflow-tool-select.tsx:125
  • src/components/workflow/output-schema-editor.tsx:131, :217, :319, :412
  • src/components/workflow/node-result-popup.tsx:155
  • src/components/workflow/node-config/execute-tab.tsx:66, :70, :353, :404, :568
  • src/components/workflow/node-config/http-node-config.tsx:151, :153, :154, :162, :172, :186, :198, :225, :236, :308, :371, :405
  • src/components/workflow/node-config/llm-node-config.tsx:102, :197
  • src/components/workflow/node-config/condition-node-config.tsx:359, :423

Export

  • src/components/export/chat-export-popup.tsx:47
  • src/components/export/comment-form.tsx:84
  • src/components/export/comment.tsx:31, :32, :46
  • src/components/export/comments.tsx:85, :87
  • src/app/(public)/export/[id]/page.tsx:14, :18

Agent

  • src/components/agent/edit-agent.tsx:360, :369
  • src/components/agent/generate-agent-dialog.tsx:85, :87, :111, :136

Layouts

  • src/components/layouts/app-header.tsx:191, :216, :220, :228
  • src/components/layouts/app-sidebar-threads.tsx:274, :278, :285

User/Admin

  • src/components/admin/users-table-skeleton.tsx:25
  • src/components/user/user-detail/default-avatar-dialog.tsx:24, :25, :26, :27, :28, :29
  • src/components/user/user-detail/user-statistics-card.tsx:156, :161
  • src/components/user/user-detail/user-stats-card-loader.tsx:16
  • src/components/user/user-detail/user-stats.tsx:15, :20, :25

Misc

  • src/app/(chat)/archive/[id]/page.tsx:19, :20, :165
  • src/app/layout.tsx:24
  • src/components/edit-json-schema-field-popup.tsx:80, :83, :85, :144, :150, :156, :162, :213, :340
  • src/components/json-view-popup.tsx:43
  • src/components/mermaid-diagram.tsx:73, :100
  • src/components/select-model.tsx:77, :81
  • src/components/shareable-actions.tsx:157

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions