Remove unused struct

This commit is contained in:
Stefan Haller 2024-06-08 12:10:40 +02:00
parent 2ccd9980e3
commit 02aeb6101c

View file

@ -9,12 +9,6 @@ import (
"github.com/sirupsen/logrus"
)
// Localizer will translate a message into the user's language
type Localizer struct {
Log *logrus.Entry
S TranslationSet
}
func NewTranslationSetFromConfig(log *logrus.Entry, configLanguage string) (*TranslationSet, error) {
if configLanguage == "auto" {
language := detectLanguage(jibber_jabber.DetectIETF)