{:uriI"file:///Users/tvd/.gem/ruby/2.7.4/bundler/gems/solidus-2596bdd61623/backend/app/assets/javascripts/spree/backend/translation.js?type=application/javascript&pipeline=self&id=dc5714638cc187fcca92438a604165cd7950650c281bd5d31a4046af4860a24a:ET:load_pathI"`/Users/tvd/.gem/ruby/2.7.4/bundler/gems/solidus-2596bdd61623/backend/app/assets/javascripts;T: filenameI"}/Users/tvd/.gem/ruby/2.7.4/bundler/gems/solidus-2596bdd61623/backend/app/assets/javascripts/spree/backend/translation.js;T: nameI"spree/backend/translation;T:logical_pathI"&spree/backend/translation.self.js;T:content_typeI"application/javascript;T: sourceI"-(function() { // Resolves string keys with dots in a deeply nested object // http://stackoverflow.com/a/22129960/4405214 var resolveObject = function(path, obj) { return path .split('.') .reduce(function(prev, curr) { return prev && prev[curr]; }, obj || self); } Spree.t = function(key, options) { options = (options || {}); if(options.scope) { key = options.scope + "." + key; } var translation = resolveObject(key, Spree.translations); if (translation) { return translation; } else if(options.default) { return options.default; } else { console.warn("No translation found for " + key + "."); return key; } } Spree.human_attribute_name = function(model, attr) { return Spree.t("activerecord.attributes." + model + '.' + attr); } Spree.human_model_name = function(model) { var model_name = Spree.t("activerecord.models." + model); if(_.isString(model_name)) { return model_name; } else { return model_name.one; } } })(); ;T: metadata{:dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/tvd/.gem/ruby/2.7.4/bundler/gems/solidus-2596bdd61623/backend/app/assets/javascripts/spree/backend/translation.js;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: to_loado;;}F: to_linko;;}F:map{ I" version;TiI" file;TI"!spree/backend/translation.js;TI" mappings;TI"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;TI" sources;T[I"translation.source.js;TI" names;T[I"x_sprockets_linecount;Ti-: charsetI" utf-8;F: digest"%DXSIpaOrd_$v/١k: lengthi-:environment_versionI"1.0;T:dependencies_digest"%pdfٳ|ItQ[{@ +:cx:idI"Edc5714638cc187fcca92438a604165cd7950650c281bd5d31a4046af4860a24a;F