o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1356960444.71153‰µ: @value"Í{I" class:EFI"BundledAsset;FI"logical_path;FI"web-app/i18n.js;FI" pathname;FI"^/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/web-app/i18n.coffee;FI"content_type;FI"application/javascript;FI" mtime;FI"2012-10-02T20:05:24-03:00;FI" length;FiïI" digest;F"%ffbd3ef62c1bf4372635c260893cefb2I" source;FI"ï(function() { var _i18n; _i18n = (function() { function _i18n() {} _i18n.prototype.locale = "en"; _i18n.prototype.setDefaultLocale = function(_locale) { debug('Configuring Language: ' + _locale); return this.locale = _locale; }; _i18n.prototype.getText = function(_string, _locale) { var currentSegment, parts, _next, _translated_text; if (_locale == null) { _locale = ""; } if (_locale === "") { _locale = this.locale; } parts = _string.split('.'); _translated_text = null; if (!AVAILABLE_LOCALES[_locale]) { debug("ERROR.I18N.TRANSLATE_TABLE.LOCALE_NOT_EXISTS " + _locale); return "ERROR.I18N.TRANSLATE_TABLE.LOCALE_NOT_EXISTS"; } currentSegment = AVAILABLE_LOCALES[_locale]; while (parts.length) { _next = parts.shift(); if (!currentSegment[_next]) { debug("ERROR.I18N.TRANSLATE_TABLE.INVALID_SEGMENT " + _next); return "ERROR.I18N.TRANSLATE_TABLE.INVALID_SEGMENT"; } currentSegment = currentSegment[_next]; } if (typeof currentSegment !== "string") { debug("ERROR.I18N.TRANSLATE_TABLE.SEGMENT_NOT_TEXT"); return "ERROR.I18N.TRANSLATE_TABLE.SEGMENT_NOT_TEXT"; } return currentSegment; }; _i18n.prototype.pluralizeIf = function(_qty, _singular, _plural, _locale) { if (_locale == null) { _locale = ""; } if (_qty === 1) { return this.getText(_singular, _locale); } return this.getText(_plural, _locale); }; return _i18n; })(); this.i18n = new _i18n; this._t = _.bind(this.i18n.getText, this.i18n); this._p = _.bind(this.i18n.pluralizeIf, this.i18n); }).call(this); ;FI"required_assets_digest;F"%3247f3de1b2a5fed2b997a656ddda4b7I" _version;F"%6776f581a4329e299531e1d52aa59832