-
-
Notifications
You must be signed in to change notification settings - Fork 296
Closed
Description
Using gettext
as label/description in Ash.Type.Enum
will always use the default locale, because the options are evaluated at compile time.
The example gives the impression that the value/1
and description/1
functions would return the value based on the current locale at runtime. It would be great if this worked, but I don't see an easy fix, right?
Lines 73 to 75 in f9b6b5c
escalated: [description: gettext("An escalated ticket")], | |
follow_up: [label: gettext("Follow up")], | |
closed: [description: gettext("A closed ticket"), label: gettext("Closed")] |
TommasoAmici
Metadata
Metadata
Assignees
Labels
No labels