
/* gettext library */

var catalog = new Array();

function pluralidx(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;
  }
}
catalog[' (a)'] = ' (r)';
catalog[' (d)'] = ' (m)';
catalog['Angel'] = 'Anio\u0142ek';
catalog['Are you sure you want to log out?'] = 'Czy na pewno chcesz si\u0119 wylogowa\u0107?';
catalog['Blue'] = 'Niebieski';
catalog['Bold'] = 'Pogrubienie';
catalog['Cancelled'] = 'Anulowano';
catalog['Colors'] = 'Kolory';
catalog['Confused'] = 'Zmieszany';
catalog['Cool'] = 'Cool';
catalog['Emoticons'] = 'Emotki';
catalog['Enter number between 1 and %(pages)s to go to this page'] = 'Wprowad\u017a numer pomi\u0119dzy  1 a %(pages)s aby przej\u015b\u0107 do tej strony';
catalog['Green'] = 'Zielony';
catalog['Grin'] = 'Szeroki u\u015bmiech';
catalog['Image'] = 'Obraz';
catalog['Information'] = 'Informacja';
catalog['Italic'] = 'Kursywa';
catalog['Link'] = 'Odno\u015bnik';
catalog['List Item'] = 'Element listy';
catalog['Loading...'] = '\u0141adowanie...';
catalog['Maximum field size exceeded!'] = 'Przekroczono maksymalny rozmiar pola!';
catalog['Maximum number of characters is: '] = 'Maksymalna ilo\u015b\u0107 znak\u00f3w to:';
catalog['Message has been sent!'] = 'Wiadomo\u015b\u0107 zosta\u0142a wys\u0142ana!';
catalog['Offers in categories'] = 'Oferty w kategoriach';
catalog['Ordered List'] = 'Lista numerowana';
catalog['Password successfully changed!'] = 'Has\u0142o zosta\u0142o zmienione!';
catalog['Please wait, processing data...'] = 'Prosz\u0119 czeka\u0107, trwa przetwarzanie danych...';
catalog['Point selected'] = 'Punkt zaznaczony';
catalog['Profile saved'] = 'Profil zapisany';
catalog['Quote'] = 'Cytuj';
catalog['Red'] = 'Czerwony';
catalog['Route'] = 'Droga';
catalog['Sad'] = 'Smutny';
catalog['Smile'] = 'U\u015bmiech';
catalog['Sorry, error occured while loading data. Code: '] = 'Przepraszamy, wyst\u0105pi\u0142 b\u0142\u0105d podczas komunikacji z serwerem. Kod b\u0142\u0119du:';
catalog['Sorry, error occured while loading data. Please, try again...'] = 'Przepraszamy, wyst\u0105pi\u0142 b\u0142\u0105d podczas komunikacji z serwerem. Spr\u00f3buj wykona\u0107 akcj\u0119 ponownie...';
catalog['This region contains <span class="important-info">%s offers</span>.'] = 'Ten region zawiera <span class="important-info">%s ofert</span>.';
catalog['To view them <span class="important-info">zoom the map</span>. Example offers here are:'] = 'Aby je zobaczy\u0107 <span class="important-info">zbli\u017c map\u0119</span>. Przyk\u0142adowe oferty to:';
catalog['Tongue'] = 'J\u0119zor';
catalog['Total number of offers: '] = 'Ca\u0142kowita ilo\u015b\u0107 ofert:';
catalog['Trying to determine locality...'] = 'Pr\u00f3buj\u0119 okre\u015bli\u0107 lokalizacj\u0119...';
catalog['Unable to determine locality. Enter address data here, eg. Sobieskiego, Warsaw.'] = 'Nie mo\u017cna okre\u015bli\u0107 lokalizacji. Wpisz adres, np. Sobieskiego, Warszawa.';
catalog['Underline'] = 'Podkre\u015blenie';
catalog['Unordered List'] = 'Lista wypunktowana';
catalog['Use mouse wheel to zoom in/out'] = 'U\u017cyj pokr\u0119t\u0142a myszki by przybli\u017cy\u0107/oddali\u0107 map\u0119';
catalog['Value too long! Truncated...'] = 'Warto\u015b\u0107 zbyt d\u0142uga! Skr\u00f3cono...';
catalog['Wait while another element is changed!'] = 'Zaczekaj chwil\u0119 podczas gdy element jest zmieniany!';
catalog['We\'re sorry but this location was not found...'] = 'Przepraszamy ale ta lokalizacja nie zosta\u0142a znaleziona';
catalog['You have to override handleGridderEvents!'] = 'Musisz nadpisa\u0107 handleGridderEvents!';
catalog['You\'ve already submitted this form...'] = 'Ju\u017c zatwierdzi\u0142e\u015b ten formularz...';


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

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

function gettext_noop(msgid) { return msgid; }

function interpolate(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())});
  }
}

