Utilities for internal use.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Matt Baer 24f640aad9 Mention that generated l10n Go code isn't gofmt'd pirms 6 gadiem
..
.gitignore Add json-to-l10n utility pirms 6 gadiem
README.md Mention that generated l10n Go code isn't gofmt'd pirms 6 gadiem
main.go Move error/quit func to shareable package pirms 6 gadiem

README.md

json-to-l10n

This converts the key-value JSON exported from POEditor into a Go file we can include in the Write.as web application.

Usage

./json-to-l10n filename language

# Hungarian example
./json-to-l10n Write.as_Web_Hungarian.json hu > phrases_hu.go

Further requirements

Generated Go code isn’t gofmted 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.