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

Fixes colors in note UI #26536

Merged

Conversation

AMurkin
Copy link
Contributor

@AMurkin AMurkin commented Nov 5, 2018

Summary

SUMMARY: Bugfixes "Fixes colors in note UI"

Purpose of change

Fixes issue with multi-colored description, mentioned in #25418.

Describe the solution

_() replaced with translate_marker() for color names. They already translated where needed.

Describe alternatives you've considered

Alternative suggested by @Qrox in #25418: Maybe construct note_color (value type of color_by_string_map) with untranslated name and make two functions name() and tag() which return the translated name and color tag respectively?

Additional context

We should fix note editing issue in this input popup. Maybe create new class inherited from string_input_popup, allowing dynamic update of the UI elements.

@ZhilkinSerg ZhilkinSerg merged commit c3fc0f6 into CleverRaven:master Nov 5, 2018
@AMurkin AMurkin deleted the delay-color-names-translation branch November 5, 2018 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants