Skip to content

Instantly share code, notes, and snippets.

@rezozero
Created October 31, 2012 10:43
Show Gist options
  • Select an option

  • Save rezozero/3986370 to your computer and use it in GitHub Desktop.

Select an option

Save rezozero/3986370 to your computer and use it in GitHub Desktop.
Snippet HTML: gettext
<snippet>
<content><![CDATA[
<?php echo(_("${1:text}")); ?>
]]></content>
<!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
<tabTrigger>__</tabTrigger>
<!-- Optional: Set a scope to limit where the snippet will trigger -->
<scope>text.html, source.html</scope>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment