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

Improve states.di display #58

Open
Percherie opened this issue Aug 4, 2024 · 2 comments
Open

Improve states.di display #58

Percherie opened this issue Aug 4, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Percherie
Copy link

Hello,

In the language files https://github.com/argaar/comfortable-environment-card/blob/main/src/localize/languages/en/languages.json

states.di labels in some cases are quite long and overload the map.

Is it possible to create a new field to write a description of the problem, for example states.di.definition? And display the definition as an option or on mouse-over? On the companion application, this could be a tooltip when the mouse is tapped.
This would greatly shorten the length of the label and provide clarification and modularity.

@Percherie
Copy link
Author

For example, I've just made a pull request for the French translation.

The old version had short wording, but the English version has detailed wording. I've mixed the two but this generates long text to integrate into the card.

@argaar argaar self-assigned this Aug 16, 2024
@argaar argaar added the enhancement New feature or request label Aug 16, 2024
@argaar
Copy link
Owner

argaar commented Aug 16, 2024

I've added your string on Locize and plan to release a new revision version with the updated FR language.

About the lenght of the strings, you're right, sometimes they're too long for screen readability or just for aesthetic purposes.

While I can certanly create a new, long, description and let the short one as before, you can also check out the settings that let you show/hide some elements (icon, text, index)
image

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

No branches or pull requests

2 participants