//= require handlebars

Handlebars.registerHelper("t", function(key) {
  if (Spree.translations[key]) {
    return Spree.translations[key]
  } else {
    console.error("No translation found for " + key + ". Does it exist within spree/admin/shared/_translations.html.erb?")
  }
});
