parent
0c42e682a6
commit
8155c94ffc
|
@ -44,6 +44,9 @@ func Load() {
|
|||
names, _ := f.Readdirnames(-1)
|
||||
f.Close()
|
||||
|
||||
if len(Locales) == len(names)-1 {
|
||||
return
|
||||
}
|
||||
for _, name := range names {
|
||||
if !strings.HasSuffix(name, ".json") {
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue