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 translation missing strings visual #2333

Merged
merged 2 commits into from
Nov 8, 2017

Conversation

kennyadsl
Copy link
Member

@kennyadsl kennyadsl commented Oct 29, 2017

Text without translation is currently rendered with current element text color on a red background. This makes that text unreadable:

schermata 2017-10-29 alle 17 17 31

Using our red color (#C60F13) as text color will improve readability. Also, a white background has been added if, for some reason, text is rendered over an element with red background, eg. flash errors.

schermata 2017-10-29 alle 17 57 20

At almost no cost, I also added tooltips for those elements since they use element title as tooltip content:

schermata 2017-10-29 alle 18 02 37

Text color under a red background makes that text unreadable.
Using our red color as text will improve readability. Also, a
white background has been added if, for some reason, text is
rendered over an element with red background, eg. flash errors.
Backend javascript needs to be loaded before defining inline
configurations for specific envs since both Spree.ready and
bootstrap tooltips are loaded there.
@kennyadsl kennyadsl added changelog:solidus_backend Changes to the solidus_backend gem UI labels Oct 29, 2017
@kennyadsl kennyadsl self-assigned this Oct 29, 2017
@jhawthorn jhawthorn merged commit ed4a4cd into solidusio:master Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_backend Changes to the solidus_backend gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants