Skip to content

Replace hardcoded "Loading..." strings with i18n keys #13

@kanweiwei

Description

@kanweiwei

Several components have hardcoded English "Loading..." strings instead of using i18n translation keys.

Known locations:

  • web/src/components/file-viewer/FilePreview.tsx line 296: <div>Loading...</div>
  • web/src/components/plugins/PluginHTMLRenderer.tsx line 188: {isReady ? 'Ready' : 'Loading...'}
  • web/src/components/plugins/PluginHostAPI.tsx line 1134: {isReady ? 'Plugin Ready' : 'Loading...'}

What to do:

  1. Find all occurrences of hardcoded "Loading..." in web/src/components/
  2. Replace each with the appropriate i18n key (e.g. t('common.loading') or t('plugins.loading'))
  3. Add any missing keys to all 4 locale files in packages/i18n/src/locales/

Skills needed: TypeScript, basic grep/search

Estimated time: 30 minutes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions