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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user