# 语音徽章覆盖了自定义徽章

**URL:** <https://meta.discourse.org/t/voice-badges-overwrote-a-custom-badge/412811>\
**Category:** Bug\
**Tags:** badges, patreon, voice\
**Created:** [2026年九月18日 22:26 UTC](https://meta.discourse.org/t/voice-badges-overwrote-a-custom-badge/412811 "2026-09-18T22:26:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [2026年九月25日 16:43 UTC](https://meta.discourse.org/t/voice-badges-overwrote-a-custom-badge/412811/2 "2026-09-25T16:43:54Z")

</div>

是的，这里存在一个名称冲突导致的问题。此更改将添加一些防护措施以避免未来再次发生，重命名语音徽章，并恢复之前的赞助者徽章

> <https://github.com/discourse/discourse/pull/44127>
>
> Reported here: https://meta.discourse.org/t/voice-badges-overwrote-a-custom-badg…e/412811
> 
> The "Patron" badge from the Voice plugin is overwriting the "Patron" badge from the Patreon plugin. 
> 
> When plugins seed their badges with \`Badge.seed(:name)\` they can overwrite existing badges with the same name. This change adds \`Badge.seed\_unless\_site\_has("Badge name")\` which skips seeding if there's an existing site-created badge with the same name. This has been applied to the core plugins that seed badges. 
> 
> This also adds changes so badge translations no longer apply to non-system badges, so a plugin's locale file can't override the name or description of a badge the site created.
> 
> The "Patron" badge from the Voice plugin that was overriding the "Patron" badge from the Patreon plugin is now renamed to "Frequenter," and restores the Patreon "Patron" badge where the patrons group still exists.

---

_[View the full topic](https://meta.discourse.org/t/voice-badges-overwrote-a-custom-badge/412811)._
