You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would probably be best if name and description were put in a getter method. Most plugins want to translate these, and we shouldn't force all implementations to set these up when they're not used in most-cases.
The text was updated successfully, but these errors were encountered:
The key motivation for putting these in a getter method is to make them translate-able without running the constructor. Related to #36.
Perhaps the string is untranslated if you access the value directly, and there's some way baked into the trait to handle one-time translating of these items if a specific getter method is called?
underpin::__ is now a method, and these items can be translated programmatically without a constructor, so adding this to a __get method should work nicely.
It would probably be best if name and description were put in a getter method. Most plugins want to translate these, and we shouldn't force all implementations to set these up when they're not used in most-cases.
The text was updated successfully, but these errors were encountered: