Skip to content

Lexicon v3.0.6

Compare
Choose a tag to compare
@tabularelf tabularelf released this 15 Oct 01:30
· 1 commit to release since this release

This release has been a long time coming, I hope it was worth the wait! πŸ™

Added

  • lexicon_language_get_index(), which returns the current index within the language array.
  • lexicon_dynamic_define(name, callback, [updateCache=true]), which updates any text passed to lexicon_text and lexicon_text_array calls, replacing them with the return of the callback.
  • Ability to refer to entries within entries, along with recursion detection.

Changed

  • Reworked all of the macros to now be __MACRO_NAME instead of MACRO_NAME (To privatise these)
  • Changed a couple default settings (struct accessors are now {foo} instead of %foo%)
  • Any updates/fixes made from the last few v2.1.x versions
  • Neaten up lexicon_settings comments
  • Any string can be processed via lexicon_text and lexicon_text_array. (lexicon_text("Hello {0}!", "Bob") will be processed and actually return the processed string.)

Deprecated

  • Legacy accessor %s
  • lexicon_text_struct. Superseeded by lexicon_text and lexicon_text_array.

Removed

  • Removed a bunch of old settings that were no longer needed.