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

Given and family are better than first and last #172

Closed
r12a opened this issue Mar 23, 2017 · 1 comment
Closed

Given and family are better than first and last #172

r12a opened this issue Mar 23, 2017 · 1 comment
Assignees
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. needs-pr
Milestone

Comments

@r12a
Copy link

r12a commented Mar 23, 2017

2.6. Index
https://www.w3.org/TR/IndexedDB-2/#index-construct

For example, if an index’s referenced object store contains a record with the key 123 and the value { first: "Alice", last: "Smith" }, and the index’s key path is "first" then the index would contain a record with the key "Alice" and the value 123.

This is not massively important as comments go, but example 3 is promoting what we'd call bad practise for referring to names, since in Hungary and many other places family names come first and given names come last. I suggest a simple replacement: first->given, last->family.

That's still not bulletproof, as you'll see from https://www.w3.org/International/questions/qa-personal-names, but it's better.

@r12a r12a added the i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. label Mar 23, 2017
@inexorabletash
Copy link
Member

Thanks - I'll just change first to name and change last to title or something.

@inexorabletash inexorabletash self-assigned this Mar 23, 2017
@inexorabletash inexorabletash added this to the V2 milestone Mar 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
i18n-needs-resolution Issue the Internationalization Group has raised and looks for a response on. needs-pr
Projects
None yet
Development

No branches or pull requests

2 participants