Mention that generated l10n Go code isn't gofmt'd
This commit is contained in:
parent
d490e082db
commit
24f640aad9
@ -10,3 +10,9 @@ This converts the key-value JSON exported from POEditor into a Go file we can in
|
|||||||
# Hungarian example
|
# Hungarian example
|
||||||
./json-to-l10n Write.as_Web_Hungarian.json hu > phrases_hu.go
|
./json-to-l10n Write.as_Web_Hungarian.json hu > phrases_hu.go
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Further requirements
|
||||||
|
|
||||||
|
Generated Go code isn't `gofmt`ed or sorted.
|
||||||
|
|
||||||
|
If outputted to a file, a quick sort of the `phrasesLANG` map in Vim with `vim-go` installed is the quickest way to fix this.
|
||||||
|
Loading…
Reference in New Issue
Block a user