

(function(globals) {

  var django = globals.django || (globals.django = {});

  
  django.pluralidx = function(n) {
    var v=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);
    if (typeof(v) == 'boolean') {
      return v ? 1 : 0;
    } else {
      return v;
    }
  };
  

  /* gettext library */

  django.catalog = django.catalog || {};
  
  var newcatalog = {
    "Add to cart form field label\u0004Quantity": "Po\u010det",
    "Datepicker month\u0004April": "Apr\u00edl",
    "Datepicker month\u0004August": "August",
    "Datepicker month\u0004December": "December",
    "Datepicker month\u0004February": "Febru\u00e1r",
    "Datepicker month\u0004January": "Janu\u00e1r",
    "Datepicker month\u0004July": "Jul",
    "Datepicker month\u0004June": "Jun",
    "Datepicker month\u0004March": "Marec",
    "Datepicker month\u0004May": "M\u00e1j",
    "Datepicker month\u0004November": "November",
    "Datepicker month\u0004October": "Oktober",
    "Datepicker month\u0004September": "September",
    "Datepicker month shortcut\u0004Apr": "Apr",
    "Datepicker month shortcut\u0004Aug": "Aug",
    "Datepicker month shortcut\u0004Dec": "Dec",
    "Datepicker month shortcut\u0004Feb": "Feb",
    "Datepicker month shortcut\u0004Jan": "Jan",
    "Datepicker month shortcut\u0004Jul": "Jul",
    "Datepicker month shortcut\u0004Jun": "Jun",
    "Datepicker month shortcut\u0004Mar": "Mar",
    "Datepicker month shortcut\u0004May": "M\u00e1j",
    "Datepicker month shortcut\u0004Nov": "Nov",
    "Datepicker month shortcut\u0004Oct": "Okt",
    "Datepicker month shortcut\u0004Sep": "Sep",
    "Datepicker option\u0004Clear": "Vy\u010disti\u0165",
    "Datepicker option\u0004Close": "Zatvori\u0165",
    "Datepicker option\u0004Next month": "\u010eal\u0161\u00ed mesiac",
    "Datepicker option\u0004Previous month": "Predch\u00e1dzaj\u00faci mesiac",
    "Datepicker option\u0004Select a month": "Vyberte mesiac",
    "Datepicker option\u0004Select a year": "Vyberte rok",
    "Datepicker option\u0004Today": "Dnes",
    "Datepicker weekday\u0004Friday": "Piatok",
    "Datepicker weekday\u0004Monday": "Pondelok",
    "Datepicker weekday\u0004Saturday": "Sobota",
    "Datepicker weekday\u0004Sunday": "Nede\u013ea",
    "Datepicker weekday\u0004Thursday": "\u0160tvrtok",
    "Datepicker weekday\u0004Tuesday": "Utorok",
    "Datepicker weekday\u0004Wednesday": "Streda",
    "Datepicker weekday shortcut\u0004Fri": "Pi",
    "Datepicker weekday shortcut\u0004Mon": "Po",
    "Datepicker weekday shortcut\u0004Sat": "So",
    "Datepicker weekday shortcut\u0004Sun": "Ne",
    "Datepicker weekday shortcut\u0004Thu": "\u0160t",
    "Datepicker weekday shortcut\u0004Tue": "Ut",
    "Datepicker weekday shortcut\u0004Wed": "St",
    "Friday shortcut\u0004F": "P",
    "Monday shortcut\u0004M": "P",
    "Product details primary action\u0004Add to cart": "Prida\u0165 do ko\u0161\u00edka",
    "Rich text editor option\u0004Bold text": "Tu\u010dn\u00e9",
    "Rich text editor option\u0004Center align": "Zarovna\u0165 na stred",
    "Rich text editor option\u0004Header": "Nadpis",
    "Rich text editor option\u0004Image (converts selected text to an image tag)": "Obr\u00e1zok (konvertuje ozna\u010den\u00fd text na html tag s obr\u00e1zkom)",
    "Rich text editor option\u0004Italic text": "Kurz\u00edva",
    "Rich text editor option\u0004Justify": "Zarovna\u0165 na strany",
    "Rich text editor option\u0004Left align": "Zarovna\u0165 do\u013eava",
    "Rich text editor option\u0004Link": "Odkaz",
    "Rich text editor option\u0004Quote": "Cit\u00e1cia",
    "Rich text editor option\u0004Remove formatting": "Odstr\u00e1ni\u0165 form\u00e1tovanie",
    "Rich text editor option\u0004Right align": "Zarovna\u0165 doprava",
    "Rich text editor option\u0004Subheader": "Podnadpis",
    "Saturday shortcut\u0004S": "S",
    "Sunday shortcut\u0004S": "S",
    "Thursday shortcut\u0004T": "U",
    "Tuesday shortcut\u0004T": "U",
    "Wednesday shortcut\u0004W": "S",
    "Your input fits between the recommended lengths": "V\u00e1\u0161 text sa mest\u00ed do odpor\u00fa\u010danej d\u013a\u017eky",
    "Your input might be a little too short, think of something more descriptive": "V\u00e1\u0161 text je prikr\u00e1tky, sk\u00faste vymyslie\u0165 nie\u010do opisnej\u0161ie",
    "item selected": [
      "vybran\u00e1 vec",
      "vybran\u00fdch vec\u00ed",
      "vybran\u00fdch vec\u00ed",
      "vybran\u00fdch vec\u00ed"
    ]
  };
  for (var key in newcatalog) {
    django.catalog[key] = newcatalog[key];
  }
  

  if (!django.jsi18n_initialized) {
    django.gettext = function(msgid) {
      var value = django.catalog[msgid];
      if (typeof(value) == 'undefined') {
        return msgid;
      } else {
        return (typeof(value) == 'string') ? value : value[0];
      }
    };

    django.ngettext = function(singular, plural, count) {
      var value = django.catalog[singular];
      if (typeof(value) == 'undefined') {
        return (count == 1) ? singular : plural;
      } else {
        return value.constructor === Array ? value[django.pluralidx(count)] : value;
      }
    };

    django.gettext_noop = function(msgid) { return msgid; };

    django.pgettext = function(context, msgid) {
      var value = django.gettext(context + '\x04' + msgid);
      if (value.indexOf('\x04') != -1) {
        value = msgid;
      }
      return value;
    };

    django.npgettext = function(context, singular, plural, count) {
      var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
      if (value.indexOf('\x04') != -1) {
        value = django.ngettext(singular, plural, count);
      }
      return value;
    };

    django.interpolate = function(fmt, obj, named) {
      if (named) {
        return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])});
      } else {
        return fmt.replace(/%s/g, function(match){return String(obj.shift())});
      }
    };


    /* formatting library */

    django.formats = {
    "DATETIME_FORMAT": "j. F Y G:i",
    "DATETIME_INPUT_FORMATS": [
      "%d.%m.%Y %H:%M:%S",
      "%d.%m.%Y %H:%M:%S.%f",
      "%d.%m.%Y %H:%M",
      "%d.%m.%Y",
      "%Y-%m-%d %H:%M:%S",
      "%Y-%m-%d %H:%M:%S.%f",
      "%Y-%m-%d %H:%M",
      "%Y-%m-%d"
    ],
    "DATE_FORMAT": "j. F Y",
    "DATE_INPUT_FORMATS": [
      "%d.%m.%Y",
      "%d.%m.%y",
      "%y-%m-%d",
      "%Y-%m-%d"
    ],
    "DECIMAL_SEPARATOR": ",",
    "FIRST_DAY_OF_WEEK": 1,
    "MONTH_DAY_FORMAT": "j. F",
    "NUMBER_GROUPING": 3,
    "SHORT_DATETIME_FORMAT": "d.m.Y G:i",
    "SHORT_DATE_FORMAT": "d.m.Y",
    "THOUSAND_SEPARATOR": "\u00a0",
    "TIME_FORMAT": "G:i",
    "TIME_INPUT_FORMATS": [
      "%H:%M:%S",
      "%H:%M:%S.%f",
      "%H:%M"
    ],
    "YEAR_MONTH_FORMAT": "F Y"
  };

    django.get_format = function(format_type) {
      var value = django.formats[format_type];
      if (typeof(value) == 'undefined') {
        return format_type;
      } else {
        return value;
      }
    };

    /* add to global namespace */
    globals.pluralidx = django.pluralidx;
    globals.gettext = django.gettext;
    globals.ngettext = django.ngettext;
    globals.gettext_noop = django.gettext_noop;
    globals.pgettext = django.pgettext;
    globals.npgettext = django.npgettext;
    globals.interpolate = django.interpolate;
    globals.get_format = django.get_format;

    django.jsi18n_initialized = true;
  }

}(this));

