/* gettext library */

var catalog = new Array();

function pluralidx(count) { return (count == 1) ? 0 : 1; }
catalog['At %s-%s-%s %s available'] = 'Op %s-%s-%s %s beschikbaar';
catalog['Elke dag de beste vakantie aanbieding'] = 'Elke dag de beste vakantie aanbieding';
catalog['Our apologies, an error has occurred.\\n\\nPlease contact Travelbird.nl and mention error code %s.'] = 'Onze excuses, er is een fout opgetreden.\n\nNeem a.u.b. contact op met Travelbird.nl en vermeld foutcode %s.';
catalog['Processing. Pleas wait.'] = 'Wordt verwerkt, moment aub.';
catalog['Remove'] = 'Verwijder';
catalog['Sluiten'] = 'Sluiten';
catalog['Thanks for your message. We will respond to you as soon as possible.'] = 'Bedankt voor je reactie. We komen zo snel mogelijk met een reactie bij je terug.';
catalog['Vandaag'] = 'Vandaag';
catalog['Verwijder deze optie'] = 'Verwijder deze optie';
catalog['Verwijderen'] = 'Verwijderen';
catalog['Verzilveren'] = 'Verzilver';
catalog['You can add %s more adults.'] = 'Je kunt nog %s volwassenen toevoegen.';
catalog['You can add %s more persons.'] = 'Je kunt nog %s personen toevoegen.';
catalog['You can add one more adult.'] = 'Je kunt nog 1 volwassene toevoegen.';
catalog['You can add one more person.'] = 'Je kunt nog 1 persoon toevoegen.';
catalog['You have reached the maximum allowed number of adults.'] = 'Je hebt het maximaal aantal volwassenen bereikt.';
catalog['You have reached the maximum allowed number of persons.'] = 'Je hebt het maximaal aantal personen bereikt.';
catalog['You have selected %s adults too many.'] = 'Je hebt %s volwassenen teveel geselecteerd.';
catalog['You have selected %s persons too many.'] = 'Je hebt %s personen teveel geselecteerd.';
catalog['You have selected one adult too many.'] = 'Je hebt 1 volwassene teveel geselecteerd.';
catalog['You have selected one person too many.'] = 'Je hebt 1 persoon teveel geselecteerd.';
catalog['You was logged out. Please login again.'] = 'U bent uitgelogd, log alstublieft opnieuw in.';
catalog['apr'] = 'apr';
catalog['april'] = 'april';
catalog['aug'] = 'aug';
catalog['augustus'] = 'augustus';
catalog['available'] = 'beschikbaar';
catalog['beschikbaar'] = 'beschikbaar';
catalog['dec'] = 'dec';
catalog['december'] = 'december';
catalog['di'] = 'di';
catalog['din'] = 'din';
catalog['dinsdag'] = 'dinsdag';
catalog['do'] = 'do';
catalog['don'] = 'don';
catalog['donderdag'] = 'donderdag';
catalog['feb'] = 'feb';
catalog['februari'] = 'februari';
catalog['jan'] = 'jan';
catalog['januari'] = 'januari';
catalog['jul'] = 'jun';
catalog['juli'] = 'juli';
catalog['jun'] = 'jun';
catalog['juni'] = 'juni';
catalog['ma'] = 'ma';
catalog['maa'] = 'maa';
catalog['maandag'] = 'maandag';
catalog['maart'] = 'maart';
catalog['mei'] = 'mei';
catalog['min'] = 'min';
catalog['nov'] = 'nov';
catalog['november'] = 'november';
catalog['okt'] = 'okt';
catalog['oktober'] = 'oktober';
catalog['sec'] = 'sec';
catalog['sep'] = 'sep';
catalog['september'] = 'september';
catalog['surcharge'] = 'toeslag';
catalog['uren'] = 'uren';
catalog['uur'] = 'uur';
catalog['vr'] = 'vr';
catalog['vri'] = 'vri';
catalog['vrijdag'] = 'vrijdag';
catalog['wo'] = 'wo';
catalog['woe'] = 'woe';
catalog['woensdag'] = 'woensdag';
catalog['za'] = 'za';
catalog['zat'] = 'zat';
catalog['zaterdag'] = 'zaterdag';
catalog['zo'] = 'zo';
catalog['zon'] = 'zon';
catalog['zondag'] = 'zondag';


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'] = 'N j, Y';
formats['DECIMAL_SEPARATOR'] = '.';
formats['MONTH_DAY_FORMAT'] = 'F j';
formats['NUMBER_GROUPING'] = '0';
formats['TIME_FORMAT'] = 'P';
formats['FIRST_DAY_OF_WEEK'] = '0';
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;
    }
}

