mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
Fixed the typo and removed the uncessory comment
This commit is contained in:
parent
ce5e97dd68
commit
9a0bbd1e38
7 changed files with 7 additions and 8 deletions
|
|
@ -113,7 +113,7 @@ func (gui *Gui) renderContainerEnv(container *commands.Container) error {
|
|||
renderedTable, err = utils.RenderTable(envVariablesList)
|
||||
if err != nil {
|
||||
gui.Log.Error(err)
|
||||
renderedTable = gui.Tr.CannotDisplayEnvVairables
|
||||
renderedTable = gui.Tr.CannotDisplayEnvVariables
|
||||
}
|
||||
}
|
||||
return gui.T.NewTask(func(stop chan struct{}) {
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ func dutchSet() TranslationSet {
|
|||
ContainerConfigTitle: "Container Configuratie",
|
||||
ContainerEnvTitle: "Container Env",
|
||||
NothingToDisplay: "Nothing to display",
|
||||
CannotDisplayEnvVairables: "Something went wrong while displaying environment variables",
|
||||
CannotDisplayEnvVariables: "Something went wrong while displaying environment variables",
|
||||
|
||||
NoContainers: "Geen containers",
|
||||
NoContainer: "Geen container",
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ type TranslationSet struct {
|
|||
ContainerConfigTitle string
|
||||
ContainerEnvTitle string
|
||||
NothingToDisplay string
|
||||
CannotDisplayEnvVairables string
|
||||
CannotDisplayEnvVariables string
|
||||
|
||||
No string
|
||||
Yes string
|
||||
|
|
@ -180,7 +180,7 @@ func englishSet() TranslationSet {
|
|||
ContainerConfigTitle: "Container Config",
|
||||
ContainerEnvTitle: "Container Env",
|
||||
NothingToDisplay: "Nothing to display",
|
||||
CannotDisplayEnvVairables: "Something went wrong while displaying environment variables",
|
||||
CannotDisplayEnvVariables: "Something went wrong while displaying environment variables",
|
||||
|
||||
NoContainers: "No containers",
|
||||
NoContainer: "No container",
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ func germanSet() TranslationSet {
|
|||
ContainerConfigTitle: "Container Konfiguration",
|
||||
ContainerEnvTitle: "Container Env",
|
||||
NothingToDisplay: "Nothing to display",
|
||||
CannotDisplayEnvVairables: "Something went wrong while displaying environment variables",
|
||||
CannotDisplayEnvVariables: "Something went wrong while displaying environment variables",
|
||||
|
||||
NoContainers: "Keine Container",
|
||||
NoContainer: "Kein Container",
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ func polishSet() TranslationSet {
|
|||
ContainerConfigTitle: "Konfiguracja kontenera",
|
||||
ContainerEnvTitle: "Container Env",
|
||||
NothingToDisplay: "Nothing to display",
|
||||
CannotDisplayEnvVairables: "Something went wrong while displaying environment variables",
|
||||
CannotDisplayEnvVariables: "Something went wrong while displaying environment variables",
|
||||
|
||||
NoContainers: "Brak kontenerów",
|
||||
NoContainer: "Brak kontenera",
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ func turkishSet() TranslationSet {
|
|||
ContainerConfigTitle: "Konteyner Ayar",
|
||||
ContainerEnvTitle: "Konteyner Env",
|
||||
NothingToDisplay: "Nothing to display",
|
||||
CannotDisplayEnvVairables: "Something went wrong while displaying environment variables",
|
||||
CannotDisplayEnvVariables: "Something went wrong while displaying environment variables",
|
||||
|
||||
NoContainers: "Konteynerler yok",
|
||||
NoContainer: "Konteyner yok",
|
||||
|
|
|
|||
|
|
@ -165,7 +165,6 @@ func renderDisplayableList(items []Displayable, config RenderListConfig) (string
|
|||
|
||||
// RenderTable takes an array of string arrays and returns a table containing the values
|
||||
func RenderTable(stringArrays [][]string) (string, error) {
|
||||
// if empty array is given then getPadWidths will panic hence return an empty string
|
||||
if len(stringArrays) == 0 {
|
||||
return "", nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue