Releases: tabularelf/lexicon
Lexicon v2.1.5
Additions
- Added in
lexicon_entry_exists(textEntry)
for seeing if a specific text entry exists or not.
Changes
- Updated feather JSDOC
Fixes
- Fixed a cache bug with
lexicon_text()
#15
Lexicon v2.1.4
Changes
lexicon_languages_get_array()
now has an optional argument for returning an array of structs instead of an array of arrays.
Fixes
lexicon_languages_get_array()
now sorts alphabetically.
Lexicon v2.1.3
-Fixed a bug in regards to the cache system fetching invalid data.
-Reworked lexicon_async
to check the size of the buffer (as per noted by a console developer that this can cause some issues otherwise)
-Implemented lexicon_index_fallback_language_set()
-New Docs! https://tabularelf.com/docs/lexicon
-For any issues, you can leave an issue or join the GameMaker Kitchen Discord Server!
Lexicon v2.1.2
-Fixed an issue with Lexicon JSON text entry parsing (thanks @NuxiiGit for the pr!)
-Updated Lexicon to be inline with Feather (as of IDE v2022.6.1.26, based off previous pr by @Totobal5. Appericate the effort!)
Lexicon v2.1.1
-Made __lexicon_throw
now throw an error in places where it should. (as oppose to previously outputting to the console)
-Added support for relative filepaths in definition files. (So doing filePath: "./locale.csv"
will now include the same path as the definitions file was.)
-Added in support for providing a struct in place of a text entry in json files.
Lexicon v2.1.0
-Adds in lexicon_declare_from_json
and lexicon_declare_from_csv
.
--Declares languages from JSON/CSV.
-Some minor optimizations
Lexicon v2.0.4
Hot fix update!
-Fixes a small issue with the csv parsing.
Lexicon v2.0.3
-Optimized lexicon_text
, lexicon_text_array
lexicon_text_struct
to have a slight FPS boost.
-Made it a fair bit easier to detect missing localization (will now shout ""Missing text pointer: ", followed by the text, when LEXICON_DEBUG
is true
).
-Internally replaces {{ }}
with a switchable version within lexicon_settings
(defaulted to %, %
).
Lexicon v2.0.2
Hotfix update:
-Fixed lexicon_index_add_json
JSDOC from incorrectly being set as lexicon_index_add_csv
-Minor: Fixed an issue with lexicon_index_add_csv
not having a space when an invalid csv load occurs. (Console Log-related)
Lexicvon v2.0.1
Hotfix update:
-Fixed lexicon_language_set from crashing the game. (Mistyped variable name)