Make tags translatable, move icons to frontend, a few other things (#5229)

* Make tags translatable, move icons to frontend, a few other things

* Migrate more things

* fix import

* more import fixes

* export tag-messages

* lint
This commit is contained in:
Prospector
2026-01-28 11:01:56 -08:00
committed by GitHub
parent 6d68d50699
commit 16ac2aae6b
121 changed files with 1532 additions and 229 deletions

View File

@@ -162,6 +162,9 @@ export const formatProjectType = (name, short = false) => {
return capitalizeString(name)
}
/**
* @deprecated Use tag-messages.ts' `getTagMessageOrDefault(tag)` instead.
*/
export const formatCategory = (name) => {
if (name === 'modloader') {
return "Risugami's ModLoader"