// Generated by CoffeeScript 1.12.2
(function() {
  var Locale;

  this.RailsAdmin || (this.RailsAdmin = {});

  this.RailsAdmin.I18n = Locale = (function() {
    function Locale() {}

    Locale.init = function(locale, translations) {
      this.locale = locale;
      this.translations = translations;
      moment.locale(this.locale);
      if (typeof this.translations === "string") {
        return this.translations = JSON.parse(this.translations);
      }
    };

    Locale.t = function(key) {
      var humanize;
      humanize = key.charAt(0).toUpperCase() + key.replace(/_/g, " ").slice(1);
      return this.translations[key] || humanize;
    };

    return Locale;

  })();

}).call(this);

@@ -1,40 +1,4 @@
-// Generated by CoffeeScript 1.12.2%0A
 (fun
@@ -350,31 +350,24 @@
 ) %7B%0A        
-return 
 this.transla

tidy up generated JavaScript