1
0
forked from bot/app

🐛 docs: 添加发布插件表单

This commit is contained in:
2024-09-22 01:38:44 +08:00
parent aa4d930cc4
commit b469c9420e
4 changed files with 87 additions and 21 deletions

View File

@ -91,7 +91,7 @@ function getText(lang: string, key: string): string {
return i18nData[lang][key];
}
function formatLang(lang: string): string {
export function formatLang(lang: string): string {
if (lang.includes('-')) {
return lang.split('-')[0];
}