
/* gettext library */

var catalog = new Array();

function pluralidx(n) {
  var v=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;
  if (typeof(v) == 'boolean') {
    return v ? 1 : 0;
  } else {
    return v;
  }
}
catalog['%(sel)s of %(cnt)s selected'] = ['','',''];
catalog['item'] = ['','',''];
catalog['%s pc in cart'] = ['','',''];
catalog['%(sel)s of %(cnt)s selected'][0] = 'Vybr\u00e1na je %(sel)s polo\u017eka z celkem %(cnt)s.';
catalog['%(sel)s of %(cnt)s selected'][1] = 'Vybr\u00e1ny jsou %(sel)s polo\u017eky z celkem %(cnt)s.';
catalog['%(sel)s of %(cnt)s selected'][2] = 'Vybran\u00fdch je %(sel)s polo\u017eek z celkem %(cnt)s.';
catalog['%s pc in cart'][0] = '%s kus v ko\u0161\u00edku';
catalog['%s pc in cart'][1] = '%s kusy v ko\u0161\u00edku';
catalog['%s pc in cart'][2] = '%s kus\u016f v ko\u0161\u00edku';
catalog['6 a.m.'] = '6h r\u00e1no';
catalog['Are you sure you want to change tabs without saving the page first?'] = 'Ur\u010dit\u011b chcete zm\u011bnit z\u00e1lo\u017eku bez ulo\u017een\u00ed zm\u011bn?';
catalog['Are you sure you want to change the %(field_name)s without saving the page first?'] = 'Opravdu chcete zm\u011bnit %(field_name)s bez ulo\u017een\u00ed zm\u011bn?';
catalog['Are you sure you want to delete this plugin?'] = 'Ur\u010dit\u011b chcete smazat tento typ obsahu?';
catalog['Available %s'] = 'Dostupn\u00e9 polo\u017eky: %s';
catalog['Calendar'] = 'Kalend\u00e1\u0159';
catalog['Cancel'] = 'Storno';
catalog['Choose a time'] = 'Vyberte \u010das';
catalog['Choose all'] = 'Vybrat v\u0161e';
catalog['Choose'] = 'Vybrat';
catalog['Chosen %s'] = 'Vybran\u00e9 polo\u017eky %s';
catalog['Click to choose all %s at once.'] = 'Chcete-li najednou vybrat v\u0161echny polo\u017eky %s, klepn\u011bte sem.';
catalog['Click to remove all chosen %s at once.'] = 'Chcete-li najednou odebrat v\u0161echny vybran\u00e9 polo\u017eky %s, klepn\u011bte sem.';
catalog['Clock'] = 'Hodiny';
catalog['Filter'] = 'Filtr';
catalog['Hide'] = 'Skr\u00fdt';
catalog['January February March April May June July August September October November December'] = 'leden \u00fanor b\u0159ezen duben kv\u011bten \u010derven \u010dervenec srpen z\u00e1\u0159\u00ed \u0159\u00edjen listopad prosinec';
catalog['Midnight'] = 'P\u016flnoc';
catalog['Noon'] = 'Poledne';
catalog['Not all plugins are saved. Are you sure you want to save the page?\nAll unsaved plugin content will tried to save.'] = 'Ne v\u0161echny dopl\u0148ky jsou ulo\u017eeny. Jste si jisti \u017ee chcete ulo\u017eit tuto str\u00e1nku? Neulo\u017een\u00fd obsah v\u0161ech dopl\u0148k\u016f se pokus\u00edme zachr\u00e1nit';
catalog['Now'] = 'Nyn\u00ed';
catalog['Remove all'] = 'Odebrat v\u0161e';
catalog['Remove'] = 'Odebrat';
catalog['S M T W T F S'] = 'n p \u00fa s \u010d p s';
catalog['Show'] = 'Zobrazit';
catalog['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.'] = 'Seznam dostupn\u00fdch polo\u017eek %s. Jednotliv\u011b je lze vybrat tak, \u017ee na n\u011b v r\u00e1me\u010dku klepnete a pak klepnete na \u0161ipku "Vybrat" mezi r\u00e1me\u010dky.';
catalog['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.'] = 'Seznam vybran\u00fdch polo\u017eek %s. Jednotliv\u011b je lze odebrat tak, \u017ee na n\u011b v r\u00e1me\u010dku klepnete a pak klepnete na \u0161ipku "Odebrat mezi r\u00e1me\u010dky.';
catalog['Today'] = 'Dnes';
catalog['Tomorrow'] = 'Z\u00edtra';
catalog['Type into this box to filter down the list of available %s.'] = 'Chcete-li filtrovat ze seznamu dostupn\u00fdch polo\u017eek %s, za\u010dn\u011bte ps\u00e1t do tohoto pole.';
catalog['Yesterday'] = 'V\u010dera';
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.'] = 'Byla vybr\u00e1na operace a jednotliv\u00e1 pole nejsou zm\u011bn\u011bn\u00e1. Patrn\u011b hled\u00e1te tla\u010d\u00edtko Prov\u00e9st sp\u00ed\u0161e ne\u017e Ulo\u017eit.';
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.'] = 'Byla vybr\u00e1na operace, ale dosud nedo\u0161lo k ulo\u017een\u00ed zm\u011bn jednotliv\u00fdch pol\u00ed. Ulo\u017e\u00edte klepnut\u00edm na tla\u010d\u00edtko OK. Pak bude t\u0159eba operaci spustit znovu.';
catalog['You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.'] = 'V jednotliv\u00fdch pol\u00edch jsou neulo\u017een\u00e9 zm\u011bny, kter\u00e9 budou ztraceny, pokud operaci provedete.';
catalog['item'][0] = 'polo\u017eka';
catalog['item'][1] = 'polo\u017eky';
catalog['item'][2] = 'polo\u017eek';


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 + '\x04' + msgid);
  if (value.indexOf('\x04') != -1) {
    value = msgid;
  }
  return value;
}

function npgettext(context, singular, plural, count) {
  var value = ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
  if (value.indexOf('\x04') != -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'] = 'd.m.Y H:i:s';
formats['DATE_FORMAT'] = 'd.m.Y';
formats['DECIMAL_SEPARATOR'] = ',';
formats['MONTH_DAY_FORMAT'] = 'j. F';
formats['NUMBER_GROUPING'] = '3';
formats['TIME_FORMAT'] = 'G:i:s';
formats['FIRST_DAY_OF_WEEK'] = '1';
formats['TIME_INPUT_FORMATS'] = ['%H:%M:%S', '%H.%M', '%H:%M'];
formats['THOUSAND_SEPARATOR'] = '\u00a0';
formats['DATE_INPUT_FORMATS'] = ['%d.%m.%Y', '%d.%m.%y', '%d. %m. %Y', '%d. %m. %y', '%Y-%m-%d'];
formats['YEAR_MONTH_FORMAT'] = 'F Y';
formats['SHORT_DATE_FORMAT'] = 'd.m.Y';
formats['SHORT_DATETIME_FORMAT'] = 'd.m.Y G:i:s';
formats['DATETIME_INPUT_FORMATS'] = ['%d.%m.%Y %H:%M:%S', '%d.%m.%Y %H.%M', '%d.%m.%Y %H:%M', '%d.%m.%Y', '%d. %m. %Y %H:%M:%S', '%d. %m. %Y %H.%M', '%d. %m. %Y %H:%M', '%d. %m. %Y', '%Y-%m-%d %H.%M', '%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d'];

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