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 ff32c06676
49 changed files with 466 additions and 405 deletions

View File

@ -6,6 +6,7 @@ import (
"coopcloud.tech/abra/pkg/config"
"coopcloud.tech/abra/pkg/log"
"github.com/leonelquinteros/gotext"
)
// CreateServerDir creates a server directory under ~/.abra.
@ -17,11 +18,11 @@ func CreateServerDir(serverName string) error {
return err
}
log.Debugf("%s already exists", serverPath)
log.Debugf(gotext.Get("%s already exists", serverPath))
return nil
}
log.Debugf("successfully created %s", serverPath)
log.Debugf(gotext.Get("successfully created %s", serverPath))
return nil
}