v/GTT
1
0
mirror of https://github.com/eeeXun/GTT.git synced 2025-05-18 08:40:35 -07:00

style: change output format

This commit is contained in:
eeeXun 2023-01-15 15:05:59 +08:00
parent 16a9c3a676
commit 785e965859

View File

@ -95,7 +95,7 @@ func (t *Translator) Translate(message string) (
definition += fmt.Sprintf("\t- %v\n", sentences.([]interface{})[0])
// Get example sentence
if len(sentences.([]interface{})) >= 3 && sentences.([]interface{})[2] != nil {
definition += fmt.Sprintf("\t\t- \"%v\"\n", sentences.([]interface{})[2])
definition += fmt.Sprintf("\t\t\"%v\"\n", sentences.([]interface{})[2])
}
}
}