Mention that generated l10n Go code isn't gofmt'd

This commit is contained in:
Matt Baer 2018-02-13 10:34:23 -05:00
parent d490e082db
commit 24f640aad9

View File

@ -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.