Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 2 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
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Application < Rails::Application
config.i18n.load_path += Dir[Rails.root.join("config", "locales", "**", "*.{rb,yml}")]

# Available locales
I18n.available_locales = [:en]
I18n.available_locales = [:en, :ko]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use %i or %I for an array of symbols.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not error.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@minwook-shin - Not an error, but code quality standards have been set like this for this project, in the .rubocop.yml file.

So, changing [:en, :ko] -> %i[en ko] would make hound bot happy. 😄

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! @athityakumar !

and @houndci-bot , I modified code for you.


# Append directories to autoload paths
config.eager_load_paths += %w[lib].map { |path| Rails.root.join(path).to_s }
Expand Down
81 changes: 81 additions & 0 deletions config/locales/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Files in the config/locales directory are used for internationalization
# and are automatically loaded by Rails. If you want to use locales other
# than English, add the necessary files in this directory.
#
# To use the locales, use `I18n.t`:
#
# I18n.t 'hello'
#
# In views, this is aliased to just `t`:
#
# <%= t('hello') %>
#
# To use a different locale, set it with `I18n.locale`:
#
# I18n.locale = :es
#
# This would use the information in config/locales/es.yml.
#
# The following keys must be escaped otherwise they will not be retrieved by
# the default I18n backend:
#
# true, false, on, off, yes, no
#
# Instead, surround them with single quotes.
#
# en:
# 'true': 'foo'
#
# To learn more, please read the Rails Internationalization guide
# available at http://guides.rubyonrails.org/i18n.html.

