Skip to content

Commit 1e3ab72

Browse files
committed
feat(i18n): add contributor call-to-action for current edition in (zh-CN)
1 parent d916a74 commit 1e3ab72

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/templates/zh-CN/base.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,15 @@
2020

2121
{% block announcement_text -%}
2222
{%- if year < DEFAULT_YEAR -%}
23-
<p lang="en">
23+
<p lang="zh-CN">
2424
您正在查看 Web 年鉴的上一版。
2525
查看 <a href="/{{ lang }}/{{ DEFAULT_YEAR }}/{% if chapter_lang_exists(lang, DEFAULT_YEAR, slug) or page_lang_exists(lang, DEFAULT_YEAR, slug) %}{{ slug }}{% endif %}">{{ DEFAULT_YEAR }} 年版!</a>.
2626
</p>
27+
{%- elif year == DEFAULT_YEAR -%}
28+
<p lang="zh-CN">
29+
📣 <a href="https://github.com/HTTPArchive/almanac.httparchive.org/discussions/4062">
30+
<b>贡献者招募:</b></a> 帮助打造 Web Almanac 2025,加入塑造本年度版本的团队吧!
31+
</p>
2732
{%- endif -%}
2833
{% endblock %}
2934

0 commit comments

Comments
 (0)