fx build fix
Some checks failed
ci/woodpecker/push/db Pipeline was successful
ci/woodpecker/push/fx/1 Pipeline failed
ci/woodpecker/push/nats Pipeline was successful
ci/woodpecker/push/fx/2 Pipeline failed

This commit is contained in:
Stephan D
2025-11-08 00:40:01 +01:00
parent 49b86efecb
commit d367dddbbd
98 changed files with 3983 additions and 5063 deletions

View File

@@ -0,0 +1,19 @@
package localizer
import (
lclrimp "github.com/tech/sendico/notification/internal/localizer"
"github.com/tech/sendico/pkg/mlogger"
)
type Config = *lclrimp.Config
type Localizer interface {
LocalizeTemplate(id string, templateData, ctr any, lang string) (string, error)
LocalizeString(id, lang string) (string, error)
ServiceName() string
SupportMail() string
}
func CreateLocalizer(logger mlogger.Logger, config *Config) (Localizer, error) {
return lclrimp.CreateLocalizer(logger, *config)
}