Merge pull request #78353 from raelga/add-missing-dependency-to-translations

Add go-bindata dependency installation
This commit is contained in:
Kubernetes Prow Robot
2019-05-29 09:45:04 -07:00
committed by GitHub

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.