mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
rename project
This commit is contained in:
parent
f13e3f9af9
commit
1eb35b825b
53 changed files with 145 additions and 136 deletions
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
||||||
module github.com/jesseduffield/lazydocker
|
module github.com/peauc/lazydocker-ng
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
|
|
|
||||||
12
main.go
12
main.go
|
|
@ -11,9 +11,9 @@ import (
|
||||||
"github.com/docker/docker/client"
|
"github.com/docker/docker/client"
|
||||||
"github.com/go-errors/errors"
|
"github.com/go-errors/errors"
|
||||||
"github.com/integrii/flaggy"
|
"github.com/integrii/flaggy"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/app"
|
"github.com/peauc/lazydocker-ng/pkg/app"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/jesseduffield/yaml"
|
"github.com/jesseduffield/yaml"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
@ -44,9 +44,9 @@ func main() {
|
||||||
runtime.GOARCH,
|
runtime.GOARCH,
|
||||||
)
|
)
|
||||||
|
|
||||||
flaggy.SetName("lazydocker")
|
flaggy.SetName("lazydocker-ng")
|
||||||
flaggy.SetDescription("The lazier way to manage everything docker")
|
flaggy.SetDescription("The lazier way to manage everything docker")
|
||||||
flaggy.DefaultParser.AdditionalHelpPrepend = "https://github.com/jesseduffield/lazydocker"
|
flaggy.DefaultParser.AdditionalHelpPrepend = "https://github.com/peauc/lazydocker-ng"
|
||||||
|
|
||||||
flaggy.Bool(&configFlag, "c", "config", "Print the current default config")
|
flaggy.Bool(&configFlag, "c", "config", "Print the current default config")
|
||||||
flaggy.Bool(&debuggingFlag, "d", "debug", "a boolean")
|
flaggy.Bool(&debuggingFlag, "d", "debug", "a boolean")
|
||||||
|
|
@ -71,7 +71,7 @@ func main() {
|
||||||
log.Fatal(err.Error())
|
log.Fatal(err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
appConfig, err := config.NewAppConfig("lazydocker", version, commit, date, buildSource, debuggingFlag, composeFiles, projectDir)
|
appConfig, err := config.NewAppConfig("lazydocker-ng", version, commit, date, buildSource, debuggingFlag, composeFiles, projectDir)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err.Error())
|
log.Fatal(err.Error())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,12 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui"
|
"github.com/peauc/lazydocker-ng/pkg/gui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/i18n"
|
"github.com/peauc/lazydocker-ng/pkg/i18n"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/log"
|
"github.com/peauc/lazydocker-ng/pkg/log"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,10 +13,10 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/jesseduffield/lazydocker/pkg/app"
|
"github.com/peauc/lazydocker-ng/pkg/app"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui"
|
"github.com/peauc/lazydocker-ng/pkg/gui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/i18n"
|
"github.com/peauc/lazydocker-ng/pkg/i18n"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,8 @@ import (
|
||||||
"github.com/docker/docker/api/types/filters"
|
"github.com/docker/docker/api/types/filters"
|
||||||
"github.com/docker/docker/client"
|
"github.com/docker/docker/client"
|
||||||
"github.com/go-errors/errors"
|
"github.com/go-errors/errors"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/i18n"
|
"github.com/peauc/lazydocker-ng/pkg/i18n"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
"golang.org/x/xerrors"
|
"golang.org/x/xerrors"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,10 @@ import (
|
||||||
"github.com/docker/docker/api/types/container"
|
"github.com/docker/docker/api/types/container"
|
||||||
"github.com/docker/docker/client"
|
"github.com/docker/docker/client"
|
||||||
"github.com/imdario/mergo"
|
"github.com/imdario/mergo"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands/ssh"
|
"github.com/peauc/lazydocker-ng/pkg/commands/ssh"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/i18n"
|
"github.com/peauc/lazydocker-ng/pkg/i18n"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/sasha-s/go-deadlock"
|
"github.com/sasha-s/go-deadlock"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@ package commands
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
|
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/i18n"
|
"github.com/peauc/lazydocker-ng/pkg/i18n"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
"github.com/docker/docker/api/types/image"
|
"github.com/docker/docker/api/types/image"
|
||||||
"github.com/docker/docker/client"
|
"github.com/docker/docker/client"
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ import (
|
||||||
"github.com/go-errors/errors"
|
"github.com/go-errors/errors"
|
||||||
|
|
||||||
"github.com/jesseduffield/kill"
|
"github.com/jesseduffield/kill"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/mgutz/str"
|
"github.com/mgutz/str"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"os/exec"
|
"os/exec"
|
||||||
|
|
||||||
"github.com/docker/docker/api/types/container"
|
"github.com/docker/docker/api/types/container"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -483,7 +483,7 @@ type AppConfig struct {
|
||||||
Version string `long:"version" env:"VERSION" default:"unversioned"`
|
Version string `long:"version" env:"VERSION" default:"unversioned"`
|
||||||
Commit string `long:"commit" env:"COMMIT"`
|
Commit string `long:"commit" env:"COMMIT"`
|
||||||
BuildDate string `long:"build-date" env:"BUILD_DATE"`
|
BuildDate string `long:"build-date" env:"BUILD_DATE"`
|
||||||
Name string `long:"name" env:"NAME" default:"lazydocker"`
|
Name string `long:"name" env:"NAME" default:"lazydocker-ng"`
|
||||||
BuildSource string `long:"build-source" env:"BUILD_SOURCE" default:""`
|
BuildSource string `long:"build-source" env:"BUILD_SOURCE" default:""`
|
||||||
UserConfig *UserConfig
|
UserConfig *UserConfig
|
||||||
ConfigDir string
|
ConfigDir string
|
||||||
|
|
@ -532,10 +532,19 @@ func configDirForVendor(vendor string, projectName string) string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func configDir(projectName string) string {
|
func configDir(projectName string) string {
|
||||||
legacyConfigDirectory := configDirForVendor("jesseduffield", projectName)
|
// Check for very old config (jesseduffield/lazydocker)
|
||||||
if _, err := os.Stat(legacyConfigDirectory); !os.IsNotExist(err) {
|
veryOldConfigDirectory := configDirForVendor("jesseduffield", "lazydocker")
|
||||||
return legacyConfigDirectory
|
if _, err := os.Stat(veryOldConfigDirectory); !os.IsNotExist(err) {
|
||||||
|
return veryOldConfigDirectory
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check for old config (lazydocker)
|
||||||
|
oldConfigDirectory := configDirForVendor("", "lazydocker")
|
||||||
|
if _, err := os.Stat(oldConfigDirectory); !os.IsNotExist(err) {
|
||||||
|
return oldConfigDirectory
|
||||||
|
}
|
||||||
|
|
||||||
|
// Use new config directory (lazydocker-ng)
|
||||||
configDirectory := configDirForVendor("", projectName)
|
configDirectory := configDirForVendor("", projectName)
|
||||||
return configDirectory
|
return configDirectory
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type appStatus struct {
|
type appStatus struct {
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@ package gui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/jesseduffield/lazycore/pkg/boxlayout"
|
"github.com/jesseduffield/lazycore/pkg/boxlayout"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/mattn/go-runewidth"
|
"github.com/mattn/go-runewidth"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@ import (
|
||||||
"github.com/docker/docker/api/types/container"
|
"github.com/docker/docker/api/types/container"
|
||||||
"github.com/docker/docker/pkg/stdcopy"
|
"github.com/docker/docker/pkg/stdcopy"
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (gui *Gui) renderContainerLogsToMain(container *commands.Container) tasks.TaskFunc {
|
func (gui *Gui) renderContainerLogsToMain(container *commands.Container) tasks.TaskFunc {
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,13 @@ import (
|
||||||
"github.com/docker/docker/api/types/container"
|
"github.com/docker/docker/api/types/container"
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
|
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@ package gui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ package gui
|
||||||
import (
|
import (
|
||||||
"github.com/gookit/color"
|
"github.com/gookit/color"
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
var gocuiColorMap = map[string]gocui.Attribute{
|
var gocuiColorMap = map[string]gocui.Attribute{
|
||||||
|
|
|
||||||
|
|
@ -13,12 +13,12 @@ import (
|
||||||
throttle "github.com/boz/go-throttle"
|
throttle "github.com/boz/go-throttle"
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
lcUtils "github.com/jesseduffield/lazycore/pkg/utils"
|
lcUtils "github.com/jesseduffield/lazycore/pkg/utils"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/i18n"
|
"github.com/peauc/lazydocker-ng/pkg/i18n"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/sasha-s/go-deadlock"
|
"github.com/sasha-s/go-deadlock"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -8,13 +8,13 @@ import (
|
||||||
"github.com/docker/docker/api/types/image"
|
"github.com/docker/docker/api/types/image"
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
|
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
package gui
|
package gui
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
|
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateMenuOptions struct {
|
type CreateMenuOptions struct {
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@ import (
|
||||||
|
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
|
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
|
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (gui *Gui) getBindings(v *gocui.View) []*Binding {
|
func (gui *Gui) getBindings(v *gocui.View) []*Binding {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package gui
|
package gui
|
||||||
|
|
||||||
import "github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
import "github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
|
|
||||||
func (gui *Gui) intoInterface() panels.IGui {
|
func (gui *Gui) intoInterface() panels.IGui {
|
||||||
return gui
|
return gui
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package panels
|
package panels
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ import (
|
||||||
|
|
||||||
"github.com/go-errors/errors"
|
"github.com/go-errors/errors"
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,9 @@ import (
|
||||||
|
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/asciigraph"
|
"github.com/jesseduffield/asciigraph"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/mcuadros/go-lookup"
|
"github.com/mcuadros/go-lookup"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,9 @@ import (
|
||||||
|
|
||||||
dockerTypes "github.com/docker/docker/api/types"
|
dockerTypes "github.com/docker/docker/api/types"
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
package presentation
|
package presentation
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetImageDisplayStrings(image *commands.Image) []string {
|
func GetImageDisplayStrings(image *commands.Image) []string {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package presentation
|
package presentation
|
||||||
|
|
||||||
import "github.com/jesseduffield/lazydocker/pkg/gui/types"
|
import "github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
|
|
||||||
func GetMenuItemDisplayStrings(menuItem *types.MenuItem) []string {
|
func GetMenuItemDisplayStrings(menuItem *types.MenuItem) []string {
|
||||||
return menuItem.LabelColumns
|
return menuItem.LabelColumns
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package presentation
|
package presentation
|
||||||
|
|
||||||
import "github.com/jesseduffield/lazydocker/pkg/commands"
|
import "github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
|
|
||||||
func GetNetworkDisplayStrings(network *commands.Network) []string {
|
func GetNetworkDisplayStrings(network *commands.Network) []string {
|
||||||
return []string{network.Network.Driver, network.Name}
|
return []string{network.Network.Driver, network.Name}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package presentation
|
package presentation
|
||||||
|
|
||||||
import "github.com/jesseduffield/lazydocker/pkg/commands"
|
import "github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
|
|
||||||
func GetProjectDisplayStrings(project *commands.Project) []string {
|
func GetProjectDisplayStrings(project *commands.Project) []string {
|
||||||
return []string{project.Name}
|
return []string{project.Name}
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@ package presentation
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
func GetServiceDisplayStrings(guiConfig *config.GuiConfig, service *commands.Service) []string {
|
func GetServiceDisplayStrings(guiConfig *config.GuiConfig, service *commands.Service) []string {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
package presentation
|
package presentation
|
||||||
|
|
||||||
import "github.com/jesseduffield/lazydocker/pkg/commands"
|
import "github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
|
|
||||||
func GetVolumeDisplayStrings(volume *commands.Volume) []string {
|
func GetVolumeDisplayStrings(volume *commands.Volume) []string {
|
||||||
return []string{volume.Volume.Driver, volume.Name}
|
return []string{volume.Volume.Driver, volume.Name}
|
||||||
|
|
|
||||||
|
|
@ -4,18 +4,18 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"context"
|
"context"
|
||||||
"github.com/docker/docker/api/types/container"
|
"github.com/docker/docker/api/types/container"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
"log"
|
"log"
|
||||||
"path"
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
|
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/jesseduffield/yaml"
|
"github.com/jesseduffield/yaml"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
@ -122,9 +122,9 @@ func (gui *Gui) creditsStr() string {
|
||||||
[]string{
|
[]string{
|
||||||
lazydockerTitle(),
|
lazydockerTitle(),
|
||||||
"Copyright (c) 2019 Jesse Duffield",
|
"Copyright (c) 2019 Jesse Duffield",
|
||||||
"Keybindings: https://github.com/jesseduffield/lazydocker/blob/master/docs/keybindings",
|
"Keybindings: https://github.com/peauc/lazydocker-ng/blob/master/docs/keybindings",
|
||||||
"Config Options: https://github.com/jesseduffield/lazydocker/blob/master/docs/Config.md",
|
"Config Options: https://github.com/peauc/lazydocker-ng/blob/master/docs/Config.md",
|
||||||
"Raise an Issue: https://github.com/jesseduffield/lazydocker/issues",
|
"Raise an Issue: https://github.com/peauc/lazydocker-ng/issues",
|
||||||
utils.ColoredString("Buy Jesse a coffee: https://github.com/sponsors/jesseduffield", color.FgMagenta), // caffeine ain't free
|
utils.ColoredString("Buy Jesse a coffee: https://github.com/sponsors/jesseduffield", color.FgMagenta), // caffeine ain't free
|
||||||
"Here's your lazydocker config when merged in with the defaults (you can open your config by pressing 'o'):",
|
"Here's your lazydocker config when merged in with the defaults (you can open your config by pressing 'o'):",
|
||||||
utils.ColoredYamlString(configBuf.String()),
|
utils.ColoredYamlString(configBuf.String()),
|
||||||
|
|
|
||||||
|
|
@ -7,13 +7,13 @@ import (
|
||||||
|
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
|
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
dockerTypes "github.com/docker/docker/api/types"
|
dockerTypes "github.com/docker/docker/api/types"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (gui *Gui) runSubprocess(cmd *exec.Cmd) error {
|
func (gui *Gui) runSubprocess(cmd *exec.Cmd) error {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (gui *Gui) QueueTask(f func(ctx context.Context)) error {
|
func (gui *Gui) QueueTask(f func(ctx context.Context)) error {
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
"github.com/spkg/bom"
|
"github.com/spkg/bom"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,13 @@ import (
|
||||||
|
|
||||||
"github.com/fatih/color"
|
"github.com/fatih/color"
|
||||||
"github.com/jesseduffield/gocui"
|
"github.com/jesseduffield/gocui"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/commands"
|
"github.com/peauc/lazydocker-ng/pkg/commands"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
|
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
|
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/gui/types"
|
"github.com/peauc/lazydocker-ng/pkg/gui/types"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/tasks"
|
"github.com/peauc/lazydocker-ng/pkg/tasks"
|
||||||
"github.com/jesseduffield/lazydocker/pkg/utils"
|
"github.com/peauc/lazydocker-ng/pkg/utils"
|
||||||
"github.com/samber/lo"
|
"github.com/samber/lo"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ func chineseSet() TranslationSet {
|
||||||
|
|
||||||
NoViewMachingNewLineFocusedSwitchStatement: "没有匹配 newLineFocused switch 语句的视图",
|
NoViewMachingNewLineFocusedSwitchStatement: "没有匹配 newLineFocused switch 语句的视图",
|
||||||
|
|
||||||
ErrorOccurred: "发生错误!请在 https://github.com/jesseduffield/lazydocker/issues 上创建一个问题",
|
ErrorOccurred: "发生错误!请在 https://github.com/peauc/lazydocker-ng/issues 上创建一个问题",
|
||||||
ConnectionFailed: "无法连接到 Docker 客户端。您可能需要重新启动 Docker 客户端",
|
ConnectionFailed: "无法连接到 Docker 客户端。您可能需要重新启动 Docker 客户端",
|
||||||
UnattachableContainerError: "容器不支持 attaching。您必须使用“-it”标志运行服务,或者在docker-compose.yml文件中使用`stdin_open: true,tty: true`",
|
UnattachableContainerError: "容器不支持 attaching。您必须使用“-it”标志运行服务,或者在docker-compose.yml文件中使用`stdin_open: true,tty: true`",
|
||||||
WaitingForContainerInfo: "在 Docker 给我们更多关于容器的信息之前,无法继续。请几分钟后重试。",
|
WaitingForContainerInfo: "在 Docker 给我们更多关于容器的信息之前,无法继续。请几分钟后重试。",
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ func dutchSet() TranslationSet {
|
||||||
|
|
||||||
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
|
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
|
||||||
|
|
||||||
ErrorOccurred: "Er is iets fout gegaan! Zou je hier een issue aan willen maken: https://github.com/jesseduffield/lazydocker/issues",
|
ErrorOccurred: "Er is iets fout gegaan! Zou je hier een issue aan willen maken: https://github.com/peauc/lazydocker-ng/issues",
|
||||||
ConnectionFailed: "connectie naar de docker client mislukt. Het zou kunnen dat je de docker client moet herstarten",
|
ConnectionFailed: "connectie naar de docker client mislukt. Het zou kunnen dat je de docker client moet herstarten",
|
||||||
UnattachableContainerError: "Container heeft geen ondersteuning voor vastmaken. Je zou de service met het '-it' argument kunnen draaien of stop dit in je `stdin_open: true, tty: true` docker-compose.yml",
|
UnattachableContainerError: "Container heeft geen ondersteuning voor vastmaken. Je zou de service met het '-it' argument kunnen draaien of stop dit in je `stdin_open: true, tty: true` docker-compose.yml",
|
||||||
CannotAttachStoppedContainerError: "Je kan niet een vastgemaakte container stoppen, je moet het eerst starten (dit kan je doen met de 'r' toets) (ja ik ben te leu om dat voor je te doen automatisch)",
|
CannotAttachStoppedContainerError: "Je kan niet een vastgemaakte container stoppen, je moet het eerst starten (dit kan je doen met de 'r' toets) (ja ik ben te leu om dat voor je te doen automatisch)",
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,7 @@ func englishSet() TranslationSet {
|
||||||
|
|
||||||
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
|
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
|
||||||
|
|
||||||
ErrorOccurred: "An error occurred! Please create an issue at https://github.com/jesseduffield/lazydocker/issues",
|
ErrorOccurred: "An error occurred! Please create an issue at https://github.com/peauc/lazydocker-ng/issues",
|
||||||
ConnectionFailed: "connection to docker client failed. You may need to restart the docker client",
|
ConnectionFailed: "connection to docker client failed. You may need to restart the docker client",
|
||||||
UnattachableContainerError: "Container does not support attaching. You must either run the service with the '-it' flag or use `stdin_open: true, tty: true` in the docker-compose.yml file",
|
UnattachableContainerError: "Container does not support attaching. You must either run the service with the '-it' flag or use `stdin_open: true, tty: true` in the docker-compose.yml file",
|
||||||
WaitingForContainerInfo: "Cannot proceed until docker gives us more information about the container. Please retry in a few moments.",
|
WaitingForContainerInfo: "Cannot proceed until docker gives us more information about the container. Please retry in a few moments.",
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ func frenchSet() TranslationSet {
|
||||||
|
|
||||||
NoViewMachingNewLineFocusedSwitchStatement: "Aucune vue correspondant au switch newLineFocused",
|
NoViewMachingNewLineFocusedSwitchStatement: "Aucune vue correspondant au switch newLineFocused",
|
||||||
|
|
||||||
ErrorOccurred: "Une erreur s'est produite ! Veuillez créer un rapport d'erreur sur https://github.com/jesseduffield/lazydocker/issues",
|
ErrorOccurred: "Une erreur s'est produite ! Veuillez créer un rapport d'erreur sur https://github.com/peauc/lazydocker-ng/issues",
|
||||||
ConnectionFailed: "Erreur lors de la connexion au client Docker. Essayez de redémarrer votre client Docker",
|
ConnectionFailed: "Erreur lors de la connexion au client Docker. Essayez de redémarrer votre client Docker",
|
||||||
UnattachableContainerError: "Le conteneur ne peut pas être attaché. Vous devez exécuter le service avec le drapeau 'it' ou bien utiliser `stdin_open: true, tty: true` dans votre fichier docker-compose.yml",
|
UnattachableContainerError: "Le conteneur ne peut pas être attaché. Vous devez exécuter le service avec le drapeau 'it' ou bien utiliser `stdin_open: true, tty: true` dans votre fichier docker-compose.yml",
|
||||||
WaitingForContainerInfo: "Le processus ne peut pas continuer avant que Docker ne fournisse plus d'informations. Veuillez réessayer dans quelques instants.",
|
WaitingForContainerInfo: "Le processus ne peut pas continuer avant que Docker ne fournisse plus d'informations. Veuillez réessayer dans quelques instants.",
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ func germanSet() TranslationSet {
|
||||||
|
|
||||||
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
|
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
|
||||||
|
|
||||||
ErrorOccurred: "Es ist ein Fehler aufgetreten! Bitte erstelle ein Issue hier: https://github.com/jesseduffield/lazydocker/issues",
|
ErrorOccurred: "Es ist ein Fehler aufgetreten! Bitte erstelle ein Issue hier: https://github.com/peauc/lazydocker-ng/issues",
|
||||||
ConnectionFailed: "Verbindung zum Docker Client fehlgeschlagen. Du musst ggf. den Docker Client neustarten.",
|
ConnectionFailed: "Verbindung zum Docker Client fehlgeschlagen. Du musst ggf. den Docker Client neustarten.",
|
||||||
UnattachableContainerError: "Der Container bietet keine Unterstützung für das Anbinden. Du musst den Dienst entweder mit der '-it' Flagge benutzen oder `stdin_open: true, tty: true` in der docker-compose.yml Datei setzen.",
|
UnattachableContainerError: "Der Container bietet keine Unterstützung für das Anbinden. Du musst den Dienst entweder mit der '-it' Flagge benutzen oder `stdin_open: true, tty: true` in der docker-compose.yml Datei setzen.",
|
||||||
CannotAttachStoppedContainerError: "Du kannst keinen angehaltenen Container anbinden. Du musst ihn erst starten (was du tun kannst, indem du 'r' drückst), (ja, ich bin zu faul um das zu automatisieren) (aber ist schon cool, dass ich so eine Konversation durch eine Fehlermeldung mit dir führen kann)",
|
CannotAttachStoppedContainerError: "Du kannst keinen angehaltenen Container anbinden. Du musst ihn erst starten (was du tun kannst, indem du 'r' drückst), (ja, ich bin zu faul um das zu automatisieren) (aber ist schon cool, dass ich so eine Konversation durch eine Fehlermeldung mit dir führen kann)",
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ func polishSet() TranslationSet {
|
||||||
|
|
||||||
NoViewMachingNewLineFocusedSwitchStatement: "Żaden widok nie odpowiada instrukcji przełączenia newLineFocused",
|
NoViewMachingNewLineFocusedSwitchStatement: "Żaden widok nie odpowiada instrukcji przełączenia newLineFocused",
|
||||||
|
|
||||||
ErrorOccurred: "Wystąpił błąd! Proszę go zgłosić na https://github.com/jesseduffield/lazydocker/issues",
|
ErrorOccurred: "Wystąpił błąd! Proszę go zgłosić na https://github.com/peauc/lazydocker-ng/issues",
|
||||||
ConnectionFailed: "Błąd połączenia z Dockerem. Być może należy go zrestartować.",
|
ConnectionFailed: "Błąd połączenia z Dockerem. Być może należy go zrestartować.",
|
||||||
UnattachableContainerError: "Kontener nie obsługuje przyczepiania (attach). Musisz albo użyć flag '-it', albo `stdin_open: true, tty: true` w pliku docker-compose.yml.",
|
UnattachableContainerError: "Kontener nie obsługuje przyczepiania (attach). Musisz albo użyć flag '-it', albo `stdin_open: true, tty: true` w pliku docker-compose.yml.",
|
||||||
CannotAttachStoppedContainerError: "Nie można przyczepić się do zatrzymanego kontenera, należy go najpierw uruchomić (co można wykonać wciskając przycisk 'r')",
|
CannotAttachStoppedContainerError: "Nie można przyczepić się do zatrzymanego kontenera, należy go najpierw uruchomić (co można wykonać wciskając przycisk 'r')",
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ func portugueseSet() TranslationSet {
|
||||||
|
|
||||||
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
|
NoViewMachingNewLineFocusedSwitchStatement: "No view matching newLineFocused switch statement",
|
||||||
|
|
||||||
ErrorOccurred: "Um erro ocorreu! Por favor, crie uma issue em https://github.com/jesseduffield/lazydocker/issues",
|
ErrorOccurred: "Um erro ocorreu! Por favor, crie uma issue em https://github.com/peauc/lazydocker-ng/issues",
|
||||||
ConnectionFailed: "Falha na conexão com o cliente Docker. Você pode precisar reiniciar o seu cliente Docker",
|
ConnectionFailed: "Falha na conexão com o cliente Docker. Você pode precisar reiniciar o seu cliente Docker",
|
||||||
UnattachableContainerError: "O contêiner não suporta anexação. Você deve executar o serviço com a flag '-it' ou usar `stdin_open: true, tty: true` no arquivo docker-compose.yml",
|
UnattachableContainerError: "O contêiner não suporta anexação. Você deve executar o serviço com a flag '-it' ou usar `stdin_open: true, tty: true` no arquivo docker-compose.yml",
|
||||||
WaitingForContainerInfo: "Não é possível prosseguir até que o Docker forneça mais informações sobre o contêiner. Por favor, tente novamente em alguns momentos.",
|
WaitingForContainerInfo: "Não é possível prosseguir até que o Docker forneça mais informações sobre o contêiner. Por favor, tente novamente em alguns momentos.",
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ func spanishSet() TranslationSet {
|
||||||
RunningCustomCommandStatus: "ejecutando comando personalizado",
|
RunningCustomCommandStatus: "ejecutando comando personalizado",
|
||||||
RunningBulkCommandStatus: "ejecutando comando masivo",
|
RunningBulkCommandStatus: "ejecutando comando masivo",
|
||||||
|
|
||||||
ErrorOccurred: "¡Hubo un error! Por favor crea un issue en https://github.com/jesseduffield/lazydocker/issues",
|
ErrorOccurred: "¡Hubo un error! Por favor crea un issue en https://github.com/peauc/lazydocker-ng/issues",
|
||||||
ConnectionFailed: "Falló la conexión con el docker client. Quizá necesitas reiniciar tu docker client",
|
ConnectionFailed: "Falló la conexión con el docker client. Quizá necesitas reiniciar tu docker client",
|
||||||
UnattachableContainerError: "Container does not support attaching. You must either run the service with the '-it' flag or use `stdin_open: true, tty: true` in the docker-compose.yml file",
|
UnattachableContainerError: "Container does not support attaching. You must either run the service with the '-it' flag or use `stdin_open: true, tty: true` in the docker-compose.yml file",
|
||||||
WaitingForContainerInfo: "No podemos proceder hasta que docker nos de más información sobre el contenedor. Inténtalo otra vez en unos segundos.",
|
WaitingForContainerInfo: "No podemos proceder hasta que docker nos de más información sobre el contenedor. Inténtalo otra vez en unos segundos.",
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ func turkishSet() TranslationSet {
|
||||||
|
|
||||||
NoViewMachingNewLineFocusedSwitchStatement: "NewLineFocused anahtar deyimi ile eşleşen görünüm yok",
|
NoViewMachingNewLineFocusedSwitchStatement: "NewLineFocused anahtar deyimi ile eşleşen görünüm yok",
|
||||||
|
|
||||||
ErrorOccurred: "Bir hata oluştu! Lütfen https://github.com/jesseduffield/lazydocker/issues adresinden bir hataya ilişkin konu oluşturun",
|
ErrorOccurred: "Bir hata oluştu! Lütfen https://github.com/peauc/lazydocker-ng/issues adresinden bir hataya ilişkin konu oluşturun",
|
||||||
ConnectionFailed: "Docker bağlantısı başarısız oldu. Docker' ı yeniden başlatmanız gerekebilir",
|
ConnectionFailed: "Docker bağlantısı başarısız oldu. Docker' ı yeniden başlatmanız gerekebilir",
|
||||||
UnattachableContainerError: "Konteyner attaching modunda çalışmayı desteklemiyor. Hizmeti '-it' opsiyonu ile çalıştırmanız veya docker-compose.yml dosyasında `stdin_open: true, tty: true` kullanmanız gerekir.",
|
UnattachableContainerError: "Konteyner attaching modunda çalışmayı desteklemiyor. Hizmeti '-it' opsiyonu ile çalıştırmanız veya docker-compose.yml dosyasında `stdin_open: true, tty: true` kullanmanız gerekir.",
|
||||||
CannotAttachStoppedContainerError: "Durdurulan konteynera bağlanamazsınız, ilk önce başlatmanız gerekir (aslında başlatmayı r tuşu ile yapabilirsiniz) (evet, senin için bunu otomatik olarak yapabilirim fakat çok tembelim) (hata mesajı ile seninle birebir iletişim kurmam çok daha güzel)",
|
CannotAttachStoppedContainerError: "Durdurulan konteynera bağlanamazsınız, ilk önce başlatmanız gerekir (aslında başlatmayı r tuşu ile yapabilirsiniz) (evet, senin için bunu otomatik olarak yapabilirim fakat çok tembelim) (hata mesajı ile seninle birebir iletişim kurmam çok daha güzel)",
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"github.com/jesseduffield/lazydocker/pkg/config"
|
"github.com/peauc/lazydocker-ng/pkg/config"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jesseduffield/lazydocker/pkg/i18n"
|
"github.com/peauc/lazydocker-ng/pkg/i18n"
|
||||||
"github.com/sasha-s/go-deadlock"
|
"github.com/sasha-s/go-deadlock"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/jesseduffield/lazydocker/pkg/cheatsheet"
|
"github.com/peauc/lazydocker-ng/pkg/cheatsheet"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
||||||
"github.com/jesseduffield/lazydocker/pkg/i18n"
|
"github.com/peauc/lazydocker-ng/pkg/i18n"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue