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
{{ message }}
This repository has been archived by the owner on May 27, 2021. It is now read-only.
Exception in thread "LWJGL Application" com.github.czyzby.lml.util.LmlParsingException: Error occurred during parsing near line 24 of the original file: "locale-selector.lml" during parsing template part: "'each' macro result" on line: 9 of its content. Template part is most likely an evaluated macro or argument result, extracted from the original template.
REASON: Unable to obtain color with name: 'vis
Due implementation of the parser, the real problematic line might SLIGHTLY vary from the given line number(s), but exception message should be clear enough to find the actual error.
Currently parsed template part:
6 |VALID| row="true">
7 |VALID| <label align="left"
8 |VALID| growx="true"
9 |ERROR| color="{? 'en' == 'en' ? 'vis-blue' : 'white'}">
10 | | @languages/en
11 | | </label>
12 | | </table>
This template part was most likely evaluated during parsing this original template part (if a macro or an argument ends on this line, its content most likely causes the error):
21 |VALID| </:each>
22 |VALID| </table>
23 |VALID| </dialog>
24 |ERROR| </:noop>
25 | |
It might have a problem with the - inside the string (basically tries to execute "'vis" - "blue'"). The condition/equation parser is a bit magical - I wrote it a long time ago and it might have more edge cases that are not covered. ;) For now, rename the color in your Skin to something without a dash or assign vis-blue to a parameter that you can safely inject. I'll try to look into it before the next release.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It should return
vis-blue
when selected locale is the same as in the listInstead I receive:
@edit
Even simple condition returns
"vis
The text was updated successfully, but these errors were encountered: