-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Describe the bug
I found two bugs,
auto-save-indicatornot added when usenpm create refine-app@latest my-app -- --preset vite-shadcncommand to create project.- I can that
auto-save-indicatorfile 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:
refine/packages/refine-ui/registry/new-york/refine-ui/form/auto-save-indicator.tsx
Line 45 in 6ffee62
| {t("autoSave.saving", "Saving")} |
refine/packages/refine-ui/registry/new-york/refine-ui/form/auto-save-indicator.tsx
Line 67 in 6ffee62
| {t("autoSave.saved", "Saved")} |
refine/packages/refine-ui/registry/new-york/refine-ui/form/auto-save-indicator.tsx
Line 84 in 6ffee62
| {t("autoSave.failed", "Failed")} |
This line is correct:
refine/packages/refine-ui/registry/new-york/refine-ui/form/auto-save-indicator.tsx
Line 100 in 6ffee62
| <span>{t("autoSave.idle", "Idle")} </span> |
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