Move to the mattermost/go-i18n fork (#10669)
This change is being made to address an issue where the go-i18n translation library would result in partial-translations when a given language dictionary was missing a given plural keyword. The improvement made here leads the translation library to try an 'other' keyword lookup if the first plural keyword fails to have a value. This change was not accepted upstream due to concern regarding changing the behavior, so we are using a fork at this time to address the issue.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
0d1c69927f
Коммит
be4b473aee
@@ -15,9 +15,9 @@ import (
|
||||
"sync/atomic"
|
||||
|
||||
"github.com/fsnotify/fsnotify"
|
||||
"github.com/mattermost/go-i18n/i18n"
|
||||
"github.com/mattermost/mattermost-server/mlog"
|
||||
"github.com/mattermost/mattermost-server/utils/fileutils"
|
||||
"github.com/nicksnyder/go-i18n/i18n"
|
||||
)
|
||||
|
||||
type HTMLTemplateWatcher struct {
|
||||
|
||||
Ссылка в новой задаче
Block a user