

(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 = {
    "%(sel)s of %(cnt)s selected": [
      "%(sel)s de %(cnt)s seleccionat",
      "%(sel)s of %(cnt)s seleccionats"
    ],
    "6 a.m.": "6 a.m.",
    "6 p.m.": "6 p.m.",
    "<strong>Saved!</strong> Your updates were successfully applied.": "<strong>Ja est\u00e0!</strong> Les actualitzacions s'han desat correctament.",
    "Apr": "Abr.",
    "April": "abril",
    "Are you sure you want to change your payments in advance method from Stripe?": "Segur que voleu canviar el m\u00e8tode de pagament per endavant amb Stripe?",
    "Are you sure you want to clear all date ranges? \nThis action can not be undone.": "Segur que voleu eliminar tots els intervals de dates?\nUn cop duta a terme, aquesta acci\u00f3 no es podr\u00e0 desfer.",
    "Are you sure you want to leave this form without applying your changes?": "Segur que voleu sortir d'aquest formulari sense aplicar els canvis?",
    "Are you sure you want to leave this page without applying your changes?": "Segur que voleu sortir d'aquesta p\u00e0gina sense aplicar els canvis?",
    "Are you sure you want to leave this section without applying your changes?": "Segur que voleu sortir d'aquesta secci\u00f3 sense aplicar els canvis?",
    "Aug": "Ag.",
    "August": "agost",
    "Available %s": "%s Disponibles",
    "Back": "Enrere",
    "Cancel": "Cancel\u00b7lar",
    "Choose": "Escollir",
    "Choose a Date": "Escolliu una data",
    "Choose a Time": "Escolliu una hora",
    "Choose a time": "Escolliu una hora",
    "Choose all": "Escollir-los tots",
    "Chosen %s": "Escollit %s",
    "Click to choose all %s at once.": "Feu clic per escollir tots els %s d'un cop.",
    "Click to remove all chosen %s at once.": "Feu clic per eliminar tots els %s escollits d'un cop.",
    "Dec": "Des.",
    "December": "desembre",
    "Done": "Fet",
    "Error saving date ranges & prices, please add a start and end date.": "S'ha produ\u00eft un error en guardar els intervals de dates i els preus. Afegiu una data d'inici i de fi.",
    "Error saving date ranges & prices, please ensure you have added some prices and try again.": "S'ha produ\u00eft un error en guardar els intervals de dates i els preus. Assegureu-vos que heu afegit els preus i torneu-ho a provar.",
    "Failed to complete upload.": "No s'ha pogut penjar el fitxer.",
    "Failed to delete images. Please try again.": "No s'han pogut eliminar les imatges. Torneu-ho a provar.",
    "Failed to update photo ordering.": "No s'ha pogut actualitzar l'ordre de les fotos.",
    "Feb": "Febr.",
    "February": "febrer",
    "Filter": "Filtre",
    "Fri": "Dv.",
    "Friday": "divendres",
    "Hide": "Ocultar",
    "Jan": "Gen.",
    "January": "gener",
    "Jul": "Jul.",
    "July": "juliol",
    "Jun": "Juny",
    "June": "juny",
    "Mar": "Mar\u00e7",
    "March": "mar\u00e7",
    "May": "maig",
    "Midnight": "Mitjanit",
    "Mon": "Dl.",
    "Monday": "dilluns",
    "Next": "Seg\u00fcent",
    "Noon": "Migdia",
    "Note: You are %s hour ahead of server time.": [
      "Nota: Aneu %s hora avan\u00e7ats respecte la hora del servidor.",
      "Nota: Aneu %s hores avan\u00e7ats respecte la hora del servidor."
    ],
    "Note: You are %s hour behind server time.": [
      "Nota: Aneu %s hora endarrerits respecte la hora del servidor.",
      "Nota: Aneu %s hores endarrerits respecte la hora del servidor."
    ],
    "Nov": "Nov.",
    "November": "novembre",
    "Now": "Ara",
    "Oct": "Oct.",
    "October": "octubre",
    "Please ensure you have added prices (or 0) for all boxes within any tariff you've updated.": "Assegureu-vos que heu afegit els preus (o un 0) a totes les caselles de les tarifes que hagueu actualitzat.",
    "Remove": "Eliminar",
    "Remove all": "Esborrar-los tots",
    "Sat": "Ds.",
    "Saturday": "dissabte",
    "Saving": "Desant",
    "Sep": "Set.",
    "September": "setembre",
    "Show": "Mostrar",
    "Skip": "Omet",
    "Sun": "Dg.",
    "Sunday": "diumenge",
    "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.": "Aquesta \u00e9s la llista de %s disponibles. En podeu escollir alguns seleccionant-los a la caixa de sota i fent clic a la fletxa \"Escollir\" entre les dues caixes.",
    "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.": "Aquesta \u00e9s la llista de %s escollits. En podeu eliminar alguns seleccionant-los a la caixa de sota i fent clic a la fletxa \"Eliminar\" entre les dues caixes.",
    "Thu": "Dj.",
    "Thursday": "dijous",
    "Today": "Avui",
    "Tomorrow": "Dem\u00e0",
    "Tue": "Dt.",
    "Tuesday": "dimarts",
    "Type into this box to filter down the list of available %s.": "Escriviu en aquesta caixa per a filtrar la llista de %s disponibles.",
    "Wed": "Dc.",
    "Wednesday": "dimecres",
    "Yesterday": "Ahir",
    "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.": "Heu seleccionat una acci\u00f3 i no heu fet cap canvi a camps individuals. Probablement esteu cercant el bot\u00f3 'Anar' enlloc de 'Desar'.",
    "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.": "Heu seleccionat una acci\u00f3, per\u00f2 encara no heu desat els vostres canvis a camps individuals. Si us plau premeu OK per desar. Haureu de tornar a executar l'acci\u00f3.",
    "You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.": "Teniu canvis sense desar a camps editables individuals. Si executeu una acci\u00f3, es perdran aquests canvis no desats.",
    "You have unsaved changes.": "Hi ha canvis sense desar.",
    "one letter Friday\u0004F": "V",
    "one letter Monday\u0004M": "L",
    "one letter Saturday\u0004S": "S",
    "one letter Sunday\u0004S": "D",
    "one letter Thursday\u0004T": "J",
    "one letter Tuesday\u0004T": "M",
    "one letter Wednesday\u0004W": "X"
  };
  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 \\d\\e F \\d\\e Y \\a \\l\\e\\s 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 %H:%M:%S",
      "%d/%m/%y %H:%M:%S.%f",
      "%d/%m/%y %H:%M",
      "%Y-%m-%d %H:%M:%S",
      "%Y-%m-%d %H:%M:%S.%f",
      "%Y-%m-%d %H:%M",
      "%Y-%m-%d"
    ],
    "DATE_FORMAT": "j \\d\\e F \\d\\e Y",
    "DATE_INPUT_FORMATS": [
      "%d/%m/%Y",
      "%d/%m/%y",
      "%Y-%m-%d"
    ],
    "DECIMAL_SEPARATOR": ",",
    "FIRST_DAY_OF_WEEK": 1,
    "MONTH_DAY_FORMAT": "j \\d\\e F",
    "NUMBER_GROUPING": 3,
    "SHORT_DATETIME_FORMAT": "d/m/Y G:i",
    "SHORT_DATE_FORMAT": "d/m/Y",
    "THOUSAND_SEPARATOR": ".",
    "TIME_FORMAT": "G:i",
    "TIME_INPUT_FORMATS": [
      "%H:%M:%S",
      "%H:%M:%S.%f",
      "%H:%M"
    ],
    "YEAR_MONTH_FORMAT": "F \\d\\e\\l 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));