ko:
assignment_form:
slug_note: '이 할당을 위해 생성된 각각의 깃허브 저장소 앞에 접두사가 붙습니다. 영숫자, 밑줄 또는 하이픈만 사용할 수 있습니다.'
activerecord:
attributes:
grouping:
title: '팀의 세트'
slug: '팀의 세트'
group:
title: '당신의 팀'
slug: '당신의 팀'
group_assignment:
title: '당신의 과제 제목'
slug: '과제 저장소 접두어'
grouping: '팀의 세트'
public_repo: ''
assignment:
title: '과제 제목'
slug: '과제 저장소 접두어'
public_repo: ''
roster:
roster_entries: '당신의 명단'
errors:
models:
grouping:
attributes:
title:
blank: '참석해야 함'
taken: '조직에서 이미 사용중'
group_assignment:
attributes:
title:
blank: '참석해야 함'
slug:
taken: '고유해야 함'
assignment:
attributes:
title:
blank: '참석해야 함'
slug:
taken: '고유해야 함'
roster:
attributes:
roster_entries:
blank: '적어도 한명의 학생은 있어야 합니다.'
views:
pagination:
previous: '이전'
next: '다음'
truncate: '...'
58 changes: 58 additions & 0 deletions config/locales/views/organizations/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
ko:
views:
organizations:
select_organization: '새로운 강의실용 조직 선택하기'
no_organizations: '오,깃허브 계정에 모든 조직이 없습니다.'
please_create_or_authorize_new_organization: "<a href='https://github.com/organizations/new'>GitHub.com에서 조직을 생성</a> 하거나 %{authorize_href}하여 다시 방문하십시오."
authorize_organization_access_link: "기존의 것을 허가"
grant_organization_access: "목록에 없는 조직에 대한 액세스 권한 부여"
grant_organization_access_protip: "<strong>프로팁!</strong> 조직이 보이지 않나요? 먼저 %{href}이(가) 필요합니다."
grant_organization_access_link: '우리에게 액세스 권한 부여'
you_are_not_owner: '당신은 소유자가 아니기 때문에 이 조직을 강의실에 추가 할 수 없습니다'
already_added: '@%{owner}은(는) 이미 깃허브 강의실에 이 조직을 추가했습니다.'
manage_classroom: '강의실 관리'
edit: '수정'
invite_administrator: '다른 관리자 초대'
add_to_organization: '1. 깃허브 조직에 그들을 추가하기'
must_add_as_owner: '관리자에게 액세스 권한을 부여하려면 조직에 소유자로 추가해야합니다.'
link_to_add_owner: '%{href}에서 그렇게 할 수 있습니다.'
give_this_link: '2. 이 URL을 그들에게 건내주기'
give_this_link_desc: '로그인하면, 자동으로 이 강의실에 추가됩니다.'
copy_to_clipboard: '클립보드로 복사'
copied: '복사됨!'
copy_classroom_link: '강의실 링크 복사'
continue: '계속'
individual_assignments: '개인 과제'
group_assignments: '그룹 과제'
are_you_sure: '절대적으로 확신하십니까?'
delete_warning: "당신이 이것을 읽지 않으면 예기치 않은 일이 일어날 것입니다!"
delete_consequences_html: "이 작업은 취소 <strong>할 수 없습니다</strong>. 이 강의실을 재설정하거나 삭제하면 깃허브 강의실에서 만든 <strong>%{organization}</strong> 계정 아래의 모든 저장소와 팀이 삭제됩니다."
delete_confirm: '확인하려는 조직의 이름을 입력하십시오.'
delete_submit: '이 강의실 초기화하고 삭제하기'
classroom_settings: '강의실 설정'
classroom_profile: '강의실 프로필'
student_identifiers: '학생 식별자'
team_management: '팀 관리'
invite_other_admin: '다른 관리자 초대'
profile_information: '프로필 정보'
save_changes: '변경점 저장'
theres_no_going_back: '이 강의실을 초기화 하면, 돌아갈 수 없습니다. 다시 확인해주세요.'
new_classroom: '새로운 강의실'
classrooms: '강의실'
no_classrooms: "아직 어떤 강의실도 관리하고 있지 않습니다."
no_classrooms_desc: '최소한 하나의 강의실을 가지면 과제를 시작할 수 있습니다.'
create_first_classroom: '첫번째 강의실 생성'
new_assignment: '새로운 과제'
individual_assignment: '개인 과제'
individual_assignment_desc: '각 참여자는 자신의 저장소에서 개별적으로 작업합니다.'
create_individual_assignment: '개인 과제 생성'
group_assignment: '그룹 과제'
group_assignment_desc: '참여자는 공유 저장소에서 함께 작업하는 팀을 구성합니다.'
create_group_assignment: '그룹 과제 생성'
name_your_classroom: '강의실 이름'
give_descriptive_name: '강의실에 더 알기 쉬운 이름을 지정하십시오.'
set_of_teams: '팀의 세트'
no_teams: "이 강의실에는 아직 팀이 없습니다."
assignments: '과제'
no_assignments: "이 조직에는 아직 과제가 없습니다."
create_first_assignment: '첫번째 과제 생성'
13 changes: 13 additions & 0 deletions config/locales/views/pages/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ko:
views:
pages:
banner_heading: '깃허브의 과제 코스'
banner_subheading: '깃허브 강의실은 저장소 생성 및 액세스 제어를 자동화하므로 깃허브에서 시작 코드를 배포하고 할당을 쉽게 할 수 있습니다.'
see_how_it_works: '작동 방법 보기'
sign_in_to_start: '시작하려면 깃허브 계정으로 로그인'
create_assignments: '과제 만들기'
create_assignments_desc: '시작 코드로 과제을 배분하십시오. 학생들은 공개 또는 비공개 깃허브 저장소를 사용하여 과제를 개별적으로 또는 그룹으로 작업합니다.'
invite_students: '학생 초대'
invite_students_desc: '학생들은 고유한 초대 URL을 사용하여 과제에 접근할 수 있으므로, 사전에 깃허브 사용자 이름을 수집하고 수동으로 접근을 관리 할 필요가 없습니다.'
review_progress: '진행상황 리뷰'
review_progress_desc: '교사와 조교는 과제물 제출을 찾아 볼 수 있으므로, 학생의 진도를 쉽게 따라갈 수 있습니다.'
4 changes: 4 additions & 0 deletions config/locales/views/rosters/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ko:
views:
rosters:
blank_slate_header: '연결되지 않은 깃허브 계정 없음'
17 changes: 17 additions & 0 deletions config/locales/views/shared/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ko:
views:
shared:
sign_in: '로그인'
sign_out: '로그아웃'
stop_impersonating: '@%{user} 명의도용 금지하기'
view_gh_profile: '깃허브 프로필 보기'
community_discussion: '커뮤니티 토론'
video_tutorials: '비디오 튜토리얼'
report_bug: '버그 제출하기'
copy_to_clipboard: '클립보드 복사하기'
copy_invitation_link: '초대 링크 복사하기'
give_this_to_students: '학생에게 건내주기'
give_this_to_students_short: '또는 짧은 URL을 사용하기'
classroom_is_open_source: "깃허브 강의실은 %{href}입니다."
open_source_href: "오픈소스"
with_love_by_github: "%{octicon_mortar_board} with %{octicon_heart} by %{href}"
13 changes: 13 additions & 0 deletions config/locales/views/stafftools/assignment_invitations/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ko:
views:
stafftools:
assignment_invitations:
invitation_for: '과제 초대하는 '
created: '만들어짐'
assignment_type: '개별 과제 초대'
assignment_invitation_title: '과제 초대 정보'
id: '아이디'
assignment: '과제'
owner: '소유자'
invitation_url: '초대 URL'
created_on: '생성일'
26 changes: 26 additions & 0 deletions config/locales/views/stafftools/assignment_repos/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
ko:
views:
stafftools:
assignment_repos:
assignment_title: "%{user_login}의 %{title}용 과제 저장소"
created: '만들어짐'
assignment_repo: '과제 저장소'
assignment_repo_small: '과제 저장소'
general_info: '일반 정보'
id: '아이디'
owned_by: '소유자'
created_by: '제작자'
assignment: '과제'
user: '유저'
created_on: '생성자'
github_repo: '깃허브 저장소'
repo_id: '저장소 아이디'
source_code: '소스 코드'
dangerzone: '위험 구역'
delete_repo_title: '이 과제 저장소 삭제'
delete_repo_confirmation: '당신은 절대적으로 확신합니까?'
delete_repo_warning: "당신이 이것을 읽지 않으면 예기치 않은 일이 일어날 것입니다!"
delete_repo_desc: '이 작업은 취소 <strong>할 수 없습니다</strong>. <br>
        깃허브 강의실의 기록<strong>과</strong> GitHub의 저장소가 삭제됩니다.'
repo_id_confirmation: '확인을 위해 할당 저장소의 아이디 (%{assignment_repo_id})를 입력하십시오.'
delete_repo_link_text: '이 과제 저장소 삭제'
17 changes: 17 additions & 0 deletions config/locales/views/stafftools/assignments/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ko:
views:
stafftools:
assignments:
assignment_title: "%{organization_login}용 %{title} 과제 "
created: '만들어짐'
assignment_type: '개별 과제'
assignment_info: '과제 정보'
id: '아이디'
owned_by: '소유자'
created_by: '생성자'
starter_code: '스타터 코드'
invitation: '초대'
created_on: '제작자'
last_updated: '마지막 업데이트'
assignment_repo: '과제 저장소'
deadline: '제출일'
17 changes: 17 additions & 0 deletions config/locales/views/stafftools/group_assignments/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ko:
views:
stafftools:
group_assignments:
created: '만들어짐'
group_assignment: '그룹 과제'
group_assignment_info: '그룹 과제 정보'
id: '아이디'
owned_by: '소유자'
created_by: '생성자'
starter_code: '스타터 코드'
groupig: '그룹화'
invitation: '초대'
created_on: '생성일'
last_updated: '마지막 업데이트'
group_assignment_repo: '그룹 과제 저장소'
deadline: '제출일'
13 changes: 13 additions & 0 deletions config/locales/views/stafftools/groups/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ko:
views:
stafftools:
groups:
group: '그룹'
id: '아이디'
owner: '소유자'
grouping: '그룹화'
github_url: '깃허브 URL'
created_on: '생성일'
team_members: '팀 맴버'
group_title: '%{organization_login}용 %{title} 그룹'
created: '생성됨'
19 changes: 19 additions & 0 deletions config/locales/views/stafftools/organizations/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
ko:
views:
stafftools:
organizations:
added: '추가됨'
remove_owner_header: '이 소유자를 삭제 하시겠습니까?'
remove_owner_desc: '조직에서 이 사용자를 삭제하지 않습니다.'
remove_user_btn_text: '사용자 제거'
classroom: '강의실'
id: '아이디'
joined_on: '가입된'
last_updated: '마지막 업데이트됨'
github_organization: '깃허브 조직'
homepage: '홈페이지'
webhook_url: '웹훅 URL'
webhook_enabled_check: '웹훅 사용 가능한가요?'
owners: '소유자'
assignments: '과제'
groupings: '그룹화'
13 changes: 13 additions & 0 deletions config/locales/views/stafftools/repo_accesses/ko.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ko:
views:
stafftools:
repo_accesses:
repository_access: '저장소 접근'
accesses: '저장소 접근'
id: '아이디'
github_team_id: '깃허브 팀 아이디'
owned_by: '소유자'
organization: '조직'
created_on: '생성일'
created: '생성됨'
repo_access_info: "%{organization_login}용 %{user_login}의 저장소 접근"