2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-12 21:10:47 +08:00

FIX: broken select badge as user title (#5474)

* FIX: broken select badge as user title

* selected id wasn’t pass to underlying component
* <none> was rendered as an html tag <none></none>
* overriding a badge name wouldn’t work as it was using badge.name and not badge.display_name
* adds a spec to ensure this behavior is correct
This commit is contained in:
Joffrey JAFFEUX 2018-01-05 16:58:15 +01:00 committed by GitHub
parent ed4b845930
commit 642645ba9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
34 changed files with 65 additions and 35 deletions

View file

@ -2142,7 +2142,7 @@ zh_CN:
granted:
other: "%{count} 授予"
select_badge_for_title: 选择一个徽章作为你的头衔使用
none: "<none>"
none: "(none)"
badge_grouping:
getting_started:
name: 开始