-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Fix i18n for email notifications #20518
Conversation
@@ -59,7 +59,7 @@ | |||
<div class="ui selection dropdown" tabindex="0"> | |||
<input name="preference" type="hidden" value="{{.EmailNotificationsPreference}}"> | |||
{{svg "octicon-triangle-down" 14 "dropdown icon"}} | |||
<div class="text">{{$.locale.Tr "settings.email_notifications"}}</div> | |||
<div class="text"></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why?
Because the key doesn't exist?
And if yes, shouldn't it be created? Or what is the purpose of an empy div without a meaningful styleclass?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The key doesn't exist.
The JS will fill the <div class=text>
with selected text finally. That's how the Fomantic UI dropdown works.
🚀 |
Follows #20179