rename project

This commit is contained in:
Clément PÉAU 2025-12-22 23:41:05 +01:00
parent f13e3f9af9
commit 1eb35b825b
53 changed files with 145 additions and 136 deletions

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/jesseduffield/lazydocker
module github.com/peauc/lazydocker-ng
go 1.21

12
main.go
View file

@ -11,9 +11,9 @@ import (
"github.com/docker/docker/client"
"github.com/go-errors/errors"
"github.com/integrii/flaggy"
"github.com/jesseduffield/lazydocker/pkg/app"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/app"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/jesseduffield/yaml"
"github.com/samber/lo"
)
@ -44,9 +44,9 @@ func main() {
runtime.GOARCH,
)
flaggy.SetName("lazydocker")
flaggy.SetName("lazydocker-ng")
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(&debuggingFlag, "d", "debug", "a boolean")
@ -71,7 +71,7 @@ func main() {
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 {
log.Fatal(err.Error())
}

View file

@ -4,12 +4,12 @@ import (
"io"
"strings"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/gui"
"github.com/jesseduffield/lazydocker/pkg/i18n"
"github.com/jesseduffield/lazydocker/pkg/log"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/gui"
"github.com/peauc/lazydocker-ng/pkg/i18n"
"github.com/peauc/lazydocker-ng/pkg/log"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/sirupsen/logrus"
)

View file

@ -13,10 +13,10 @@ import (
"log"
"os"
"github.com/jesseduffield/lazydocker/pkg/app"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/gui"
"github.com/jesseduffield/lazydocker/pkg/i18n"
"github.com/peauc/lazydocker-ng/pkg/app"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/gui"
"github.com/peauc/lazydocker-ng/pkg/i18n"
)
const (

View file

@ -13,8 +13,8 @@ import (
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/client"
"github.com/go-errors/errors"
"github.com/jesseduffield/lazydocker/pkg/i18n"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/i18n"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/sirupsen/logrus"
"golang.org/x/xerrors"
)

View file

@ -19,10 +19,10 @@ import (
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/client"
"github.com/imdario/mergo"
"github.com/jesseduffield/lazydocker/pkg/commands/ssh"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/i18n"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands/ssh"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/i18n"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/sasha-s/go-deadlock"
"github.com/sirupsen/logrus"
)

View file

@ -3,8 +3,8 @@ package commands
import (
"io"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/i18n"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/i18n"
"github.com/sirupsen/logrus"
)

View file

@ -8,7 +8,7 @@ import (
"github.com/docker/docker/api/types/image"
"github.com/docker/docker/client"
"github.com/fatih/color"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
"github.com/sirupsen/logrus"
)

View file

@ -14,8 +14,8 @@ import (
"github.com/go-errors/errors"
"github.com/jesseduffield/kill"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/mgutz/str"
"github.com/sirupsen/logrus"
)

View file

@ -5,7 +5,7 @@ import (
"os/exec"
"github.com/docker/docker/api/types/container"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/sirupsen/logrus"
)

View file

@ -483,7 +483,7 @@ type AppConfig struct {
Version string `long:"version" env:"VERSION" default:"unversioned"`
Commit string `long:"commit" env:"COMMIT"`
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:""`
UserConfig *UserConfig
ConfigDir string
@ -532,10 +532,19 @@ func configDirForVendor(vendor string, projectName string) string {
}
func configDir(projectName string) string {
legacyConfigDirectory := configDirForVendor("jesseduffield", projectName)
if _, err := os.Stat(legacyConfigDirectory); !os.IsNotExist(err) {
return legacyConfigDirectory
// Check for very old config (jesseduffield/lazydocker)
veryOldConfigDirectory := configDirForVendor("jesseduffield", "lazydocker")
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)
return configDirectory
}

View file

@ -4,7 +4,7 @@ import (
"time"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/utils"
)
type appStatus struct {

View file

@ -2,8 +2,8 @@ package gui
import (
"github.com/jesseduffield/lazycore/pkg/boxlayout"
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/mattn/go-runewidth"
"github.com/samber/lo"
)

View file

@ -11,9 +11,9 @@ import (
"github.com/docker/docker/api/types/container"
"github.com/docker/docker/pkg/stdcopy"
"github.com/fatih/color"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/utils"
)
func (gui *Gui) renderContainerLogsToMain(container *commands.Container) tasks.TaskFunc {

View file

@ -9,13 +9,13 @@ import (
"github.com/docker/docker/api/types/container"
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
"github.com/jesseduffield/lazydocker/pkg/gui/types"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
"github.com/peauc/lazydocker-ng/pkg/gui/types"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
)

View file

@ -2,10 +2,10 @@ package gui
import (
"github.com/fatih/color"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/gui/types"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/gui/types"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
)

View file

@ -3,7 +3,7 @@ package gui
import (
"github.com/gookit/color"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/utils"
)
var gocuiColorMap = map[string]gocui.Attribute{

View file

@ -13,12 +13,12 @@ import (
throttle "github.com/boz/go-throttle"
"github.com/jesseduffield/gocui"
lcUtils "github.com/jesseduffield/lazycore/pkg/utils"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/gui/types"
"github.com/jesseduffield/lazydocker/pkg/i18n"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/gui/types"
"github.com/peauc/lazydocker-ng/pkg/i18n"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/sasha-s/go-deadlock"
"github.com/sirupsen/logrus"
)

View file

@ -8,13 +8,13 @@ import (
"github.com/docker/docker/api/types/image"
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
"github.com/jesseduffield/lazydocker/pkg/gui/types"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
"github.com/peauc/lazydocker-ng/pkg/gui/types"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
)

View file

@ -1,10 +1,10 @@
package gui
import (
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
"github.com/jesseduffield/lazydocker/pkg/gui/types"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
"github.com/peauc/lazydocker-ng/pkg/gui/types"
"github.com/peauc/lazydocker-ng/pkg/utils"
)
type CreateMenuOptions struct {

View file

@ -5,13 +5,13 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
"github.com/jesseduffield/lazydocker/pkg/gui/types"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
"github.com/peauc/lazydocker-ng/pkg/gui/types"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
)

View file

@ -4,7 +4,7 @@ import (
"github.com/samber/lo"
"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 {

View file

@ -1,6 +1,6 @@
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 {
return gui

View file

@ -1,7 +1,7 @@
package panels
import (
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/samber/lo"
)

View file

@ -7,8 +7,8 @@ import (
"github.com/go-errors/errors"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
)

View file

@ -10,9 +10,9 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/asciigraph"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/mcuadros/go-lookup"
"github.com/samber/lo"
)

View file

@ -8,9 +8,9 @@ import (
dockerTypes "github.com/docker/docker/api/types"
"github.com/fatih/color"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
)

View file

@ -1,8 +1,8 @@
package presentation
import (
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/utils"
)
func GetImageDisplayStrings(image *commands.Image) []string {

View file

@ -1,6 +1,6 @@
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 {
return menuItem.LabelColumns

View file

@ -1,6 +1,6 @@
package presentation
import "github.com/jesseduffield/lazydocker/pkg/commands"
import "github.com/peauc/lazydocker-ng/pkg/commands"
func GetNetworkDisplayStrings(network *commands.Network) []string {
return []string{network.Network.Driver, network.Name}

View file

@ -1,6 +1,6 @@
package presentation
import "github.com/jesseduffield/lazydocker/pkg/commands"
import "github.com/peauc/lazydocker-ng/pkg/commands"
func GetProjectDisplayStrings(project *commands.Project) []string {
return []string{project.Name}

View file

@ -2,9 +2,9 @@ package presentation
import (
"github.com/fatih/color"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/utils"
)
func GetServiceDisplayStrings(guiConfig *config.GuiConfig, service *commands.Service) []string {

View file

@ -1,6 +1,6 @@
package presentation
import "github.com/jesseduffield/lazydocker/pkg/commands"
import "github.com/peauc/lazydocker-ng/pkg/commands"
func GetVolumeDisplayStrings(volume *commands.Volume) []string {
return []string{volume.Volume.Driver, volume.Name}

View file

@ -4,18 +4,18 @@ import (
"bytes"
"context"
"github.com/docker/docker/api/types/container"
"github.com/jesseduffield/lazydocker/pkg/gui/types"
"github.com/peauc/lazydocker-ng/pkg/gui/types"
"log"
"path"
"strings"
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/jesseduffield/yaml"
)
@ -122,9 +122,9 @@ func (gui *Gui) creditsStr() string {
[]string{
lazydockerTitle(),
"Copyright (c) 2019 Jesse Duffield",
"Keybindings: https://github.com/jesseduffield/lazydocker/blob/master/docs/keybindings",
"Config Options: https://github.com/jesseduffield/lazydocker/blob/master/docs/Config.md",
"Raise an Issue: https://github.com/jesseduffield/lazydocker/issues",
"Keybindings: https://github.com/peauc/lazydocker-ng/blob/master/docs/keybindings",
"Config Options: https://github.com/peauc/lazydocker-ng/blob/master/docs/Config.md",
"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
"Here's your lazydocker config when merged in with the defaults (you can open your config by pressing 'o'):",
utils.ColoredYamlString(configBuf.String()),

View file

@ -7,13 +7,13 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
"github.com/jesseduffield/lazydocker/pkg/gui/types"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
"github.com/peauc/lazydocker-ng/pkg/gui/types"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
)

View file

@ -5,7 +5,7 @@ import (
"testing"
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"
)

View file

@ -9,7 +9,7 @@ import (
"strings"
"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 {

View file

@ -4,7 +4,7 @@ import (
"context"
"time"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/tasks"
)
func (gui *Gui) QueueTask(f func(ctx context.Context)) error {

View file

@ -6,8 +6,8 @@ import (
"strings"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
"github.com/spkg/bom"
)

View file

@ -5,13 +5,13 @@ import (
"github.com/fatih/color"
"github.com/jesseduffield/gocui"
"github.com/jesseduffield/lazydocker/pkg/commands"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/jesseduffield/lazydocker/pkg/gui/panels"
"github.com/jesseduffield/lazydocker/pkg/gui/presentation"
"github.com/jesseduffield/lazydocker/pkg/gui/types"
"github.com/jesseduffield/lazydocker/pkg/tasks"
"github.com/jesseduffield/lazydocker/pkg/utils"
"github.com/peauc/lazydocker-ng/pkg/commands"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/gui/panels"
"github.com/peauc/lazydocker-ng/pkg/gui/presentation"
"github.com/peauc/lazydocker-ng/pkg/gui/types"
"github.com/peauc/lazydocker-ng/pkg/tasks"
"github.com/peauc/lazydocker-ng/pkg/utils"
"github.com/samber/lo"
)

View file

@ -16,7 +16,7 @@ func chineseSet() TranslationSet {
NoViewMachingNewLineFocusedSwitchStatement: "没有匹配 newLineFocused switch 语句的视图",
ErrorOccurred: "发生错误!请在 https://github.com/jesseduffield/lazydocker/issues 上创建一个问题",
ErrorOccurred: "发生错误!请在 https://github.com/peauc/lazydocker-ng/issues 上创建一个问题",
ConnectionFailed: "无法连接到 Docker 客户端。您可能需要重新启动 Docker 客户端",
UnattachableContainerError: "容器不支持 attaching。您必须使用“-it”标志运行服务或者在docker-compose.yml文件中使用`stdin_open: truetty: true`",
WaitingForContainerInfo: "在 Docker 给我们更多关于容器的信息之前,无法继续。请几分钟后重试。",

View file

@ -10,7 +10,7 @@ func dutchSet() TranslationSet {
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",
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)",

View file

@ -154,7 +154,7 @@ func englishSet() TranslationSet {
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",
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.",

View file

@ -13,7 +13,7 @@ func frenchSet() TranslationSet {
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",
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.",

View file

@ -10,7 +10,7 @@ func germanSet() TranslationSet {
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.",
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)",

View file

@ -10,7 +10,7 @@ func polishSet() TranslationSet {
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ć.",
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')",

View file

@ -16,7 +16,7 @@ func portugueseSet() TranslationSet {
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",
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.",

View file

@ -14,7 +14,7 @@ func spanishSet() TranslationSet {
RunningCustomCommandStatus: "ejecutando comando personalizado",
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",
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.",

View file

@ -10,7 +10,7 @@ func turkishSet() TranslationSet {
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",
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)",

View file

@ -6,7 +6,7 @@ import (
"os"
"path/filepath"
"github.com/jesseduffield/lazydocker/pkg/config"
"github.com/peauc/lazydocker-ng/pkg/config"
"github.com/sirupsen/logrus"
)

View file

@ -5,7 +5,7 @@ import (
"fmt"
"time"
"github.com/jesseduffield/lazydocker/pkg/i18n"
"github.com/peauc/lazydocker-ng/pkg/i18n"
"github.com/sasha-s/go-deadlock"
"github.com/sirupsen/logrus"
)

View file

@ -5,7 +5,7 @@ import (
"log"
"os"
"github.com/jesseduffield/lazydocker/pkg/cheatsheet"
"github.com/peauc/lazydocker-ng/pkg/cheatsheet"
)
func main() {

View file

@ -4,7 +4,7 @@ import (
"fmt"
"reflect"
"github.com/jesseduffield/lazydocker/pkg/i18n"
"github.com/peauc/lazydocker-ng/pkg/i18n"
)
func main() {