diff options
author | Jesús Espino <jespinog@gmail.com> | 2018-01-08 19:13:24 +0100 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2018-01-08 13:13:24 -0500 |
commit | dd9ad10d705fdbd7fbfa7323e6560b69021a2950 (patch) | |
tree | 4064e05fa746abae33fc7c6939fcdef2be7317d2 /cmd/platform/config.go | |
parent | 591ef9f352efd98a85e6d04c0c9072c4c2987527 (diff) | |
download | chat-dd9ad10d705fdbd7fbfa7323e6560b69021a2950.tar.gz chat-dd9ad10d705fdbd7fbfa7323e6560b69021a2950.tar.bz2 chat-dd9ad10d705fdbd7fbfa7323e6560b69021a2950.zip |
[PLT-6936] Translate AppError.Message automatically by default (#8063)
Diffstat (limited to 'cmd/platform/config.go')
-rw-r--r-- | cmd/platform/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/platform/config.go b/cmd/platform/config.go index 0b3f26ee0..cd4356529 100644 --- a/cmd/platform/config.go +++ b/cmd/platform/config.go @@ -32,6 +32,7 @@ func init() { func configValidateCmdF(cmd *cobra.Command, args []string) error { utils.TranslationsPreInit() + model.AppErrorInit(utils.T) filePath, err := cmd.Flags().GetString("config") if err != nil { return err |