Skip to content

Commit 4a3c59a

Browse files
author
deepthought
committed
Add Korean translations and update links in documentation
1 parent 9314350 commit 4a3c59a

27 files changed

+262
-172
lines changed

.vuepress/config.js

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
navbarPtBR,
2121
navbarRU,
2222
navbarZhCN,
23+
navbarKo,
2324
sidebarDe,
2425
sidebarEn,
2526
sidebarFr,
@@ -28,6 +29,7 @@ import {
2829
sidebarPtBR,
2930
sidebarRU,
3031
sidebarZhCN,
32+
sidebarKo,
3133
} from './configs/index.js';
3234

3335
const compareDate = (dateA, dateB) => {
@@ -88,9 +90,23 @@ export default defineUserConfig({
8890
title: 'Nushell',
8991
description: 'Новый тип оболочки.',
9092
},
93+
'/ko/': {
94+
lang: 'ko-KR',
95+
title: 'Nushell',
96+
description: '새로운 유형의 셸',
97+
},
9198
},
9299
head: [
93-
["link", { rel: "preload", href: "/fonts/FiraCode-Regular.woff2", as: "font", type: "font/woff2", crossorigin: "anonymous" }],
100+
[
101+
'link',
102+
{
103+
rel: 'preload',
104+
href: '/fonts/FiraCode-Regular.woff2',
105+
as: 'font',
106+
type: 'font/woff2',
107+
crossorigin: 'anonymous',
108+
},
109+
],
94110
['meta', { name: 'theme-color', content: '#3eaf7c' }],
95111
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
96112
[
@@ -176,6 +192,13 @@ export default defineUserConfig({
176192
navbar: navbarZhCN,
177193
sidebar: sidebarZhCN,
178194
},
195+
'/ko/': {
196+
selectText: '언어',
197+
selectLanguageName: '한국어',
198+
editLinkText: 'GitHub에서 수정하기',
199+
navbar: navbarKo,
200+
sidebar: sidebarKo,
201+
},
179202
},
180203
themePlugins: {
181204
prismjs: false,

.vuepress/configs/navbar/ko.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import type { NavbarConfig } from '@vuepress/theme-default';
33
export const navbarKo: NavbarConfig = [
44
{ text: '문서', link: '/ko/book/' },
55
// { text: "Contributor Book", link: "/contributor-book/" },
6-
{ text: 'Cookbook', link: '/cookbook/' },
6+
{ text: '쿡북', link: '/cookbook/' },
77
{ text: '블로그', link: '/blog/' },
88
];

.vuepress/configs/sidebar/ko.ts

Lines changed: 70 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,37 @@ export const sidebarKo: SidebarConfig = {
88
link: '/ko/book/README.md',
99
collapsible: false,
1010
},
11+
{
12+
text: '설치하기',
13+
link: '/ko/book/installation.md',
14+
collapsible: false,
15+
children: ['/ko/book/default_shell.md'],
16+
},
1117
{
1218
text: '시작하기',
1319
link: '/ko/book/getting_started.md',
1420
collapsible: false,
1521
children: [
16-
'/ko/book/installation',
17-
'/ko/book/moving_around',
18-
'/ko/book/thinking_in_nushell',
22+
'/ko/book/quick_tour.md',
23+
'/ko/book/moving_around.md',
24+
'/ko/book/thinking_in_nu.md',
25+
'/ko/book/cheat_sheet.md',
1926
],
2027
},
2128
{
2229
text: 'Nu 기본',
2330
link: '/ko/book/nu_fundamentals.md',
2431
collapsible: false,
2532
children: [
26-
'/ko/book/types_of_data',
27-
'/ko/book/loading_data',
28-
'/ko/book/pipeline.md',
29-
'/ko/book/working_with_strings',
30-
'/ko/book/working_with_lists',
31-
'/ko/book/working_with_tables',
33+
'/ko/book/types_of_data.md',
34+
'/ko/book/loading_data.md',
35+
'/ko/book/pipelines.md',
36+
'/ko/book/working_with_strings.md',
37+
'/ko/book/working_with_lists.md',
38+
'/ko/book/working_with_records.md',
39+
'/ko/book/working_with_tables.md',
40+
'/ko/book/navigating_structured_data.md',
41+
'/ko/book/special_variables.md',
3242
],
3343
},
3444
{
@@ -39,38 +49,75 @@ export const sidebarKo: SidebarConfig = {
3949
'/ko/book/custom_commands',
4050
'/ko/book/aliases',
4151
'/ko/book/operators',
42-
'/ko/book/variables_and_subexpressions.md',
43-
'/ko/book/scripts',
44-
'/ko/book/overlays',
45-
'/ko/book/command_signature',
52+
'/ko/book/variables.md',
53+
'/ko/book/control_flow.md',
54+
'/ko/book/scripts.md',
55+
{
56+
text: '모듈',
57+
link: '/ko/book/modules.md',
58+
collapsible: false,
59+
children: [
60+
'/ko/book/modules/using_modules.md',
61+
'/ko/book/modules/creating_modules.md',
62+
],
63+
},
64+
'/ko/book/overlays.md',
65+
'/ko/book/sorting.md',
66+
'/ko/book/testing.md',
67+
'/ko/book/style_guide.md',
4668
],
4769
},
4870
{
4971
text: '셸로서의 Nu',
5072
link: '/ko/book/nu_as_a_shell.md',
5173
collapsible: false,
5274
children: [
53-
'/ko/book/configuration',
54-
'/ko/book/environment',
55-
'/ko/book/escaping',
56-
'/ko/book/3rdpartyprompts',
57-
'/ko/book/custom_completions',
58-
'/ko/book/coloring_and_theming',
59-
'/ko/book/hooks',
75+
'/ko/book/configuration.md',
76+
'/ko/book/environment.md',
77+
'/ko/book/stdout_stderr_exit_codes.md',
78+
'/ko/book/running_externals.md',
79+
'/ko/book/3rdpartyprompts.md',
80+
'/ko/book/directory_stack.md',
81+
'/ko/book/line_editor.md',
82+
'/ko/book/custom_completions.md',
83+
'/ko/book/externs.md',
84+
'/ko/book/coloring_and_theming.md',
85+
'/ko/book/hooks.md',
6086
'/ko/book/background_jobs.md',
6187
],
6288
},
6389
{
6490
text: 'Nu로 전환하기',
6591
link: '/ko/book/coming_to_nu.md',
6692
collapsible: false,
67-
children: ['/ko/book/coming_from_bash', '/ko/book/command_reference'],
93+
children: [
94+
'/ko/book/coming_from_bash.md',
95+
'/ko/book/coming_from_cmd.md',
96+
'/ko/book/nushell_map.md',
97+
'/ko/book/nushell_map_imperative.md',
98+
'/ko/book/nushell_map_functional.md',
99+
'/ko/book/nushell_operator_map.md',
100+
],
101+
},
102+
{
103+
text: '디자인 노트',
104+
link: '/ko/book/design_notes.md',
105+
collapsible: false,
106+
children: ['/ko/book/how_nushell_code_gets_run.md'],
68107
},
69108
{
70-
text: '(단지) 고급 사용자를 위한 것은 아닙니다',
109+
text: '(약간)고급 사용법',
71110
link: '/ko/book/advanced.md',
72111
collapsible: false,
73-
children: ['/ko/book/plugins', '/ko/book/metadata.md'],
112+
children: [
113+
'/ko/book/standard_library.md',
114+
'/ko/book/dataframes.md',
115+
'/ko/book/metadata.md',
116+
'/ko/book/creating_errors.md',
117+
'/ko/book/parallelism.md',
118+
'/ko/book/plugins.md',
119+
'/ko/book/explore.md',
120+
],
74121
},
75122
],
76123
};

ko/book/advanced.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
22
prev:
33
text: 누셸 코드가 실행되는 방법
4-
link: /book/how_nushell_code_gets_run.md
4+
link: /ko/book/how_nushell_code_gets_run.md
55
next:
66
text: 표준 라이브러리 (미리보기)
7-
link: /book/standard_library.md
7+
link: /ko/book/standard_library.md
88
---
9-
# (그렇게) 고급은 아님
9+
10+
# (약간)고급 사용법
1011

1112
"고급"이라는 제목이 부담스러워 이 장을 건너뛰고 싶을 수도 있지만, 사실 가장 흥미롭고 강력한 기능 중 일부는 여기에서 찾을 수 있습니다.
1213

1314
내장 명령어 외에도 누셸에는 [표준 라이브러리](standard_library.md)가 있습니다.
1415

15-
누셸은 _구조화된 데이터_에서 작동합니다.
16+
누셸은 *구조화된 데이터*에서 작동합니다.
1617
누셸은 "데이터 우선" 셸이자 프로그래밍 언어라고 말할 수 있습니다.
1718
데이터 중심 방향을 더 탐색하기 위해 누셸은 백엔드로 [Polars](https://github.com/pola-rs/polars)를 사용하는 모든 기능을 갖춘 데이터프레임 처리 엔진을 포함합니다.
1819
셸에서 직접 대용량 데이터를 효율적으로 처리하려면 [데이터프레임 설명서](dataframes.md)를 확인하십시오.

ko/book/background_jobs.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
next:
33
text: 누셸 시작하기
4-
link: /book/coming_to_nu.md
4+
link: /ko/book/coming_to_nu.md
55
---
6+
67
# 백그라운드 작업
78

89
누셸은 현재 스레드 기반 백그라운드 작업에 대한 실험적 지원을 제공합니다.

ko/book/cheat_sheet.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
---
22
next:
33
text: 누셸 기본
4-
link: /book/nu_fundamentals.md
4+
link: /ko/book/nu_fundamentals.md
55
---
6+
67
# 누셸 치트 시트
78

89
## 데이터 유형

ko/book/coming_from_bash.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
prev:
33
text: 누셸 시작하기
4-
link: /book/coming_to_nu.md
4+
link: /ko/book/coming_to_nu.md
55
---
66
# Bash에서 오신 분들을 위해
77

ko/book/coming_to_nu.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
22
prev:
33
text: 백그라운드 작업
4-
link: /book/background_jobs.md
4+
link: /ko/book/background_jobs.md
55
next:
66
text: Bash에서 오신 분들을 위해
7-
link: /book/coming_from_bash.md
7+
link: /ko/book/coming_from_bash.md
88
---
9+
910
# 누셸 시작하기
1011

1112
다른 셸이나 프로그래밍 언어에 익숙하다면 이 장이 빠르게 익숙해지는 데 도움이 될 것입니다.

0 commit comments

Comments
 (0)