feat: translation support
All checks were successful
continuous-integration/drone/push Build is passing

See #483
This commit is contained in:
2025-08-19 11:22:52 +02:00
parent 5cf6048ecb
commit 4e205cf13e
108 changed files with 11217 additions and 1645 deletions

View File

@ -3,12 +3,14 @@ package logs
import (
"bufio"
"context"
"errors"
"fmt"
"io"
"os"
"os/signal"
"sync"
"coopcloud.tech/abra/pkg/i18n"
"github.com/docker/docker/api/types"
containerTypes "github.com/docker/docker/api/types/container"
"github.com/docker/docker/api/types/filters"
@ -81,7 +83,7 @@ func TailLogs(
}
if _, err = io.Copy(os.Stdout, logs); err != nil && err != io.EOF {
errCh <- fmt.Errorf("tailLogs: unable to copy buffer: %s", err)
errCh <- errors.New(i18n.G("tailLogs: unable to copy buffer: %s", err))
}
}
}(service.ID)