Update categories

This commit is contained in:
2026-02-03 16:02:39 +04:00
parent 2b2bcebf0c
commit 03be35a001
8 changed files with 23 additions and 18 deletions

View File

@@ -44,10 +44,10 @@ const projectsByCategory = categories.reduce(
// 获取分类文本的国际化翻译
const getCategoryText = (category: string) => {
switch (category) {
case "proud":
return i18n(I18nKey.projectsProud);
case "older":
return i18n(I18nKey.projectsOlder);
case "actual":
return i18n(I18nKey.projectsActual);
case "history":
return i18n(I18nKey.projectsHistory);
case "other":
return i18n(I18nKey.projectsOther);
case UNCATEGORIZED:

View File

@@ -57,6 +57,8 @@ const getCategoryText = (category: string) => {
return i18n(I18nKey.skillsIDE);
case "tools":
return i18n(I18nKey.skillsTools);
case "softskills":
return i18n(I18nKey.skillsSoftSkills);
case "others":
return i18n(I18nKey.skillsOthers);
case UNCATEGORIZED: