WIP: feat: translation support
Some checks failed
continuous-integration/drone/push Build is failing

See #483
This commit is contained in:
2025-08-19 11:22:52 +02:00
parent 5cf6048ecb
commit d9cffbe6d1
68 changed files with 735 additions and 729 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.Debug(gotext.Get("%s already exists", serverPath))
return nil
}
log.Debugf("successfully created %s", serverPath)
log.Debug(gotext.Get("successfully created %s", serverPath))
return nil
}