Add i18n support for command description (#245)
* Add more i18n files * Test pass * I18n support test pass * Load language from system env * Use RunE instead of run * Fix the package import error * Delete the changelog * Add more i18n items * Fix missing tools * Add test cases for i18n function
Showing
app/i18n/i18n.go
0 → 100644
app/i18n/i18n_test.go
0 → 100644
app/i18n/setup_test.go
0 → 100644
... | ... | @@ -7,10 +7,14 @@ require ( |
github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8 | ||
github.com/Pallinder/go-randomdata v1.2.0 | ||
github.com/atotto/clipboard v0.1.2 | ||
github.com/chai2010/gettext-go v0.0.0-20170215093142-bf70f2a70fb1 | ||
github.com/go-bindata/go-bindata v3.1.2+incompatible // indirect | ||
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b | ||
github.com/golang/mock v1.3.1 | ||
github.com/gosexy/gettext v0.0.0-20160830220431-74466a0a0c4a // indirect | ||
github.com/gosuri/uilive v0.0.3 // indirect | ||
github.com/gosuri/uiprogress v0.0.1 | ||
github.com/jessevdk/go-flags v1.4.0 // indirect | ||
github.com/mattn/go-isatty v0.0.10 // indirect | ||
github.com/mitchellh/go-homedir v1.1.0 | ||
github.com/onsi/ginkgo v1.10.3 | ||
... | ... |
i18n.md
0 → 100644
想要评论请 注册 或 登录