Skip to content

Developer: TextMate Localization Snippets

primalmotion edited this page Aug 19, 2011 · 1 revision

Core localization snippet

This snippet can be use to localize the core Archipel program. DO NOT USE IT FOR ANY CODE in ModulesSources/**

Create a new "Command" in TextMate's bundle editor and put in it:

echo -n "CPLocalizedString($TM_SELECTED_TEXT, $TM_SELECTED_TEXT)"

I personally assign shortcut : opt+shift+cmd+L

Bundle localization snippet

This snippet can be use to localize the Archipel bundles. DO NOT USE IT FOR ANY CODE Archipel Core!

Create a new "Command" in TextMate's bundle editor and put in it:

echo -n "CPBundleLocalizedString($TM_SELECTED_TEXT, $TM_SELECTED_TEXT)"

I personally assign shortcut : opt+shift+cmd+B

Clone this wiki locally