

(function (globals) {

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

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

  
  /* gettext library */

  django.catalog = {
    "Add point name": "Podaj nazw\u0119 punktu", 
    "Apr": "Kwi", 
    "April": "Kwietnia", 
    "Aug": "Sie", 
    "August": "Sierpnia", 
    "Dec": "Gru", 
    "December": "Grudnia", 
    "Error": "B\u0142\u0105d", 
    "Feb": "Lut", 
    "February": "Lutego", 
    "Forecast for <b>{0}</b> is not available.<br>Displaying earliest possible forecast (<b>{1}</b>)": "Prognoza dla <b>{0}</b> jest niedost\u0119pna.<br>Wy\u015bwietlono pierwsz\u0105 dost\u0119pn\u0105 prognoz\u0119 (<b>{1}</b>)", 
    "Forecast for <b>{0}</b> is not available.<br>Displaying latest possible forecast (<b>{1}</b>)": "Prognoza dla <b>{0}</b> jest niedost\u0119pna.<br>Wy\u015bwietlono ostatni\u0105 dost\u0119pn\u0105 prognoz\u0119 (<b>{1}</b>)", 
    "Fri": "Pi\u0105", 
    "Friday": "Pi\u0105tek", 
    "Generating tiles failed. Please make sure that source file is in correct format and it is not corrupted.": "Generowanie kafli zako\u0144czone niepowodzeniem. Upewnij si\u0119, \u017ce plik \u017ar\u00f3d\u0142owy jest we w\u0142a\u015bciwym formacie i nie jest uszkodzony.", 
    "Geolocation is not supported by this browser": "Geolokalizacja nie jest wspierana przez twoj\u0105 przegl\u0105dark\u0119", 
    "I understand": "Rozumiem", 
    "Info": "Informacja", 
    "Jan": "Sty", 
    "January": "Stycznia", 
    "Jul": "Lip", 
    "July": "Lipca", 
    "Jun": "Cze", 
    "June": "Czerwca", 
    "Map legend": "Legenda", 
    "Mar": "Mar", 
    "March": "Marca", 
    "May": "Maja", 
    "Mon": "Pon", 
    "Monday": "Poniedzia\u0142ek", 
    "My current location": "Moja lokalizacja", 
    "Nov": "Lis", 
    "November": "Listopada", 
    "Oct": "Pa\u017a", 
    "October": "Pa\u017adziernika", 
    "Point with this name already exists": "Punkt o tej nazwie ju\u017c istnieje", 
    "Point {0}": "Punkt {0}", 
    "Sat": "Sob", 
    "Saturday": "Sobota", 
    "Sep": "Wrz", 
    "September": "Wrze\u015bnia", 
    "Success": "Sukces", 
    "Sun": "Nie", 
    "Sunday": "Niedziela", 
    "This page is using cookies": "Ta strona u\u017cywa ciasteczek (cookies), dzi\u0119ki kt\u00f3rym nasz serwis mo\u017ce dzia\u0142a\u0107 lepiej.", 
    "Thu": "Czw", 
    "Thursday": "Czwartek", 
    "Tue": "Wto", 
    "Tuesday": "Wtorek", 
    "Warning": "Ostrze\u017cenie", 
    "Wed": "\u015aro", 
    "Wednesday": "\u015aroda", 
    "You don't have remembered points": "Nie posiadasz zapami\u0119tanych punkt\u00f3w", 
    "less filter options": "mniej opcji filtrowania", 
    "more filter options": "wi\u0119cej opcji filtrowania"
  };

  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": "d-m-Y  H:i", 
    "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": "N j, 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": "F j", 
    "NUMBER_GROUPING": "0", 
    "SHORT_DATETIME_FORMAT": "m/d/Y P", 
    "SHORT_DATE_FORMAT": "m/d/Y", 
    "THOUSAND_SEPARATOR": ",", 
    "TIME_FORMAT": "P", 
    "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;

}(this));

