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:
parent
16a9c3a676
commit
785e965859
@ -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])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user