Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Phpstorm: Generate pimcore translation
<template name="trans" value="&lt;?= $this-&gt;t('$TXT$') ?&gt;" description="Generate pimcore translation" toReformat="true" toShortenFQNames="true">
<variable name="TXT" expression="clipboard()" defaultValue="" alwaysStopAt="true" />
<context>
<option name="HTML_TEXT" value="true" />
<option name="HTML" value="true" />
</context>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment