mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-13 07:53:40 +00:00
14 lines
299 B
Go
14 lines
299 B
Go
|
package message
|
||
|
|
||
|
func (m *LocalizedMessage) LocalizationKey() string {
|
||
|
return m.Key
|
||
|
}
|
||
|
|
||
|
func (m *LocalizedMessage) SetLocalizedMessage(message string) {
|
||
|
m.LocalizedMessage = message
|
||
|
}
|
||
|
|
||
|
func NewLocalizedEventType(key string) *LocalizedMessage {
|
||
|
return &LocalizedMessage{Key: "EventTypes." + key}
|
||
|
}
|