
/* gettext library */

var catalog = new Array();

function pluralidx(count) { return (count == 1) ? 0 : 1; }
catalog['6 a.m.'] = '6 Uhr';
catalog['Add'] = 'Hinzuf\u00fcgen';
catalog['Available %s'] = 'Verf\u00fcgbare %s';
catalog['Calendar'] = 'Kalender';
catalog['Cancel'] = 'Abbrechen';
catalog['Choose a time'] = 'Uhrzeit';
catalog['Choose all'] = 'Alles ausw\u00e4hlen';
catalog['Chosen %s'] = 'Ausgew\u00e4hlte %s';
catalog['Clear all'] = 'Alles abw\u00e4hlen';
catalog['Clock'] = 'Uhr';
catalog['Hide'] = 'Verbergen';
catalog['January February March April May June July August September October November December'] = 'Januar Februar M\u00e4rz April Mai Juni Juli August September Oktober November Dezember';
catalog['Midnight'] = 'Mitternacht';
catalog['Noon'] = 'Mittag';
catalog['Now'] = 'Jetzt';
catalog['Remove'] = 'Entfernen';
catalog['S M T W T F S'] = 'S M D M D F S';
catalog['Select your choice(s) and click '] = 'Gew\u00fcnschte Auswahl treffen und ';
catalog['Show'] = 'Anzeigen';
catalog['Sunday Monday Tuesday Wednesday Thursday Friday Saturday'] = 'Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag';
catalog['Today'] = 'Heute';
catalog['Tomorrow'] = 'Morgen';
catalog['Yesterday'] = 'Gestern';


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

