Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TranslationService ¶
type TranslationService struct{}
TranslationService is fake TranslationService used for testing purposes
func (*TranslationService) AllTranslationKeys ¶
func (s *TranslationService) AllTranslationKeys(localeCode string) []string
AllTranslationKeys returns simple list of keys
func (*TranslationService) Translate ¶
func (s *TranslationService) Translate(_ string, defaultLabel string, _ string, _ int, _ map[string]interface{}) string
Translate returns simple translation result
func (*TranslationService) TranslateLabel ¶
func (s *TranslationService) TranslateLabel(label domain.Label) string
TranslateLabel returns simple label result
Click to show internal directories.
Click to hide internal directories.