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

IndexError (string not matched) : Conflict on key with plural and singular version not properly handled for JSON and YAML export #59

Closed
jvigne opened this issue Feb 5, 2021 · 0 comments · Fixed by #69
Labels
bug Something isn't working

Comments

@jvigne
Copy link
Contributor

jvigne commented Feb 5, 2021

To reproduce create csv file with the following wording to export in JSON or YAML.

key  fr  en 
activerecord.models.user Utilisateur 
activerecord.models.user.one   User
activerecord.models.user.other   Users

Output
IndexError (string not matched)

Expected Output
Either give the priority to the singular or the plural version of the key. In any case display a debug log to inform users that there is a conflict.

@jvigne jvigne added the bug Something isn't working label Feb 5, 2021
@jvigne jvigne changed the title Exception raised without an understandable message when there is a wording key with plural and singular on JSON and YAML export IndexError (string not matched) : Conflict on key with plural and singular version not properly handled for JSON and YAML export Feb 5, 2021
@felginep felginep mentioned this issue Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant