chore: organize giscus-related configurations

This commit is contained in:
radishzzz 2025-05-30 12:59:00 +01:00
parent 4b270755bf
commit d12e235a23
8 changed files with 43 additions and 251 deletions

View file

@ -29,13 +29,20 @@ export const walineLocaleMap: Record<string, string> = {
'zh-tw': 'zh-TW',
}
// Giscus Language Map
// https://giscus.app/
export const giscusLocaleMap: Record<string, string> = {
'zh': 'zh-CN',
'zh-tw': 'zh-TW',
'ja': 'ja',
'de': 'de',
'en': 'en',
'es': 'es',
'fr': 'fr',
'ja': 'jp',
'ko': 'ko',
'pl': 'pl',
'pt': 'pt',
'ru': 'ru',
'zh': 'zh-CN',
'zh-tw': 'zh-TW',
}
// Supported Languages