From 1134319c6e3b9226399df8c97e9450c28b1d5905 Mon Sep 17 00:00:00 2001 From: rikapo Date: Tue, 18 Jan 2022 19:26:35 +0900 Subject: [PATCH] docs: fix Korean language url path All languages are using language codes in url path, except Korean. The language code of Korean is ko, not kr. (It's a country code) --- docs-gitbook/LANGS.md | 2 +- docs/.vuepress/config.js | 38 ++++++++++++++--------------- docs/.vuepress/public/_redirects | 6 ++--- docs/{kr => ko}/README.md | 0 docs/{kr => ko}/api/README.md | 0 docs/{kr => ko}/guide/README.md | 0 docs/{kr => ko}/guide/actions.md | 0 docs/{kr => ko}/guide/forms.md | 0 docs/{kr => ko}/guide/getters.md | 0 docs/{kr => ko}/guide/hot-reload.md | 0 docs/{kr => ko}/guide/modules.md | 0 docs/{kr => ko}/guide/mutations.md | 0 docs/{kr => ko}/guide/plugins.md | 0 docs/{kr => ko}/guide/state.md | 0 docs/{kr => ko}/guide/strict.md | 0 docs/{kr => ko}/guide/structure.md | 0 docs/{kr => ko}/guide/testing.md | 0 docs/{kr => ko}/installation.md | 0 18 files changed, 23 insertions(+), 23 deletions(-) rename docs/{kr => ko}/README.md (100%) rename docs/{kr => ko}/api/README.md (100%) rename docs/{kr => ko}/guide/README.md (100%) rename docs/{kr => ko}/guide/actions.md (100%) rename docs/{kr => ko}/guide/forms.md (100%) rename docs/{kr => ko}/guide/getters.md (100%) rename docs/{kr => ko}/guide/hot-reload.md (100%) rename docs/{kr => ko}/guide/modules.md (100%) rename docs/{kr => ko}/guide/mutations.md (100%) rename docs/{kr => ko}/guide/plugins.md (100%) rename docs/{kr => ko}/guide/state.md (100%) rename docs/{kr => ko}/guide/strict.md (100%) rename docs/{kr => ko}/guide/structure.md (100%) rename docs/{kr => ko}/guide/testing.md (100%) rename docs/{kr => ko}/installation.md (100%) diff --git a/docs-gitbook/LANGS.md b/docs-gitbook/LANGS.md index a90f3a4c3..3dd8f7306 100644 --- a/docs-gitbook/LANGS.md +++ b/docs-gitbook/LANGS.md @@ -4,5 +4,5 @@ * [Français](fr/) * [Русский](ru/) * [日本語](ja/) -* [한국어(Korean)](kr/) +* [한국어(Korean)](ko/) * [1.0 Docs](old/) diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index f0b2a4d6f..dd27b710e 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -20,8 +20,8 @@ module.exports = { title: 'Vuex', description: 'Централизованное управление состоянием для Vue.js' }, - '/kr/': { - lang: 'kr', + '/ko/': { + lang: 'ko', title: 'Vuex', description: 'Vue.js의 중앙 상태 관리' }, @@ -252,13 +252,13 @@ module.exports = { } ] }, - '/kr/': { + '/ko/': { label: '한국어', selectText: '언어 변경', editLinkText: 'GitHub에서 이 페이지 수정', nav: [ - { text: '가이드', link: '/kr/guide/' }, - { text: 'API 레퍼런스', link: '/kr/api/' }, + { text: '가이드', link: '/ko/guide/' }, + { text: 'API 레퍼런스', link: '/ko/api/' }, { text: '릴리즈 노트', link: 'https://github.com/vuejs/vuex/releases' }, { text: 'v3.x', @@ -272,32 +272,32 @@ module.exports = { title: 'Introduction', collapsable: false, children: [ - { title: 'Vuex가 무엇인가요?', path: '/kr/' }, - { title: '설치', path: '/kr/installation' }, - { title: '시작하기', path: '/kr/guide/' } + { title: 'Vuex가 무엇인가요?', path: '/ko/' }, + { title: '설치', path: '/ko/installation' }, + { title: '시작하기', path: '/ko/guide/' } ] }, { title: '핵심 컨셉', collapsable: false, children: [ - { title: '상태', path: '/kr/guide/state' }, - { title: 'Getters', path: '/kr/guide/getters' }, - { title: '변이', path: '/kr/guide/mutations' }, - { title: '액션', path: '/kr/guide/actions' }, - { title: '모듈', path: '/kr/guide/modules' } + { title: '상태', path: '/ko/guide/state' }, + { title: 'Getters', path: '/ko/guide/getters' }, + { title: '변이', path: '/ko/guide/mutations' }, + { title: '액션', path: '/ko/guide/actions' }, + { title: '모듈', path: '/ko/guide/modules' } ] }, { title: 'Advanced', collapsable: false, children: [ - { title: '애플리케이션 구조', path: '/kr/guide/structure' }, - { title: '플러그인', path: '/kr/guide/plugins' }, - { title: 'Strict 모드', path: '/kr/guide/strict' }, - { title: '폼 핸들링', path: '/kr/guide/forms' }, - { title: '테스팅', path: '/kr/guide/testing' }, - { title: '핫 리로딩', path: '/kr/guide/hot-reload' } + { title: '애플리케이션 구조', path: '/ko/guide/structure' }, + { title: '플러그인', path: '/ko/guide/plugins' }, + { title: 'Strict 모드', path: '/ko/guide/strict' }, + { title: '폼 핸들링', path: '/ko/guide/forms' }, + { title: '테스팅', path: '/ko/guide/testing' }, + { title: '핫 리로딩', path: '/ko/guide/hot-reload' } ] } ] diff --git a/docs/.vuepress/public/_redirects b/docs/.vuepress/public/_redirects index c21e16cf4..f50e64681 100644 --- a/docs/.vuepress/public/_redirects +++ b/docs/.vuepress/public/_redirects @@ -16,6 +16,6 @@ /ru/intro.html /ru/guide/ /ru/* /ru/guide/:splat -/kr/api.html /kr/api/ -/kr/intro.html /kr/guide/ -/kr/* /kr/guide/:splat +/ko/api.html /ko/api/ +/ko/intro.html /ko/guide/ +/ko/* /ko/guide/:splat diff --git a/docs/kr/README.md b/docs/ko/README.md similarity index 100% rename from docs/kr/README.md rename to docs/ko/README.md diff --git a/docs/kr/api/README.md b/docs/ko/api/README.md similarity index 100% rename from docs/kr/api/README.md rename to docs/ko/api/README.md diff --git a/docs/kr/guide/README.md b/docs/ko/guide/README.md similarity index 100% rename from docs/kr/guide/README.md rename to docs/ko/guide/README.md diff --git a/docs/kr/guide/actions.md b/docs/ko/guide/actions.md similarity index 100% rename from docs/kr/guide/actions.md rename to docs/ko/guide/actions.md diff --git a/docs/kr/guide/forms.md b/docs/ko/guide/forms.md similarity index 100% rename from docs/kr/guide/forms.md rename to docs/ko/guide/forms.md diff --git a/docs/kr/guide/getters.md b/docs/ko/guide/getters.md similarity index 100% rename from docs/kr/guide/getters.md rename to docs/ko/guide/getters.md diff --git a/docs/kr/guide/hot-reload.md b/docs/ko/guide/hot-reload.md similarity index 100% rename from docs/kr/guide/hot-reload.md rename to docs/ko/guide/hot-reload.md diff --git a/docs/kr/guide/modules.md b/docs/ko/guide/modules.md similarity index 100% rename from docs/kr/guide/modules.md rename to docs/ko/guide/modules.md diff --git a/docs/kr/guide/mutations.md b/docs/ko/guide/mutations.md similarity index 100% rename from docs/kr/guide/mutations.md rename to docs/ko/guide/mutations.md diff --git a/docs/kr/guide/plugins.md b/docs/ko/guide/plugins.md similarity index 100% rename from docs/kr/guide/plugins.md rename to docs/ko/guide/plugins.md diff --git a/docs/kr/guide/state.md b/docs/ko/guide/state.md similarity index 100% rename from docs/kr/guide/state.md rename to docs/ko/guide/state.md diff --git a/docs/kr/guide/strict.md b/docs/ko/guide/strict.md similarity index 100% rename from docs/kr/guide/strict.md rename to docs/ko/guide/strict.md diff --git a/docs/kr/guide/structure.md b/docs/ko/guide/structure.md similarity index 100% rename from docs/kr/guide/structure.md rename to docs/ko/guide/structure.md diff --git a/docs/kr/guide/testing.md b/docs/ko/guide/testing.md similarity index 100% rename from docs/kr/guide/testing.md rename to docs/ko/guide/testing.md diff --git a/docs/kr/installation.md b/docs/ko/installation.md similarity index 100% rename from docs/kr/installation.md rename to docs/ko/installation.md