Skip to content
  • Michael Natterer's avatar
    gegl, operations: refactor gegl-op.h's enum_value() macro · fa80e20a
    Michael Natterer authored
    Change it to take 3 parameters:
    
      enum_value (value, nick, name)
    
    - "nick" is an untranslated string for (de)serializing the enum value
      that must contain no spaces.
    - "name" is the human-readable name for the GUI, wrapped in N_().
    
    Change enum registration to translate the name if GETTEXT_PACKAGE is
    defined.
    fa80e20a