1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 13:19:37 -05:00

"Plaintext" => "Text"

This commit is contained in:
Leo Heitmann Ruiz 2024-03-26 22:01:53 +01:00
parent 8339b24d61
commit 4f43b7338b

View file

@ -217,7 +217,7 @@ func PlainText(code []byte) []template.HTML {
func formatLexerName(name string) string {
if name == "fallback" {
return "Plaintext"
return "Text"
}
return util.ToTitleCaseNoLower(name)