Skip to content

Instantly share code, notes, and snippets.

@ptaferner
Created January 16, 2016 10:00
Show Gist options
  • Save ptaferner/ba31b6a4f0a0073a7fe1 to your computer and use it in GitHub Desktop.
Save ptaferner/ba31b6a4f0a0073a7fe1 to your computer and use it in GitHub Desktop.
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