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

Entity plural verbose names in main menu are not capitalized anymore #799

Closed
koeaw opened this issue Apr 24, 2024 · 3 comments · Fixed by #822 or #821
Closed

Entity plural verbose names in main menu are not capitalized anymore #799

koeaw opened this issue Apr 24, 2024 · 3 comments · Fixed by #822 or #821
Assignees
Labels
easy Should be an easy fix UI-UX Appearance, coherence, usability of user-facing parts (frontend, user interface)

Comments

@koeaw
Copy link
Contributor

koeaw commented Apr 24, 2024

With the switch from verbose_name to verbose_name_plural (#776, I believe) in the Entities dropdown, capitalization of entity verbose names got lost. Which is how Django handles model verbose names internally, and why users are not supposed to capitalize them themselves (which is why we didn't do it for Frischmuth).

@koeaw koeaw added the UI-UX Appearance, coherence, usability of user-facing parts (frontend, user interface) label Apr 24, 2024
@b1rger
Copy link
Contributor

b1rger commented Apr 24, 2024

users are not supposed to capitalize them themselves

Why is that?

@koeaw
Copy link
Contributor Author

koeaw commented Apr 24, 2024

users are not supposed to capitalize them themselves

Why is that?

Because Django already does this internally. I think this used to be documented better/more clearly, all I could find quickly now is the last sentence here.

@koeaw
Copy link
Contributor Author

koeaw commented Apr 26, 2024

Relatedly: the order of entities in the dropdown is also off now.

I can't quite tell what it's based on, but it doesn't seem seem to be alphabetical in any direction by either model name or (German) verbose_name. Nor in order in which entity classes appear in models.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
easy Should be an easy fix UI-UX Appearance, coherence, usability of user-facing parts (frontend, user interface)
Projects
None yet
2 participants