-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@tr
is not recognized in syntax
#65
Comments
Fixed in version 1.3.0. Please check. |
Thank you! It's mostly working, but looks like there's still some cases it's not recognising syntax that Slint itself accepts: ready-text: up-to-date
? @tr("Up-to-date: {}", current-version)
: humanized-ready-size; Reports 2 errors:
If I erase the If the Also I just noticed a similar inconsistency in available syntax with the background: @linear-gradient(
0,
gradient-steps()[0] 50%,
gradient-steps()[1] 70%
); If I use the indexing expression like that, I get the error If I use a simpler expression like If it helps you debug, the code I'm looking at is open-source. (The |
The
@tr("Some text")
syntax is not recognised, issuing errors in the code analysis panel. The actual markup seems to survive mostly fine, but the property that uses that directive is not highlighted with the usual color.The error tooltip reads:
While I only reported this now, it's been happening for the couple months I've been using this plugin (which is awesome! thank you for your work), so it's not related to the Slint 1.8 release.
The text was updated successfully, but these errors were encountered: