Add go-bindata dependency installation

k3s-v1.15.3
Rael Garcia Arnes 2019-05-26 07:50:28 +00:00
parent 6ba13bf151
commit b5d6b9e326
1 changed files with 8 additions and 0 deletions

View File

@ -41,6 +41,14 @@ file. `poedit` does this automatically on save, but you can also run
We use the English translation as the `msgid`. We use the English translation as the `msgid`.
## Regenerating the bindata file ## Regenerating the bindata file
With the `mo` files up to date, you can now convert the generated files
into code using `go-bindata` command which can be installed with:
```console
go get github.com/go-bindata/go-bindata/...
```
Run `./hack/generate-bindata.sh`, this will turn the translation files Run `./hack/generate-bindata.sh`, this will turn the translation files
into generated code which will in turn be packaged into the Kubernetes into generated code which will in turn be packaged into the Kubernetes
binaries. binaries.