Inline annotation doesn't work if backticks are used
See original GitHub issueIf you use single or double quotes to define the key to translate like $t('FOO')
or $t("FOO")
it will show the inline translation correctly
but if backticks are used $t(`FOO`)
then it doesn’t work
Normally this wouldn’t be a issue because everyone use the quotes, but in my case I forgot about them after placing a variable inside the string and then removing that variable, leaving the string with backticks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Inline annotation doesn't work if backticks are used #27 - GitHub
If you use single or double quotes to define the key to translate like $t('FOO') or $t("FOO") it will show the inline translation...
Read more >Insert an Inline Code with Back Tics do not work in Medium.com
Start writing after pressing key. On U.S. Keyboard: To enter into inline code block: [Single backtick].
Read more >How do I include backtick ( ` ) characters inside of an inline ...
When I try to write it in inline form via backtick characters it gets corrupted like so: $sql="SELECT * FROM my-table LIMIT 1";....
Read more >MS Teams latest update code snippet shortcut gone
Hey, I have noticed in the latest team update you cannot do 3 backticks ``` anymore as a shortcut for a code snippet...
Read more >Coding conventions | Kotlin
If the classes are intended to be used externally and aren't referenced ... you can use method names with spaces enclosed in backticks....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for the help 😁
Fixed 😄