Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in version 18: NzI18nInterface is not assignable #8596

Closed
psychomet opened this issue Jun 23, 2024 · 0 comments
Closed

Error in version 18: NzI18nInterface is not assignable #8596

psychomet opened this issue Jun 23, 2024 · 0 comments
Assignees
Labels
👌 Already Fixed There is already a PR trying to solve this

Comments

@psychomet
Copy link
Contributor

Reproduction link

https://stackblitz.com/edit/stackblitz-starters-v7bsdy?file=src%2Fmain.ts

Steps to reproduce

The scanned type is missing in the fa_IR QRCode object.

What is expected?

The issue can be resolved by adding the scanned property to the QRCode type in fa_IR locale data. Here is the modified fa_IR object:
const fa_IR: NzI18nInterface = {
// ...other properties,
QRCode: {
expired: 'منقضی شده',
refresh: 'تازه‌سازی',
scanned: 'اسکن شده'
}
};

What is actually happening?

This error seems to be related to the QRCode localization. It appears that the scanned property is missing in the fa_IR locale data.

Environment Info
ng-zorro-antd 18.0.0
Browser Chrome
@Laffery Laffery added the 👌 Already Fixed There is already a PR trying to solve this label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👌 Already Fixed There is already a PR trying to solve this
Projects
None yet
Development

No branches or pull requests

2 participants