Commits

Lasse Hassing  committed e4291d9

Add: I18N snippet ${_(u"...")} as cmd+opt+t

Mark selected text for translation using pylons/babel.

  • Participants
  • Parent commits 74bf8d8

Comments (0)

Files changed (2)

File Snippets/${_(u"___")} : i18n.tmSnippet

+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>content</key>
+	<string>\${_(u"$TM_SELECTED_TEXT")}</string>
+	<key>keyEquivalent</key>
+	<string>~@t</string>
+	<key>name</key>
+	<string>${_(u"...")} / i18n</string>
+	<key>scope</key>
+	<string>text.html.mako</string>
+	<key>uuid</key>
+	<string>04964718-69E5-4F25-B435-45BA0A9B0815</string>
+</dict>
+</plist>
 	<array>
 		<string>8580C15A-0134-4D25-9705-14F98729B2C5</string>
 		<string>F24A57C2-A334-4D70-8E02-1A2E8A857062</string>
-		<string>F43A23BF-56CE-4106-AE3A-450A8C256371</string>
 		<string>D2BEBD60-FB52-4188-B6CF-008230FAEAB3</string>
 		<string>3922CE83-ED6D-4706-AD2E-C25EC7960294</string>
 		<string>A1322540-CBBC-403F-BEF7-FFAB9243B5EE</string>
 		<string>2899BAB6-1925-46EC-9AE3-38D64F1EF403</string>
 		<string>BFF044C5-C5C5-4A98-8962-C6E04CB81FD7</string>
+		<string>04964718-69E5-4F25-B435-45BA0A9B0815</string>
 		<string>6C52F4C0-7C87-42B6-9F43-8E1C7FC366B9</string>
 	</array>
 	<key>uuid</key>