Added api-struct update for macro/check and fixed translation quirks.

This commit is contained in:
Jesse Malotaux 2025-04-28 15:03:19 +02:00
parent 9218f53c5d
commit b28632fc2d
2 changed files with 5 additions and 0 deletions

View file

@ -67,6 +67,10 @@ func Translate(code string) string {
}
func ReverseTranslate(name string) string {
if name == "\\" {
return "Backslash"
}
for key, value := range translations {
if value == name {
return key