Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions frontend/app/[locale]/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const categoryOrder = [
MainCategory.network,
MainCategory.development,
MainCategory.science,
MainCategory.healthfitness,
MainCategory.system,
MainCategory.utility,
]
Expand Down
3 changes: 2 additions & 1 deletion frontend/public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
"developer-tools": "Developer Tools",
"games": "Games",
"graphics-and-photography": "Graphics & Photography",
"health-and-fitness": "Health & Fitness",
"networking": "Networking",
"productivity": "Productivity",
"utilities": "Utilities",
Expand Down Expand Up @@ -763,4 +764,4 @@
"none-social": "No social features",
"none-money": "Contains no advertising or monetary transactions"
}
}
}
1 change: 1 addition & 0 deletions frontend/src/codegen/model/mainCategory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const MainCategory = {
development: "development",
education: "education",
game: "game",
healthfitness: "healthfitness",
graphics: "graphics",
network: "network",
office: "office",
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/application/YearInReview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const categoryOrder: MainCategory[] = [
MainCategory.network,
MainCategory.development,
MainCategory.science,
MainCategory.healthfitness,
MainCategory.system,
MainCategory.utility,
]
Expand Down
4 changes: 4 additions & 0 deletions frontend/src/types/Category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export function stringToCategory(category: string): MainCategory | undefined {
return MainCategory.system
case "utility":
return MainCategory.utility
case "healthfitness":
return MainCategory.healthfitness
default:
return undefined
}
Expand Down Expand Up @@ -72,6 +74,8 @@ export function categoryToName(category: MainCategory, t): string {
return t("education")
case MainCategory.system:
return t("system")
case MainCategory.healthfitness:
return t("health-and-fitness")
default:
assertUnreachable(category)
}
Expand Down
Loading