Skip to content

Commit 1472557

Browse files
authored
Update locales: zh-CN, zh-HK, zh-TW (#751) (fix #608, fix #609, fix #610)
- Remove :other from :aria_label key and code comment - Change :item_name which had :one_other keys to default to the :other key
1 parent aab0b43 commit 1472557

File tree

3 files changed

+21
-27
lines changed

3 files changed

+21
-27
lines changed

gem/locales/zh-CN.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22
zh-CN:
33
pagy:
44
aria_label:
5-
# please add a comment in the https://github.com/ddnexus/pagy/issues/608
6-
# posting the translation of the following "Page"/"Pages" with the plurals for this locale
7-
nav: "Pages"
5+
nav: ""
86
prev: "上一页"
97
next: "下一页"
108
prev: "<"
119
next: ">"
1210
gap: "…"
13-
item_name: ""
11+
item_name: ""
1412
info:
15-
no_items: "项目未找到"
16-
single_page: "显示%{count} 项%{item_name}"
17-
multiple_pages: "共 %{count} 项%{item_name},显示 %{from}-%{to}"
18-
combo_nav_js: "第 %{page_input} / %{pages} 页"
19-
limit_selector_js: "每页显示 %{limit_input} 条%"
13+
no_items: "未找到任何 %{item_name}"
14+
single_page: "显示 %{count} 项 %{item_name}"
15+
multiple_pages: "共 %{count} 项 %{item_name},显示第 %{from}-%{to}"
16+
combo_nav_js: "第 %{page_input} 页,共 %{pages} 页"
17+
limit_selector_js: "每页显示 %{limit_input} 项 %{item_name}"

gem/locales/zh-HK.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22
zh-HK:
33
pagy:
44
aria_label:
5-
# please add a comment in the https://github.com/ddnexus/pagy/issues/609
6-
# posting the translation of the following "Page"/"Pages" with the plurals for this locale
7-
nav: "Pages"
5+
nav: ""
86
prev: "上一頁"
97
next: "下一頁"
108
prev: "<"
119
next: ">"
1210
gap: "…"
13-
item_name: ""
11+
item_name: ""
1412
info:
15-
no_items: "記錄未搵到"
16-
single_page: "顯示 %{count} %{item_name}"
17-
multiple_pages: " %{count} %{item_name},顯示 %{from}-%{to}"
18-
combo_nav_js: "第 %{page_input} / %{pages} 頁"
19-
limit_selector_js: "每頁顯示 %{limit_input} 記錄"
13+
no_items: "搵唔到任何 %{item_name}"
14+
single_page: "顯示 %{count} %{item_name}"
15+
multiple_pages: "總共 %{count} %{item_name},顯示第 %{from}%{to}"
16+
combo_nav_js: "第 %{page_input} 頁,共 %{pages} 頁"
17+
limit_selector_js: "每頁顯示 %{limit_input} 項 %{item_name}"

gem/locales/zh-TW.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22
zh-TW:
33
pagy:
44
aria_label:
5-
# please add a comment in the https://github.com/ddnexus/pagy/issues/610
6-
# posting the translation of the following "Page"/"Pages" with the plurals for this locale
7-
nav: "Pages"
5+
nav: ""
86
prev: "上一頁"
97
next: "下一頁"
108
prev: "<"
119
next: ">"
1210
gap: "…"
13-
item_name: ""
11+
item_name: ""
1412
info:
15-
no_items: "沒找到項"
16-
single_page: "顯示 %{count} 項%{item_name}"
17-
multiple_pages: "共 %{count} 項%{item_name},顯示 %{from}-%{to}"
18-
combo_nav_js: "第 %{page_input} / %{pages} 頁"
19-
limit_selector_js: "每頁顯示 %{limit_input} 項%{item_name}"
13+
no_items: "未找到任何 %{item_name}"
14+
single_page: "顯示 %{count} 項 %{item_name}"
15+
multiple_pages: "共 %{count} 項 %{item_name},顯示第 %{from}%{to}"
16+
combo_nav_js: "第 %{page_input} 頁,共 %{pages} 頁"
17+
limit_selector_js: "每頁顯示 %{limit_input} 項 %{item_name}"

0 commit comments

Comments
 (0)