Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ko locale #567

Merged
merged 1 commit into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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