-
-
Notifications
You must be signed in to change notification settings - Fork 136
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
[Twig] Generator for trans #506
Comments
@Haehnchen what do you think about adding extra stubs speed up things? Now {% ‡ %}
{{ ‡ }}
{{ '‡' }}
{{ '‡'|trans }} We could also think of other tags where the filter is located after quotes, and require intensive navigating with the keyboard arrows. |
it only make sense with a dialog to select a translation and the "trans style" to insert. all other are more like "code templates" |
Would the plugin be able to add code templates then? |
poc is ready, sweet stuff ;) same logic as translation extraction to detection domains and provide a preselected list |
While adding translations in my templates, it would be great if that could speed up by generating the stub code for a translation. Currently no generators are there, except the XML tag while pressing
ALT + Insert
.Would be great a stub for a Twig translation filter could be added from that menu. Especially because the filter has to be added after the quote characters, so now that takes lot of presses on the arrow keys.
The text was updated successfully, but these errors were encountered: