mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:17:32 +00:00
fix(adminAPI): localize event type (#5059)
* fix(adminAPI): localisation of event types, aggregate types * fix(adminAPI): validations of ListEvent request * implement caching of editor user information
This commit is contained in:
@@ -12,6 +12,10 @@ func NewLocalizedEventType(key string) *LocalizedMessage {
|
||||
return &LocalizedMessage{Key: "EventTypes." + key}
|
||||
}
|
||||
|
||||
func NewLocalizedAggregateType(key string) *LocalizedMessage {
|
||||
return &LocalizedMessage{Key: "AggregateTypes." + key}
|
||||
}
|
||||
|
||||
func NewLocalizedMessage(key string) *LocalizedMessage {
|
||||
return &LocalizedMessage{Key: key}
|
||||
}
|
||||
|
Reference in New Issue
Block a user