WIP: feat: translation support
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
See #483
This commit is contained in:
@ -11,6 +11,7 @@ import (
|
||||
"github.com/docker/cli/cli/context/docker"
|
||||
dCliContextStore "github.com/docker/cli/cli/context/store"
|
||||
dClient "github.com/docker/docker/client"
|
||||
"coopcloud.tech/abra/pkg/i18n"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
@ -34,7 +35,7 @@ func getConnectionHelper(daemonURL string, sshFlags []string) (*connhelper.Conne
|
||||
case "ssh":
|
||||
ctxConnDetails, err := ssh.ParseURL(daemonURL)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "ssh host connection is not valid")
|
||||
return nil, errors.Wrap(err, i18n.G("ssh host connection is not valid"))
|
||||
}
|
||||
|
||||
return &connhelper.ConnectionHelper{
|
||||
|
Reference in New Issue
Block a user