Skip to content

Commit

Permalink
Merge pull request #567 from heka1024/add-ko-locale
Browse files Browse the repository at this point in the history
Add ko locale
  • Loading branch information
AaronLasseigne authored Oct 15, 2023
2 parents 2fed022 + a74a87b commit 09dd3cd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions lib/active_interaction/locale/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
ko:
active_interaction:
errors:
messages:
invalid: 유효하지 않습니다
invalid_type: '%{type}은(는) 유효하지 않습니다'
missing: 이(가) 누락되었습니다
types:
array: 배열
boolean: 불린
date: date
date_time: date time
decimal: decimal
file: 파일
float: float
hash: 해시
integer: 정수
interface: 인터페이스
object: 오브젝트
record: 레코드
string: 문자열
symbol: 심볼
time: time
4 changes: 4 additions & 0 deletions spec/active_interaction/i18n_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@
include_examples 'translation', :it
end

context 'korean' do
include_examples 'translation', :ko
end

context 'hsilgne' do
# This must appear before including the translation examples so that the
# locale is available before it is assigned.
Expand Down

0 comments on commit 09dd3cd

Please sign in to comment.