feat(i18n): implement pluralization logic (#277)

Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
Mohammed Alotaibi
2024-02-16 17:41:25 +03:00
committed by GitHub
parent daef40338c
commit c4893d4fdd
22 changed files with 368 additions and 144 deletions

View File

@@ -18,13 +18,14 @@ sitemap = "站点地图" # Machine translated.
search = "搜索"
search_icon_title = "点击或按 $SHORTCUT 开启搜索" # $SHORTCUT will be replaced with the actual keyboard shortcut.
clear_search = "清除搜索" # Title of the X icon next to search input.
result = "结果" # "1 result"
results = "结果" # "3 results" (also used for 0 results).
zero_results = "没有找到结果"
one_results = "$NUMBER 个结果"
many_results = "$NUMBER 个结果"
# Navigation.
read_more = "阅读全文"
post = "文章"
posts = "文章" # Plural of "post".
one_posts = "$NUMBER 篇文章"
many_posts = "$NUMBER 篇文章"
prev = "上一页" # As in "Previous" page.
next = "下一页" # As in "Next" page.
of = "/" # E.g. Page 1 "of" 3
@@ -36,7 +37,6 @@ dark = "暗" # Machine translated.
light = "亮" # Machine translated.
reset_mode = "将模式重置为网站默认值" # Machine translated.
# Quick navigation buttons.
toggle_toc = "切换目录" # Machine translated.
go_to_top = "返回页面顶部" # Machine translated.
@@ -44,8 +44,12 @@ go_to_comments = "转到评论区" # Machine translated.
# Post metadata.
draft = "草稿"
min_read = "分钟阅读"
words = "字"
zero_min_read = "少于1分钟阅读"
one_min_read = "$NUMBER 分钟阅读"
many_min_read = "$NUMBER 分钟阅读"
zero_words = "没有字"
one_words = "$NUMBER 字"
many_words = "$NUMBER 字"
last_updated_on = "最后更新于"
see_changes = "修改纪录"