refactor: organize and categorize functions

This commit is contained in:
radishzzz 2025-03-14 16:18:17 +00:00
parent f5526f8622
commit d352b6fb65
13 changed files with 150 additions and 176 deletions

View file

@ -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: '文章',