Skip to content

Instantly share code, notes, and snippets.

@gcollazo
Created August 9, 2012 22:36
Show Gist options
  • Select an option

  • Save gcollazo/3308674 to your computer and use it in GitHub Desktop.

Select an option

Save gcollazo/3308674 to your computer and use it in GitHub Desktop.
context =
name: socialshows.models.UserModel.get('name')
recipient: resp.name
other: other
program: @model.get('program').name
string = gettext("%(name)s invited %(recipient)s %(other)s to %(program)s")
@postToWall interpolate string, context, yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment