kubectl/pkg/util/i18n
Brian Pursley 3418528213 i18n: Fix bug where package-level variables are not translated.
The call to `i18n.LoadTranslations` needs to occur on init so
that package-level variables that call `i18n.T()` to initialize
their values will be able to receive the translated string.

Added new integration tests to test help output translation.

Kubernetes-commit: 34d980e77090d065199e9e808f8aebf6ba2db72c
2022-11-21 22:48:42 -05:00
..
translations i18n: Fix bug where package-level variables are not translated. 2022-11-21 22:48:42 -05:00
i18n.go i18n: Fix bug where package-level variables are not translated. 2022-11-29 23:09:57 -05:00
i18n_test.go Cleanup environment in tests that call os.Unsetenv 2023-04-15 11:19:24 -05:00