MCPcopy
hub / github.com/cloudfoundry/cli / Init

Function Init

cf/i18n/i18n.go:11–14  ·  view source on GitHub ↗
(config LocaleReader)

Source from the content-addressed store, hash-verified

9}
10
11func Init(config LocaleReader) ui.TranslateFunc {
12 t, _ := ui.GetTranslationFunc(config)
13 return t
14}

Callers 15

TestRequirementsFunction · 0.92
TestFormattersFunction · 0.92
TestCommandsFunction · 0.92
TestPluginFunction · 0.92
TestUserFunction · 0.92
TestQuotaFunction · 0.92
TestServiceFunction · 0.92
TestRoutergroupsFunction · 0.92
TestPluginRepoFunction · 0.92
TestBuildpackFunction · 0.92
TestServicebrokerFunction · 0.92

Calls 1

GetTranslationFuncFunction · 0.92

Tested by 15

TestRequirementsFunction · 0.74
TestFormattersFunction · 0.74
TestCommandsFunction · 0.74
TestPluginFunction · 0.74
TestUserFunction · 0.74
TestQuotaFunction · 0.74
TestServiceFunction · 0.74
TestRoutergroupsFunction · 0.74
TestPluginRepoFunction · 0.74
TestBuildpackFunction · 0.74
TestServicebrokerFunction · 0.74