Skip to content

Commit

Permalink
Update locales: zh-CN, zh-HK, zh-TW (#751) (fix #608, fix #609, fix #610
Browse files Browse the repository at this point in the history
)

- Remove :other from :aria_label key and code comment
- Change :item_name which had :one_other keys to default to the :other key
  • Loading branch information
Davidzhu001 authored Dec 8, 2024
1 parent aab0b43 commit 1472557
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 27 deletions.
16 changes: 7 additions & 9 deletions gem/locales/zh-CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@
zh-CN:
pagy:
aria_label:
# please add a comment in the https://github.com/ddnexus/pagy/issues/608
# posting the translation of the following "Page"/"Pages" with the plurals for this locale
nav: "Pages"
nav: "页"
prev: "上一页"
next: "下一页"
prev: "<"
next: ">"
gap: "…"
item_name: ""
item_name: "项"
info:
no_items: "项目未找到"
single_page: "显示%{count} 项%{item_name}"
multiple_pages: "共 %{count} 项%{item_name},显示 %{from}-%{to}"
combo_nav_js: "第 %{page_input} / %{pages} 页"
limit_selector_js: "�页显示 %{limit_input} �%"
no_items: "未找到任何 %{item_name}"
single_page: "显示 %{count} 项 %{item_name}"
multiple_pages: "共 %{count} 项 %{item_name},显示第 %{from}-%{to} 项"
combo_nav_js: "第 %{page_input} 页,共 %{pages} 页"
limit_selector_js: "�页显示 %{limit_input} 项 %{item_name}"
16 changes: 7 additions & 9 deletions gem/locales/zh-HK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@
zh-HK:
pagy:
aria_label:
# please add a comment in the https://github.com/ddnexus/pagy/issues/609
# posting the translation of the following "Page"/"Pages" with the plurals for this locale
nav: "Pages"
nav: "é ?"
prev: "上一�"
next: "下一�"
prev: "<"
next: ">"
gap: "…"
item_name: ""
item_name: "é …"
info:
no_items: "記錄未�到"
single_page: "顯示 %{count} %{item_name}"
multiple_pages: "共 %{count} %{item_name},顯示 %{from}-%{to}"
combo_nav_js: "第 %{page_input} / %{pages} �"
limit_selector_js: "��顯示 %{limit_input} 記錄"
no_items: "�唔到任何 %{item_name}"
single_page: "顯示 %{count} 項 %{item_name}"
multiple_pages: "總共 %{count} 項 %{item_name},顯示第 %{from} 至 %{to} 項"
combo_nav_js: "第 %{page_input} �,共 %{pages} �"
limit_selector_js: "��顯示 %{limit_input} 項 %{item_name}"
16 changes: 7 additions & 9 deletions gem/locales/zh-TW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@
zh-TW:
pagy:
aria_label:
# please add a comment in the https://github.com/ddnexus/pagy/issues/610
# posting the translation of the following "Page"/"Pages" with the plurals for this locale
nav: "Pages"
nav: "é ?"
prev: "上一�"
next: "下一�"
prev: "<"
next: ">"
gap: "…"
item_name: ""
item_name: "é …"
info:
no_items: "沒找到項"
single_page: "顯示 %{count} 項%{item_name}"
multiple_pages: "共 %{count} 項%{item_name},顯示 %{from}-%{to}"
combo_nav_js: "第 %{page_input} / %{pages} �"
limit_selector_js: "��顯示 %{limit_input} 項%{item_name}"
no_items: "未找到任何 %{item_name}"
single_page: "顯示 %{count} 項 %{item_name}"
multiple_pages: "共 %{count} 項 %{item_name},顯示第 %{from} 至 %{to} 項"
combo_nav_js: "第 %{page_input} �,共 %{pages} �"
limit_selector_js: "��顯示 %{limit_input} 項 %{item_name}"

0 comments on commit 1472557

Please sign in to comment.