diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-29 16:29:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 16:29:17 +0800 |
commit | 17ae0ed3eef54d96bd179ff7fec0540cf3024748 (patch) | |
tree | a9111282717da16feb83baf352ffb2ee5178ca0d /internal/cmd/import.go | |
parent | d59b0f6ff7ee24d94eaa5ad68173405faea6a81c (diff) |
conf: overhaul settings (#5953)
* Overhaul cache settings
* Overhaul HTTP settings
* conf: overhaul more settings
* log: make LGTM happy
* travis: upload report to Codecov
* Add codecov.yml
Diffstat (limited to 'internal/cmd/import.go')
-rw-r--r-- | internal/cmd/import.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cmd/import.go b/internal/cmd/import.go index 5dbac9c1..bfc83852 100644 --- a/internal/cmd/import.go +++ b/internal/cmd/import.go @@ -66,7 +66,7 @@ func runImportLocale(c *cli.Context) error { escapedQuotes := []byte(`\"`) regularQuotes := []byte(`"`) // Cut out en-US. - for _, lang := range conf.Langs[1:] { + for _, lang := range conf.I18n.Langs[1:] { name := fmt.Sprintf("locale_%s.ini", lang) source := filepath.Join(c.String("source"), name) target := filepath.Join(c.String("target"), name) |