[MM-14361] Initialise the translations before loading the config store (#10435)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ca52ca7016
Коммит
434d01a284
@@ -169,10 +169,8 @@ func NewServer(options ...Option) (*Server, error) {
|
||||
|
||||
s.ImageProxy = imageproxy.MakeImageProxy(s, s.HTTPService)
|
||||
|
||||
if utils.T == nil {
|
||||
if err := utils.TranslationsPreInit(); err != nil {
|
||||
return nil, errors.Wrapf(err, "unable to load Mattermost translation files")
|
||||
}
|
||||
if err := utils.TranslationsPreInit(); err != nil {
|
||||
return nil, errors.Wrapf(err, "unable to load Mattermost translation files")
|
||||
}
|
||||
|
||||
err := s.RunOldAppInitalization()
|
||||
|
||||
Ссылка в новой задаче
Block a user