Skip to content

[BUG] ShadCN auto-save-indicator Translation Key should change & auto-save-indicator not added #7185

@indramal

Description

@indramal

Describe the bug

I found two bugs,

  1. auto-save-indicator not added when use npm create refine-app@latest my-app -- --preset vite-shadcn command to create project.
  2. I can that auto-save-indicator file Translation Key should change.

Steps To Reproduce

This is the https://github.com/refinedev/refine/blob/main/packages/refine-ui/registry/new-york/refine-ui/form/auto-save-indicator.tsx file found related to Translation Key and I can see Translation JSON file can see https://refine.dev/core/docs/guides-concepts/i18n/#adding-the-translations-files documentation.

According to the documentation:

  "autoSave": {
    "success": "saved",
    "error": "auto save failure",
    "loading": "saving...",
    "idle": "waiting for changes"
  }

But below line is different:



This line is correct:

Expected behavior

Not show translation values, it show translation keys on webpage.

Packages

npm create refine-app@latest my-app -- --preset vite-shadcn

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions