Coffeescript files have to be handled in unusual ways.  Using gettext like this will not work.  See https://github.com/edx/edx-platform/blob/master/docs/en_us/developers/source/i18n.rst#coffeescript-files  for details.