Unify json prop names for both translation structs
This commit is contained in:
@@ -7,7 +7,7 @@ type (
|
||||
Resource string `json:"resource"`
|
||||
Lang string `json:"lang"`
|
||||
Key string `json:"key"`
|
||||
Msg string `json:"msg"`
|
||||
Msg string `json:"message"`
|
||||
}
|
||||
|
||||
ResourceTranslationIndex map[string]*ResourceTranslation
|
||||
|
||||
@@ -15,7 +15,7 @@ type (
|
||||
|
||||
Lang Lang `json:"lang"`
|
||||
Resource string `json:"resource"`
|
||||
K string `json:"k"`
|
||||
K string `json:"key"`
|
||||
Message string `json:"message"`
|
||||
|
||||
CreatedAt time.Time `json:"createdAt,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user