From 24f640aad9edd93599cb04363268752a7602d490 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Tue, 13 Feb 2018 10:34:23 -0500 Subject: [PATCH] Mention that generated l10n Go code isn't gofmt'd --- json-to-l10n/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/json-to-l10n/README.md b/json-to-l10n/README.md index 64181af..4a40883 100644 --- a/json-to-l10n/README.md +++ b/json-to-l10n/README.md @@ -10,3 +10,9 @@ This converts the key-value JSON exported from POEditor into a Go file we can in # Hungarian example ./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.