We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b2e5003 + bc62da2 commit d32dc82Copy full SHA for d32dc82
cli/xgotext/parser/domain.go
@@ -29,7 +29,9 @@ func (t *Translation) AddLocations(locations []string) {
29
func (t *Translation) Dump() string {
30
data := make([]string, 0, len(t.SourceLocations)+5)
31
32
- for _, location := range t.SourceLocations {
+ locations := t.SourceLocations
33
+ sort.Strings(locations)
34
+ for _, location := range locations {
35
data = append(data, "#: "+location)
36
}
37
0 commit comments