Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Localizer ¶
type Localizer struct { Log *logrus.Entry S TranslationSet // contains filtered or unexported fields }
Localizer will translate a message into the user's language
type TranslationSet ¶
type TranslationSet struct { AddFavourite string ErrorMessage string NotEnoughSpace string StatusTitle string MainTitle string GlobalTitle string Menu string Execute string Scroll string Close string ErrorTitle string RunningSubprocess string NoViewMachingNewLineFocusedSwitchStatement string OpenConfig string EditConfig string AnonymousReportingTitle string AnonymousReportingPrompt string ConfirmQuit string ErrorOccurred string ConnectionFailed string UnattachableContainerError string CannotAttachStoppedContainerError string Donate string Cancel string CustomCommandTitle string Remove string ForceRemove string RemoveWithVolumes string MustForceToRemoveContainer string Confirm string Return string FocusMain string StopContainer string RestartingStatus string StoppingStatus string RemovingStatus string RunningCustomCommandStatus string RemoveService string Stop string Restart string Rebuild string Recreate string PreviousContext string NextContext string Attach string ViewLogs string ServicesTitle string ContainersTitle string StandaloneContainersTitle string TopTitle string ImagesTitle string VolumesTitle string NoContainers string NoContainer string NoImages string NoVolumes string RemoveImage string RemoveVolume string RemoveWithoutPrune string PruneImages string PruneContainers string PruneVolumes string ConfirmPruneContainers string ConfirmPruneImages string ConfirmPruneVolumes string PruningStatus string StopService string PressEnterToReturn string ViewRestartOptions string RunCustomCommand string LogsTitle string ConfigTitle string DockerComposeConfigTitle string StatsTitle string CreditsTitle string ContainerConfigTitle string }
TranslationSet is a set of localised strings for a given language
func NewTranslationSet ¶
func NewTranslationSet(log *logrus.Entry) *TranslationSet
NewTranslationSet creates a new Localizer
Click to show internal directories.
Click to hide internal directories.