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

Fix Chinese pluralization bug in index.js #188

Closed
wants to merge 1 commit into from

Conversation

abel533
Copy link

@abel533 abel533 commented Dec 5, 2024

Modify the chinese function to return 0 for singular and 1 for plural.

@abel533
Copy link
Author

abel533 commented Dec 5, 2024

A bug was found in react-admin, and the positioning problem is here.
image

language:

//chinese
bulk_actions: "选中1项 |||| 选中%{smart_count}项",
//english
bulk_actions: '1 item selected |||| %{smart_count} items selected',

@ljharb
Copy link
Collaborator

ljharb commented Dec 5, 2024

See also, #126.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants