Skip to content

Commit

Permalink
Add translation ko.yml for korean (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
yhk1038 authored and ddnexus committed Aug 12, 2019
1 parent da3fc37 commit 0b42e5c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
/pkg/
/spec/reports/
/tmp/
/.idea/
20 changes: 20 additions & 0 deletions lib/locales/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/locales/utils/p11n.rb)

ko:
pagy:

item_name: "ν•­λͺ©"

nav:
prev: "‹ μ΄μ „"
next: "이후 ›"
gap: "…"

info:
no_items: "%{item_name} μ—†μŒ"
single_page: "<b>%{count}</b>개의 %{item_name} ν‘œμ‹œλ¨"
multiple_pages: "총 <b>%{count}</b>개의 %{item_name} 쀑 <b>%{from}-%{to}</b>"

combo_nav_js: "총 %{pages} 쀑 %{page_input} νŽ˜μ΄μ§€"

items_selector_js: "νŽ˜μ΄μ§€ λ‹Ή %{items_input}개 ν‘œμ‹œ%"
1 change: 1 addition & 0 deletions lib/locales/utils/p11n.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
hash['id'] = p11n[:other]
hash['fr'] = p11n[:one_upto_two_other]
hash['ja'] = p11n[:other]
hash['ko'] = p11n[:other]
hash['pl'] = p11n[:polish]
hash['ru'] = p11n[:east_slavic]
hash['se'] = p11n[:one_two_other]
Expand Down

0 comments on commit 0b42e5c

Please sign in to comment.