- Fix cli.RegisterCommands signature mismatch (cli v0.3.5 takes single CommandRegistration, not variadic localeFS); register locales via i18n.RegisterLocales in locales/embed.go init() - Replace fmt.Errorf inside log.E with plain string concat in deploy/python and deploy/coolify - Remove unused fmt import from deploy/coolify/client.go - Update CLAUDE.md: correct LOC count, clarify cmd/community and cmd/gitcmd descriptions, add locales package, fix error convention from core.E/fmt.Errorf to log.E Co-Authored-By: Virgil <virgil@lethean.io>
15 lines
221 B
Go
15 lines
221 B
Go
// Package locales embeds translation files for the go-devops module.
|
|
package locales
|
|
|
|
import (
|
|
"embed"
|
|
|
|
"forge.lthn.ai/core/go-i18n"
|
|
)
|
|
|
|
//go:embed *.json
|
|
var FS embed.FS
|
|
|
|
func init() {
|
|
i18n.RegisterLocales(FS, ".")
|
|
}
|