Commit 2a5220c52801ebf7dcd500902f2261e0666e720a

Authored by Marko Tikvić
1 parent e97375e4d5
Exists in master

localisation is automatically read from directory

Showing 1 changed file with 0 additions and 5 deletions   Show diff stats
... ... @@ -3,7 +3,6 @@ package webutility
3 3 import (
4 4 "encoding/json"
5 5 "errors"
6   - "fmt"
7 6 "io/ioutil"
8 7 "path"
9 8 "strings"
... ... @@ -39,10 +38,6 @@ func (d *Dictionary) AddTranslations(directory string) error {
39 38  
40 39 loc := stripFileExtension(fName)
41 40  
42   - fmt.Println(fName, path, loc)
43   -
44   - break
45   -
46 41 var data interface{}
47 42 err = json.Unmarshal(file, &data)
48 43 if err != nil {
... ...