# 重复事件中的本地化错误

**URL:** https://meta.discourse.org/t/localization-bug-in-recurring-events/405016
**Category:** Bug
**Tags:** events
**Created:** [2026年六月10日 22:23 UTC](https://meta.discourse.org/t/localization-bug-in-recurring-events/405016 "2026-06-10T22:23:53Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Frully](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frully/32/235059_2.png) [@Frully](https://meta.discourse.org/u/Frully)
#### Post date: [2026年六月10日 22:23 UTC](https://meta.discourse.org/t/localization-bug-in-recurring-events/405016/1 "2026-06-10T22:23:53Z")

</div>

TLDR：事件渲染时，重复文本显示为“Every [缺失的 %{weekday} 值]”，而非“每周二”。

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/a/2/0a2177275bb2e87d97c46b71c38bf00ec310ea3b.png)

我们使用的区域设置是英式英语。

 ![image](https://global.discourse-cdn.com/meta/original/4X/f/b/6/fb6f2164bf31a8697c98e7d7cc714efbb4534110.png)

看起来 %{weekday} 并未被插件正确传入变量。

谷歌翻译建议我可能需要为 `discourse_calendar.post_event.recurrence.every_week` 添加翻译，但该键在查找表中似乎并不存在。

我尝试使用自动生成器创建一个全新事件，以排查是否为模板问题，但新事件仍存在相同问题。

```plaintext
[event start="2026-06-02 19:00" status="public" timezone="America/Edmonton" recurrence="every_week" end="2026-06-02 21:00"]
[/event]

```

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2026年六月11日 16:04 UTC](https://meta.discourse.org/t/localization-bug-in-recurring-events/405016/2 "2026-06-11T16:04:26Z")

</div>

你运行的是最新版本吗？

我很确定 @awesomerobot 最近\_非常\_刚修复了这个问题 🤔

---

<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年六月11日 16:26 UTC](https://meta.discourse.org/t/localization-bug-in-recurring-events/405016/3 "2026-06-11T16:26:08Z")

</div>

是的，大约一周前就应该已经修复了。

> <https://github.com/discourse/discourse/pull/40575>
>
> The new formatting for recurrence in the configuration modal wasn't synced up wi…th the rendered event in the post — this adds a new helper so they share the same source logic.
> 
> Added tests to avoid future regression.  
> 
> Also fixed some minor CSS in the modal. 
> 
> 
> Before:
> \<img width="1398" height="660" alt="image" src="https://github.com/user-attachments/assets/7cd36ac1-8106-404a-92ed-e35f64a44342" /\>
> 
> 
> After: 
> \<img width="1496" height="712" alt="image" src="https://github.com/user-attachments/assets/2c068a45-d5b0-4fc7-8ba1-980e9720c156" /\>

所以更新一下就能解决这个问题！

---

<div class="post-metadata">

### Author: ![Frully](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frully/32/235059_2.png) [@Frully](https://meta.discourse.org/u/Frully)
#### Post date: [2026年六月11日 19:18 UTC](https://meta.discourse.org/t/localization-bug-in-recurring-events/405016/4 "2026-06-11T19:18:35Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/d/0/6/d061d748cc43a1855dc991978b5c33e14a5b90d6.png)

提示显示我已经是最新版本了。我可以执行一次重新构建，以防有些内容没赶上某个截止点。

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2026年六月11日 19:45 UTC](https://meta.discourse.org/t/localization-bug-in-recurring-events/405016/5 "2026-06-11T19:45:23Z")

</div>

“Latest” 是你跟踪的频道，而该表情符号仅提示你在每次发布后更新。

我在这里写的大部分内容也非常适合你的情况：

> [@推出主题列表的统一新视图](https://meta.discourse.org/t/introducing-the-unified-new-view-for-the-topic-list/404728/7):
>
> 看起来您上次更新论坛大约是两周前。Discourse 团队每天会多次合并新功能，因此您往往只在更新后的短时间内使用到真正的最新版本。 那个提示您“已是最新”的笑脸图标并不会追踪每一次单独的提交，否则它将一直显示“不开心”。它检查的是版本号：每当版本号提升时，图标会提示您进行更新。安全更新通常会在版本号提升前合并完成。此时正是您应该进行更新以获取这些安全补丁的时候，同时这也是一种提醒，即使没有新更新，也建议每月更新一次。 但如果您想测试某个刚刚宣布的全新功能，即使笑脸图标显示“开心”（即已是最新），您通常也需要进行更新，因为版本号尚未改变。 以下是自您上次更新论坛以来合并的所有提交记录：[更新日志 | Discourse 发布版本 | d55ea4fd0f → 最新](https://releases.discourse.org/changelog/custom?end=latest&start=d55ea4fd0f) 即将推出的统一新视图功能就位于该列表的顶部，因此它确实是全新的。

你应该能看到 /admin-update 上有新的提交：

 ![Screenshot_20260611_214459_Firefox](https://global.discourse-cdn.com/meta/original/4X/f/d/0/fd06d1ecc9679937ddbb6c466d162c896948d32f.jpeg)

---

<div class="post-metadata">

### Author: ![Frully](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frully/32/235059_2.png) [@Frully](https://meta.discourse.org/u/Frully)
#### Post date: [2026年六月11日 20:53 UTC](https://meta.discourse.org/t/localization-bug-in-recurring-events/405016/6 "2026-06-11T20:53:38Z")

</div>

强制更新后，bug 确实已修复。谢谢大家！

---

<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年六月11日 21:10 UTC](https://meta.discourse.org/t/localization-bug-in-recurring-events/405016/7 "2026-06-11T21:10:38Z")

</div>


