

(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 = {
    " rated": " oceniono", 
    " rating removed": " ocena usuni\u0119ta", 
    "%(sel)s of %(cnt)s selected": [
      "wybrano %(sel)s z %(cnt)s", 
      "wybrano %(sel)s z %(cnt)s", 
      "wybrano %(sel)s z %(cnt)s"
    ], 
    "0 min ago.": "Teraz", 
    "</p><p>We won't be showing you this movie again.</p>": "</p><p>Nie b\u0119dziemy Ci wi\u0119cej pokazywac tego filmu.</p>", 
    "</p><p>You can send your wishlist to your friends so that they know what to get you or what to bring to your place for a movies night.</p>": "</p><p>Mo\u017cesz wys\u0142a\u0107 list\u0119 \u017cycze\u0144 do swoich znajomych, \u017ceby wiedzieli co Ci kupi\u0107 na gwiazdk\u0119 lub co przynie\u015b\u0107 na wieczorek filmowy.</p>", 
    "<p>Thanks for rating <strong>": "<p>Dzi\u0119ki za ocenienie <strong>", 
    "<p>You've added <strong>": "<p>Doda\u0142e\u015b film <strong>", 
    "<p>Your short review has appeared at ": "<p>Twoja opinie pojawi\u0142a si\u0119 na ", 
    "Add": "Dodaj", 
    "Are you sure?": "Jeste\u015b pewien?", 
    "Autodetected location": "Wykryto lokalizacj\u0119", 
    "Autodetected location. <a href='#' class='sl'>Click to change</a>.": "Wykryto lokalizacj\u0119. <a href='#' class='sl'>Kliknij aby zmieni\u0107</a>.", 
    "Available %s": "Dost\u0119pne %s", 
    "Cancel": "Anuluj", 
    "Choose all": "Wybierz wszystko", 
    "Chosen %s": "Wybrano %s", 
    "Clear all": "Wyczy\u015b\u0107 wszystko", 
    "Close": "Zamknij", 
    "Do you want to remove this activity?": "Na pewno chcesz usun\u0105\u0107 ten wpis?", 
    "Do you want to remove this demot?": "Na pewno chcesz usun\u0105\u0107 tego demota?", 
    "Edit": "Edytuj", 
    "Follow": "Obserwuj", 
    "Good job! ": "Dobra robota! ", 
    "Good job! Movie rated": "Dobra robota! Film oceniony", 
    "Hide screenings": "Ukryj seanse", 
    "I'm watching now": "Ogl\u0105dam teraz", 
    "Leave a comment": "Zostaw komentarz", 
    "Movie added to your ": "Film zosta\u0142 dodany do ", 
    "Movie filtering options": "Opcje wyboru film\u00f3w", 
    "Movie rating removed": "Ocena usuni\u0119ta", 
    "New location detected. Should we use it as your new default?": "Wykryto now\u0105 lokalizacj\u0119. Czy ustawi\u0107 j\u0105 jako domy\u015bln\u0105?", 
    "Oops... something went wrong :( Please accept our apologies.": "Ups... co\u015b posz\u0142o nie tak :( Przepraszamy i obiecujemy popraw\u0119.", 
    "Original title": "Tytu\u0142 oryginalny", 
    "Remove": "Usu\u0144", 
    "Remove activity": "Usu\u0144 wpis", 
    "Remove demot": "Usu\u0144 demota", 
    "Remove your rating": "Usu\u0144 ocen\u0119", 
    "Removing activity": "Usuwam wpis", 
    "Removing demot": "Usuwam demota", 
    "Reply": "Odpowiedz", 
    "Review cannot be longer than 1000 characters!": "Recenzja nie mo\u017ce by\u0107 d\u0142u\u017csza ni\u017c 1000 znak\u00f3w!", 
    "Review cannot be shorter than 10 characters!": "Recenzja nie powinna by\u0107 kr\u00f3tsza ni\u017c 10 znak\u00f3w!", 
    "SKIP MOVIE": "pomi\u0144", 
    "Select your choice(s) and click ": "Dokonaj wyboru i kliknij", 
    "Show all screenings": "Poka\u017c wszystkie seanse", 
    "Something goes wrong, please try again later": "Co\u015b posz\u0142o nie tak, spr\u00f3buj ponownie", 
    "Unfollow": "Nie obserwuj", 
    "We've prepared personalized movie recommendations for you": "Przygotowali\u015bmy dla Ciebie spersonalizowane rekomendacje", 
    "Your recommendations are getting computed right now. They should be ready in a few seconds": "Twoje rekomendacje w\u0142a\u015bnie si\u0119 wyliczaj\u0105. Powinny by\u0107 gotowe za kilka sekund", 
    "a minute": "minut\u0119", 
    "above average": "niez\u0142y", 
    "ago": "temu", 
    "an hour": "godzin\u0119", 
    "average": "przeci\u0119tny", 
    "below average": "poni\u017cej \u015bredniej", 
    "check them out!": "sprawd\u017a je!", 
    "comment": [
      "komentarz", 
      "komentarzy", 
      "komentarze"
    ], 
    "day before": "dzie\u0144 wcze\u015bniej", 
    "days": [
      "dzie\u0144", 
      "dni", 
      "dni"
    ], 
    "disaster": "dno", 
    "equally": "r\u00f3wnie", 
    "exceptional": "rewelacyjny", 
    "good": "dobry", 
    "hours": [
      "godzin\u0119", 
      "godziny", 
      "godzin"
    ], 
    "in": "w", 
    "is more": "jest bardziej", 
    "last month": "w zesz\u0142ym miesi\u0105cu", 
    "last week": "w zesz\u0142ym tygodniu", 
    "last year": "w zesz\u0142ym roku", 
    "masterpiece": "wybitny", 
    "minutes": [
      "minut\u0119", 
      "minuty", 
      "minut"
    ], 
    "months": [
      "miesi\u0105c", 
      "miesi\u0105ce", 
      "miesi\u0119cy"
    ], 
    "now": "teraz", 
    "or": "lub", 
    "poor": "s\u0142aby", 
    "profile": "profil", 
    "remove my ratings": "usu\u0144 moje oceny", 
    "seconds": [
      "sekund\u0119", 
      "sekundy", 
      "sekund"
    ], 
    "shitlist</a>": "\u015bmietnika</a>", 
    "show all": "poka\u017c wszystko", 
    "show less": "poka\u017c mniej", 
    "show more": "poka\u017c wi\u0119cej", 
    "to_your_shitlist": "do swojego", 
    "to_your_wishlist": "do swojej", 
    "today": "dzi\u015b", 
    "very bad": "beznadziejny", 
    "very good": "bardzo dobry", 
    "weeks": [
      "tydzie\u0144", 
      "tygodnie", 
      "tygodni"
    ], 
    "wishlist</a>": "listy \u017cycze\u0144</a>", 
    "years": [
      "rok", 
      "lata", 
      "lat"
    ], 
    "yesterday": "wczoraj", 
    "your profile page</a>": "stronie Twojego profilu</a>", 
    "your profile page</a>'": "stronie Twojego profilu</a>"
  };

  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": "Y-m-d H:i:sO", 
    "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": "Y-m-d", 
    "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));

