Created
January 28, 2009 10:24
-
-
Save thilo/53889 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= _("${TM_SELECTED_TEXT/"/\\"/g}") %> #rails gettext snippet for HTML text | |
_("${TM_SELECTED_TEXT/"/\\"/g}") #rails gettext snippet for ruby strings | |
To use same shortcut for both scope them a following | |
text.html.ruby #for html | |
string.quoted.single.ruby|string.quoted.double.ruby #for ruby strings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment