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

Added ko-KR translation #1309

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft
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
14 changes: 14 additions & 0 deletions .vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ import {
navbarEn,
navbarEs,
navbarJa,
navbarKoKR,
navbarPtBR,
navbarRU,
navbarZhCN,
sidebarDe,
sidebarEn,
sidebarEs,
sidebarJa,
sidebarKoKR,
sidebarPtBR,
sidebarRU,
sidebarZhCN,
Expand Down Expand Up @@ -60,6 +62,11 @@ export default defineUserConfig({
title: 'Nushell',
description: '新しいタイプのシェル',
},
'/ko-KR/': {
lang: 'ko-KR',
title: 'Nushell',
description: '새로운 타입의 셸',
},
'/pt-BR/': {
lang: 'pt-BR',
title: 'Nushell',
Expand Down Expand Up @@ -127,6 +134,13 @@ export default defineUserConfig({
navbar: navbarJa,
sidebar: sidebarJa,
},
'/ko-KR/': {
selectText: '언어',
selectLanguageName: '한국어',
editLinkText: 'GitHub에서 이 페이지 편집하기',
navbar: navbarKoKR,
sidebar: sidebarKoKR,
},
'/pt-BR/': {
selectText: 'Línguas',
selectLanguageName: 'Português do Brasil',
Expand Down
1 change: 1 addition & 0 deletions .vuepress/configs/navbar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export * from './de.js';
export * from './en.js';
export * from './es.js';
export * from './ja.js';
export * from './ko-KR.js';
export * from './pt-BR.js';
export * from './ru.js';
export * from './zh-CN.js';
8 changes: 8 additions & 0 deletions .vuepress/configs/navbar/ko-KR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import type { NavbarConfig } from '@vuepress/theme-default';

export const navbarKoKR: NavbarConfig = [
{ text: 'Book', link: '/ko-KR/book/' },
// { text: "Contributor Book", link: "/contributor-book/" },
{ text: 'Cookbook', link: '/cookbook/' },
{ text: '블로그', link: '/blog/' },
];
1 change: 1 addition & 0 deletions .vuepress/configs/sidebar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export * from './de.js';
export * from './en.js';
export * from './es.js';
export * from './ja.js';
export * from './ko-KR.js';
export * from './pt-BR.js';
export * from './ru.js';
export * from './zh-CN.js';
107 changes: 107 additions & 0 deletions .vuepress/configs/sidebar/ko-KR.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
import type { SidebarConfig } from '@vuepress/theme-default';
// import { commandCategories } from './command_categories';

export const sidebarKoKR: SidebarConfig = {
'/ko-KR/book/': [
{
text: '소개',
link: '/ko-KR/book/README.md',
collapsible: false,
},
{
text: '시작하기',
link: '/ko-KR/book/getting_started.md',
collapsible: false,
children: [
'/ko-KR/book/installation.md',
'/ko-KR/book/default_shell.md',
'/ko-KR/book/quick_tour.md',
'/ko-KR/book/moving_around.md',
'/ko-KR/book/thinking_in_nu.md',
'/ko-KR/book/cheat_sheet.md',
],
},
{
text: 'Nu 기초',
link: '/ko-KR/book/nu_fundamentals.md',
collapsible: false,
children: [
'/ko-KR/book/types_of_data.md',
'/ko-KR/book/loading_data.md',
'/ko-KR/book/pipelines.md',
'/ko-KR/book/working_with_strings.md',
'/ko-KR/book/working_with_lists.md',
'/ko-KR/book/working_with_tables.md',
],
},
{
text: 'Nu로 프로그래밍하기',
link: '/ko-KR/book/programming_in_nu.md',
collapsible: false,
children: [
'/ko-KR/book/custom_commands.md',
'/ko-KR/book/aliases.md',
'/ko-KR/book/operators.md',
'/ko-KR/book/variables_and_subexpressions.md',
'/ko-KR/book/scripts.md',
'/ko-KR/book/modules.md',
'/ko-KR/book/overlays.md',
'/ko-KR/book/command_signature.md',
'/ko-KR/book/testing.md',
'/ko-KR/book/style_guide.md',
],
},
{
text: '셸로서의 Nu',
link: '/ko-KR/book/nu_as_a_shell.md',
collapsible: false,
children: [
'/ko-KR/book/configuration.md',
'/ko-KR/book/environment.md',
'/ko-KR/book/stdout_stderr_exit_codes.md',
'/ko-KR/book/escaping.md',
'/ko-KR/book/3rdpartyprompts.md',
'/ko-KR/book/shells_in_shells.md',
'/ko-KR/book/line_editor.md',
'/ko-KR/book/externs.md',
'/ko-KR/book/custom_completions.md',
'/ko-KR/book/coloring_and_theming.md',
'/ko-KR/book/hooks.md',
'/ko-KR/book/background_task.md',
],
},
{
text: 'Nu로 전환하기',
link: '/ko-KR/book/coming_to_nu.md',
collapsible: false,
children: [
'/ko-KR/book/coming_from_bash.md',
'/ko-KR/book/coming_from_cmd.md',
'/ko-KR/book/nushell_map.md',
'/ko-KR/book/nushell_map_imperative.md',
'/ko-KR/book/nushell_map_functional.md',
'/ko-KR/book/nushell_operator_map.md',
],
},
{
text: '디자인 노트',
link: '/ko-KR/book/design_notes.md',
collapsible: false,
children: ['/ko-KR/book/how_nushell_code_gets_run.md'],
},
{
text: '(살짝) 더 깊게',
link: '/ko-KR/book/advanced.md',
collapsible: false,
children: [
'/ko-KR/book/standard_library.md',
'/ko-KR/book/dataframes.md',
'/ko-KR/book/metadata.md',
'/ko-KR/book/creating_errors.md',
'/ko-KR/book/parallelism.md',
'/ko-KR/book/plugins.md',
'/ko-KR/book/explore.md',
],
},
],
};
Loading
Loading