fake

package
v3.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL