

(function(globals) {

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

  
  django.pluralidx = function(n) {
    var v=(n != 1);
    if (typeof(v) == 'boolean') {
      return v ? 1 : 0;
    } else {
      return v;
    }
  };
  

  /* gettext library */

  django.catalog = django.catalog || {};
  
  var newcatalog = {
    "%(quantity)s item added to cart": [
      "%(quantity)s toode ostukorvi lisatud",
      "%(quantity)s toodet ostukorvi lisatud"
    ],
    "%(quantity)s item removed from cart": [
      "%(quantity)s toode ostukorvist eemaldatud",
      "%(quantity)s toodet ostukorvist eemaldatud"
    ],
    "%(sel)s of %(cnt)s selected": [
      "%(sel)s  %(cnt)sst valitud",
      "%(sel)s  %(cnt)sst valitud"
    ],
    "%s products": "%s toodet",
    "6 a.m.": "6 hommikul",
    "6 p.m.": "6 \u00f5htul",
    "Add %s worth of products to your basket to earn free shipping": "Tasuta tarne jaoks lisa ostukorvi %s v\u00e4\u00e4rtuses tooteid",
    "Add to Cart": "Lisa ostukorvi",
    "April": "aprill",
    "Are you sure you want to change tabs without saving the page first?": "Kas olete kindel, et soovite sakki vahetada ilma lehte salvestamata?",
    "August": "august",
    "Available %s": "Saadaval %s",
    "Basket": "Ostukorv",
    "Basket:": "Vahesumma:",
    "But you can browse products by clicking a button below...": "Saad tooteid sirvida vajutades allolevat nuppu",
    "Cancel": "T\u00fchista",
    "Checkout": "Vormista ost",
    "Choose": "Vali",
    "Choose a Date": "Vali kuup\u00e4ev",
    "Choose a Time": "Vali aeg",
    "Choose a time": "Vali aeg",
    "Choose all": "Vali k\u00f5ik",
    "Chosen %s": "Valitud %s",
    "Click to choose all %s at once.": "Kliki, et valida k\u00f5ik %s korraga.",
    "Click to remove all chosen %s at once.": "Kliki, et eemaldada k\u00f5ik valitud %s korraga.",
    "Dashboard": "T\u00f6\u00f6laud",
    "December": "detsember",
    "Did you mean?": "Kas m\u00f5tlesite?",
    "Failed to add %(quantity)s item to cart": [
      "%(quantity)s toote lisamine ostukorvi eba\u00f5nnestus",
      "%(quantity)s toote lisamine ostukorvi eba\u00f5nnestus"
    ],
    "Failed to load cart": "Ostukorvi laadimine eba\u00f5nnestus",
    "Failed to remove %(quantity)s item from cart": [
      "%(quantity)s toote eemaldamine ostukorvist eba\u00f5nnestus",
      "%(quantity)s toote eemaldamine ostukorvist eba\u00f5nnestus"
    ],
    "Failed to remove item from cart": "Toote eemaldamine ostukorvist eba\u00f5nnestus",
    "February": "veebruar",
    "Filter": "Filter",
    "Hide": "Varja",
    "Item removed from the cart": "Toode ostukorvist eemaldatud",
    "January": "jaanuar",
    "July": "juuli",
    "June": "juuni",
    "Language": "Keel",
    "Log out": "Logi v\u00e4lja",
    "March": "m\u00e4rts",
    "May": "mai",
    "Midnight": "Kesk\u00f6\u00f6",
    "Noon": "Keskp\u00e4ev",
    "Note: You are %s hour ahead of server time.": [
      "M\u00e4rkus: Olete %s tund serveri ajast ees.",
      "M\u00e4rkus: Olete %s tundi serveri ajast ees."
    ],
    "Note: You are %s hour behind server time.": [
      "M\u00e4rkus: Olete %s tund serveri ajast maas.",
      "M\u00e4rkus: Olete %s tundi serveri ajast maas."
    ],
    "November": "november",
    "Now": "Praegu",
    "October": "oktoober",
    "Price": "Hind",
    "Proceed to checkout": "Tellima",
    "Product": "Toode",
    "Product out of stock": "Toode on l\u00e4bi m\u00fc\u00fcdud",
    "Quantity": "Kogus",
    "Read less": "Loe v\u00e4hem",
    "Read more": "Loe veel",
    "Remove": "Eemalda",
    "Remove all": "Eemalda k\u00f5ik",
    "Remove all filters": "T\u00fchista k\u00f5ik filtrid",
    "Search products...": "Otsi tooteid...",
    "September": "september",
    "Shipping is free for this order.": "Selle tellimuse tarne on tasuta.",
    "Shipping:": "Tarne:",
    "Show": "N\u00e4ita",
    "This is the list of available %s. You may choose some by selecting them in the box below and then clicking the \"Choose\" arrow between the two boxes.": "Nimekiri v\u00e4lja \"%s\" v\u00f5imalikest v\u00e4\u00e4rtustest. Saad valida \u00fche v\u00f5i mitu kirjet allolevast kastist ning vajutades noolt \"Vali\" liigutada neid \u00fchest kastist teise.",
    "This is the list of chosen %s. You may remove some by selecting them in the box below and then clicking the \"Remove\" arrow between the two boxes.": "Nimekiri v\u00e4lja \"%s\" valitud v\u00e4\u00e4rtustest. Saad valida \u00fche v\u00f5i mitu kirjet allolevast kastist ning vajutades noolt \"Eemalda\" liigutada neid \u00fchest kastist teise.",
    "Today": "T\u00e4na",
    "Tomorrow": "Homme",
    "Total": "Kokku",
    "Total payment:": "Kokku tasuda:",
    "Type into this box to filter down the list of available %s.": "Filtreeri selle kasti abil v\u00e4lja \"%s\" nimekirja.",
    "VAT": "K\u00e4ibemaks",
    "VAT %s%:": "K\u00e4ibemaks %s%:",
    "View basket": "Vaata ostukorvi",
    "View products": "Vaata tooteid",
    "Yesterday": "Eile",
    "You have selected an action, and you haven't made any changes on individual fields. You're probably looking for the Go button rather than the Save button.": "Valisid toimingu, kuid sa pole \u00fchtegi lahtrit muutnud. T\u00f5en\u00e4oliselt peaksid vajutama 'Mine' mitte 'Salvesta' nuppu.",
    "You have selected an action, but you haven't saved your changes to individual fields yet. Please click OK to save. You'll need to re-run the action.": "Valisid toimingu, kuid pole salvestanud muudatusi lahtrites. Salvestamiseks palun vajuta OK. Pead toimingu uuesti k\u00e4ivitama.",
    "You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.": "Muudetavates lahtrites on salvestamata muudatusi. Kui sooritate m\u00f5ne toimingu, l\u00e4hevad salvestamata muudatused kaotsi.",
    "Your account": "Sinu konto",
    "Your basket is empty.": "Sinu ostukorv on t\u00fchi.",
    "Your orders": "Sinu tellimused",
    "dropdown\u0004Active substances": "Aktiivne toimeaine",
    "dropdown\u0004Products": "Tooted",
    "hide": "peida",
    "is_discount_product": "Soodustooted",
    "is_new_product": "Uued tooted",
    "one letter Friday\u0004F": "R",
    "one letter Monday\u0004M": "E",
    "one letter Saturday\u0004S": "L",
    "one letter Sunday\u0004S": "P",
    "one letter Thursday\u0004T": "N",
    "one letter Tuesday\u0004T": "T",
    "one letter Wednesday\u0004W": "K",
    "requires_prescription": "Retseptiravim",
    "show": "n\u00e4ita",
    "toggle": "l\u00fclita"
  };
  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[django.pluralidx(count)];
      }
    };

    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": "N j, Y, P",
    "DATETIME_INPUT_FORMATS": [
      "%Y-%m-%d %H:%M:%S",
      "%Y-%m-%d %H:%M:%S.%f",
      "%Y-%m-%d %H:%M",
      "%Y-%m-%d",
      "%m/%d/%Y %H:%M:%S",
      "%m/%d/%Y %H:%M:%S.%f",
      "%m/%d/%Y %H:%M",
      "%m/%d/%Y",
      "%m/%d/%y %H:%M:%S",
      "%m/%d/%y %H:%M:%S.%f",
      "%m/%d/%y %H:%M",
      "%m/%d/%y"
    ],
    "DATE_FORMAT": "j F Y",
    "DATE_INPUT_FORMATS": [
      "%Y-%m-%d",
      "%m/%d/%Y",
      "%m/%d/%y",
      "%b %d %Y",
      "%b %d, %Y",
      "%d %b %Y",
      "%d %b, %Y",
      "%B %d %Y",
      "%B %d, %Y",
      "%d %B %Y",
      "%d %B, %Y"
    ],
    "DECIMAL_SEPARATOR": ",",
    "FIRST_DAY_OF_WEEK": "0",
    "MONTH_DAY_FORMAT": "j F",
    "NUMBER_GROUPING": "0",
    "SHORT_DATETIME_FORMAT": "m/d/Y P",
    "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));

