File tree Expand file tree Collapse file tree 3 files changed +33
-6
lines changed
src/components/DocsCategoryDropdown Expand file tree Collapse file tree 3 files changed +33
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const config = {
46
46
"ドキュメント、クイックスタートガイド、ユーザーガイド、技術リファレンス、FAQ など、多様な情報をご提供します。" ,
47
47
url : "https://clickhouse.com" ,
48
48
// url: process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}` : 'https://bookish-disco-5997zvo.pages.github.io',
49
- baseUrl : "/docs/" ,
49
+ baseUrl : "/jp- docs/" ,
50
50
baseUrlIssueBanner : true ,
51
51
onBrokenLinks : "warn" ,
52
52
onBrokenMarkdownLinks : "warn" ,
Original file line number Diff line number Diff line change 458
458
"theme.tags.tagsPageTitle" : {
459
459
"message" : " タグ" ,
460
460
"description" : " The title of the tag list page"
461
+ },
462
+ "sidebar.dropdownCategories.category.Cloud" : {
463
+ "message" : " クラウド"
464
+ },
465
+ "sidebar.dropdownCategories.category.Getting Started" : {
466
+ "message" : " 始める"
467
+ },
468
+ "sidebar.dropdownCategories.category.Manage Data" : {
469
+ "message" : " データ管理"
470
+ },
471
+ "sidebar.dropdownCategories.category.Server Admin" : {
472
+ "message" : " サーバー管理"
473
+ },
474
+ "sidebar.dropdownCategories.category.Reference" : {
475
+ "message" : " リファレンス"
476
+ },
477
+ "sidebar.dropdownCategories.category.Integrations" : {
478
+ "message" : " 統合"
479
+ },
480
+ "sidebar.dropdownCategories.category.chDB" : {
481
+ "message" : " chDB"
482
+ },
483
+ "sidebar.dropdownCategories.category.About" : {
484
+ "message" : " について"
461
485
}
462
- }
486
+ }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import Link from "@docusaurus/Link";
4
4
import { useDocsSidebar } from "@docusaurus/plugin-content-docs/client" ;
5
5
import useDocusaurusContext from "@docusaurus/useDocusaurusContext" ;
6
6
import { translate } from "@docusaurus/Translate" ;
7
+ import Translate from "@docusaurus/Translate" ;
7
8
8
9
import styles from "./styles.module.css" ;
9
10
@@ -86,10 +87,12 @@ function DocsCategoryDropdown({ dropdownCategory }) {
86
87
} `}
87
88
href = { dropdownCategory . customProps . href }
88
89
>
89
- { translate ( {
90
- id : `sidebar.dropdownCategories.category.${ dropdownCategory . label } ` ,
91
- message : dropdownCategory . label ,
92
- } ) }
90
+ < Translate
91
+ id = { `sidebar.dropdownCategories.category.${ dropdownCategory . label } ` }
92
+ description = { `Translation for ${ dropdownCategory . label } ` }
93
+ >
94
+ { dropdownCategory . label }
95
+ </ Translate >
93
96
</ Link > { " " }
94
97
< DropdownCaret />
95
98
</ span >
You can’t perform that action at this time.
0 commit comments