Skip to content

Commit

Permalink
Khmer translation for pagy (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
radinreth committed Apr 23, 2020
1 parent 7ced96c commit d58a39d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions lib/locales/km.yml
@@ -0,0 +1,19 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)

km:
pagy:
item_name: "αž’αžΆαžαž»"

nav:
prev: "‹ αž˜αž»αž“"
next: "αž”αž“αŸ’αž‘αžΆαž”αŸ‹ ›"
gap: "…"

info:
no_items: "αž˜αž·αž“αž˜αžΆαž“ %{item_name} αž‘αŸ"
single_page: "αž”αž„αŸ’αž αžΆαž‰ <b>%{count}</b> %{item_name}"
multiple_pages: "αž”αž„αŸ’αž αžΆαž‰ %{item_name} <b>%{from}-%{to}</b> αž“αŸƒ <b>%{count}</b> αž‡αžΆαž…αŸ†αž“αž½αž“αžŸαžšαž»αž”"

combo_nav_js: "αž‘αŸ†αž–αŸαžš %{page_input} αž“αŸƒ %{pages}"

items_selector_js: "αž”αž„αŸ’αž αžΆαž‰ %{items_input} %{item_name} αž€αŸ’αž“αž»αž„ ៑ αž‘αŸ†αž–αŸαžš"
1 change: 1 addition & 0 deletions lib/locales/utils/p11n.rb
Expand Up @@ -72,6 +72,7 @@
hash['zh-CN'] = p11n[:other]
hash['zh-HK'] = p11n[:other]
hash['zh-TW'] = p11n[:other]
hash['km'] = p11n[:other]
end

[ plurals, p11n ]
Expand Down

0 comments on commit d58a39d

Please sign in to comment.