Sha256: a04cf0f37c563f9109511058c842e5c837a045c57f28ba474d047952f4c77f24
Contents?: true
Size: 561 Bytes
Versions: 6
Compression:
Stored size: 561 Bytes
Contents
I"%(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; return moment.locale(this.locale); }; 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); :ET
Version data entries
6 entries across 5 versions & 1 rubygems