
/* gettext library */

var catalog = new Array();

function pluralidx(count) { return (count == 1) ? 0 : 1; }
catalog['%(sel)s of %(cnt)s selected'] = ['','',''];
catalog['%(sel)s of %(cnt)s selected'][0] = 'Zaznaczono %(sel)s z %(cnt)s';
catalog['%(sel)s of %(cnt)s selected'][1] = 'Zaznaczono %(sel)s z %(cnt)s';
catalog['%(sel)s of %(cnt)s selected'][2] = 'Zaznaczono %(sel)s z %(cnt)s';
catalog['6 a.m.'] = '6 rano';
catalog['Actions'] = 'Operacje';
catalog['Add new'] = 'Dodaj nowy';
catalog['Add'] = 'Dodaj';
catalog['Are you sure that you want to continue redirect to other page. Your changes could be lost.'] = 'Jeste\u015b pewnien, \u017ce chcesz by\u0107 przekierowany na inny widok. Twoje zmiany mog\u0105 zosta\u0107 utracone.';
catalog['Are you sure you want to delete this workout atom?\nIt will be removed from all your workouts!'] = 'Czy na pewno usun\u0105\u0107 definicj\u0119 cz\u0119\u015bci treningu?\nTa cz\u0119\u015b\u0107 mog\u0142a by\u0107 wykorzystana w innych, wcze\u015bniejszych treningach.';
catalog['Available %s'] = 'Dost\u0119pne %s';
catalog['Calendar'] = 'Kalendarz';
catalog['Calories field has value already. Are you sure that you want to calculate calories field value again?'] = 'Pole kalorie ma ju\u017c ustalon\u0105 warto\u015b\u0107. Jeste\u015b pewnien, \u017ce chcesz obliczy\u0107 warto\u015b\u0107 kalorii ponownie?';
catalog['Cancel'] = 'Anuluj';
catalog['Choose a time'] = 'Wybierz czas';
catalog['Choose all'] = 'Wybierz wszystko';
catalog['Chosen %s'] = 'Wybrano %s';
catalog['Clear all'] = 'Wyczy\u015b\u0107 wszystko';
catalog['Clock'] = 'Zegar';
catalog['Color'] = 'Kolor';
catalog['Create'] = 'Utw\u00f3rz';
catalog['Discard changes'] = 'Odrzu\u0107 zmiany';
catalog['Element of training'] = 'Element treningu';
catalog['Filter'] = 'Filtr';
catalog['Hide'] = 'Ukryj';
catalog['Insert'] = 'Wstaw';
catalog['January February March April May June July August September October November December'] = 'Stycze\u0144 Luty Marzec Kwiecie\u0144 Maj Czerwiec Lipiec Sierpie\u0144 Wrzesie\u0144 Pa\u017adziernik Listopad Grudzie\u0144';
catalog['Midnight'] = 'P\u00f3\u0142noc';
catalog['Noon'] = 'Po\u0142udnie';
catalog['Now'] = 'Teraz';
catalog['Parts of the workout'] = 'Cz\u0119\u015bci / elementy treningu';
catalog['Please save this item before selecting'] = 'Ten element nale\u017cy zapisa\u0107 zanim zostanie zaznaczony';
catalog['Remove'] = 'Usu\u0144';
catalog['Reply to This Post'] = 'Odpowiedz na wpis';
catalog['S M T W T F S'] = 'N Pn Wt \u015ar Cz Pt So';
catalog['Save'] = 'Zapisz';
catalog['Select your choice(s) and click '] = 'Zaznacz sw\u00f3j wyb\u00f3r i kliknij ';
catalog['Select'] = 'Wybierz';
catalog['Show'] = 'Poka\u017c';
catalog['Stop Replying to This Post'] = 'Rezynuj\u0119 z odpowiedzi';
catalog['Sunday Monday Tuesday Wednesday Thursday Friday Saturday'] = 'Niedziela Poniedzia\u0142ek Wtorek \u015aroda Czwartek Pi\u0105tek Sobota';
catalog['There are non-saved items in the list.\nAre you sure you want to continue? Your changes will be lost.'] = 'Niekt\u00f3re elementy nie zosta\u0142y zapisane.\nCzy na pewno chcesz kontynuowa\u0107? Twoje zmiany zostan\u0105 utracone.';
catalog['Today'] = 'Dzisiaj';
catalog['Tomorrow'] = 'Jutro';
catalog['Use `drag and drop` to change positions.'] = 'Przeci\u0105gnij i upu\u015b\u0107 aby zmieni\u0107 kolejno\u015b\u0107.';
catalog['Yesterday'] = 'Wczoraj';
catalog['You didn\'t select any item. If you want to close the window please press Cancel button.'] = 'Nie zosta\u0142 zaznaczony \u017caden element. \nZaznacz element i pon\u00f3w pr\u00f3b\u0119 lub zamknij okno wybieraj\u0105\u0107 `Anuluj`.';
catalog['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.'] = 'Wybrano akcj\u0119, lecz nie dokonano \u017cadnych zmian. Prawdopodobnie szukasz przycisku "Wykonaj" (a nie "Zapisz")';
catalog['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.'] = 'Wybrano akcj\u0119, lecz cz\u0119\u015b\u0107 zmian w polach nie zosta\u0142a zachowana. Kliknij OK aby zapisa\u0107. Aby wykona\u0107 akcj\u0119, nale\u017cy j\u0105 ponownie uruchomi\u0107.';
catalog['You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.'] = 'Zmiany w niekt\u00f3rych polach nie zosta\u0142y zachowane. Po wykonaniu akcji zmiany te zostan\u0105 utracone.';
catalog['close'] = 'zamknij';


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 pgettext(context, msgid) {
  var value = gettext(context + '' + msgid);
  if (value.indexOf('') != -1) {
    value = msgid;
  }
  return value;
}

function npgettext(context, singular, plural, count) {
  var value = ngettext(context + '' + singular, context + '' + plural, count);
  if (value.indexOf('') != -1) {
    value = ngettext(singular, plural, count);
  }
  return value;
}

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

/* formatting library */

var formats = new Array();

formats['DATETIME_FORMAT'] = 'N j, Y, P';
formats['DATE_FORMAT'] = 'Y-m-d';
formats['DECIMAL_SEPARATOR'] = '.';
formats['MONTH_DAY_FORMAT'] = 'F j';
formats['NUMBER_GROUPING'] = '0';
formats['TIME_FORMAT'] = 'P';
formats['FIRST_DAY_OF_WEEK'] = '1';
formats['TIME_INPUT_FORMATS'] = ['%H:%M:%S', '%H:%M'];
formats['THOUSAND_SEPARATOR'] = ',';
formats['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'];
formats['YEAR_MONTH_FORMAT'] = 'F Y';
formats['SHORT_DATE_FORMAT'] = 'm/d/Y';
formats['SHORT_DATETIME_FORMAT'] = 'm/d/Y P';
formats['DATETIME_INPUT_FORMATS'] = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y'];

function get_format(format_type) {
    var value = formats[format_type];
    if (typeof(value) == 'undefined') {
      return msgid;
    } else {
      return value;
    }
}

