-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
💾 Feat(Plume-Theme): Adapted to theme's localization
- Loading branch information
1 parent
d0f0a20
commit 611f861
Showing
8 changed files
with
165 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './navbar/index.js' | ||
export * from './sidebar/index.js' | ||
export * from './plugins/index.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './search/index.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
interface SearchLocaleOptions { | ||
placeholder: string; | ||
buttonText: string; | ||
resetButtonTitle: string; | ||
backButtonTitle: string; | ||
noResultsText: string; | ||
footer: { | ||
selectText: string; | ||
selectKeyAriaLabel: string; | ||
navigateText: string; | ||
navigateUpKeyAriaLabel: string; | ||
navigateDownKeyAriaLabel: string; | ||
closeText: string; | ||
closeKeyAriaLabel: string; | ||
}; | ||
} | ||
export const searchBoxEn: SearchLocaleOptions = { | ||
placeholder: 'Search Docs', | ||
buttonText: 'Search', | ||
resetButtonTitle: 'Reset', | ||
backButtonTitle: 'Back', | ||
noResultsText: 'No Results', | ||
footer: { | ||
selectText: 'Select', | ||
selectKeyAriaLabel: 'select', | ||
navigateText: 'Navigate', | ||
navigateUpKeyAriaLabel: 'Up', | ||
navigateDownKeyAriaLabel: 'Down', | ||
closeText: 'Close', | ||
closeKeyAriaLabel: 'close', | ||
} | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './zh.ts' | ||
export * from './en.ts' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
interface SearchLocaleOptions { | ||
placeholder: string; | ||
buttonText: string; | ||
resetButtonTitle: string; | ||
backButtonTitle: string; | ||
noResultsText: string; | ||
footer: { | ||
selectText: string; | ||
selectKeyAriaLabel: string; | ||
navigateText: string; | ||
navigateUpKeyAriaLabel: string; | ||
navigateDownKeyAriaLabel: string; | ||
closeText: string; | ||
closeKeyAriaLabel: string; | ||
}; | ||
} | ||
export const searchBoxZh: SearchLocaleOptions = { | ||
placeholder: '搜索文档', | ||
buttonText: '搜索', | ||
resetButtonTitle: '重置', | ||
backButtonTitle: '返回', | ||
noResultsText: '无结果', | ||
footer: { | ||
selectText: '选择', | ||
selectKeyAriaLabel: 'select', | ||
navigateText: '切换', | ||
navigateUpKeyAriaLabel: 'navigate-to-up', | ||
navigateDownKeyAriaLabel: 'navigate-to-down', | ||
closeText: '关闭', | ||
closeKeyAriaLabel: 'close', | ||
} | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
title: bulletin | ||
createTime: 2025/02/07 13:53:24 | ||
--- | ||
|
||
<h3>剑指 v25.10</h3> | ||
|
||
我们诚邀广大开源爱好者加入 KitX 项目 | ||
|
||
QQ 交流群: 978183263 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
title: _bulletin | ||
createTime: 2025/02/07 13:53:24 | ||
--- | ||
剑指 v25.10 | ||
|
||
我们诚邀广大开源爱好者加入 KitX 项目 | ||
|
||
QQ 交流群: 978183263 | ||
|