Sublime WordPress i18n

Simple sublime package to make WordPress theme/plugin translation ready.

Sublime WordPress I18N

Snippets:

Snippet Output
wpi18__ __( 'Hello.', 'text-domain' );
wpi18_e _e( 'Hello.', 'text-domain' );
wpi18_n _n( '%s Comment', '%s Comments', get_comments_number(), 'text-domain' );
wpi18_x _x( 'Hello.', 'Description of translation string.', 'text-domain' );
wpi18_nx _nx( '%s Comment', '%s Comments', get_comments_number(), 'Description of translation string.', 'text-domain' );
wpi18_sprintf__ sprintf( __( 'You have chosen the %1$s theme.', 'text-domain' ), $color );
wpi18_printf__ printf( __( 'You have chosen the %1$s theme.', 'text-domain' ), $color );