mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-18 04:06:05 +02:00
refactor: organize and categorize functions
This commit is contained in:
parent
f5526f8622
commit
d352b6fb65
13 changed files with 150 additions and 176 deletions
|
@ -19,13 +19,9 @@ export const walineLocaleMap: Record<string, string> = {
|
|||
'ru': 'ru-RU',
|
||||
}
|
||||
|
||||
// Standard Language Code (Unused)
|
||||
export const langCode = Object.values(langMap).flat()
|
||||
// Supported Languages
|
||||
export const supportedLangs = Object.keys(langMap).flat()
|
||||
|
||||
// Abbreviated Language Code
|
||||
export const langPath = Object.keys(langMap).flat()
|
||||
|
||||
// UI Translation
|
||||
export const ui = {
|
||||
'zh': {
|
||||
posts: '文章',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue