
/* gettext library */

var catalog = new Array();

function pluralidx(n) {
  var v=n>1;
  if (typeof(v) == 'boolean') {
    return v ? 1 : 0;
  } else {
    return v;
  }
}
catalog[' You will be reimbursed if the project assignee accepts the cancellation. The commission stays at your expense.'] = ' Vous serez rembours\u00e9 si le responsable accepte votre annulation. La commission reste \u00e0 votre charge.';
catalog[' You will still pay the commission, other amounts will be reimbursed if clients accept cancellation.'] = ' La commission reste \u00e0 votre charge, les autres sommes seront rembours\u00e9es si les clients acceptent l\'annulation.';
catalog[' out of '] = ' sur ';
catalog['Are you sure you want to cancel this task?'] = 'Etes vous s\u00fbr de vouloir annuler cette t\u00e2che ?';
catalog['Are you sure you want to cancel your bid?'] = 'Etes vous s\u00fbr de vouloir annuler votre participation ?';
catalog['Are you sure you want to delete this message permanently?'] = 'Etes-vous s\u00fbr de vouloir supprimer d\u00e9finitivement ce message ?';
catalog['Are you sure you want to delete this specification permanently?'] = 'Etes vous s\u00fbr de vouloir supprimer d\u00e9finitivement cette sp\u00e9cification ?';
catalog['Are you sure you want to delete this task permanently?'] = 'Etes-vous s\u00fbr de vouloir supprimer d\u00e9finitivement cette t\u00e2che ?';
catalog['Are you sure you want to deliver this task?'] = 'Etes-vous s\u00fbr de vouloir livrer cette t\u00e2che ?';
catalog['Are you sure you want to mark \''] = '\u00cates vous s\u00fbr de marquer \'';
catalog['Are you sure you want to start this task?'] = 'Etes-vous s\u00fbr de vouloir d\u00e9marrer cette t\u00e2che ?';
catalog['Are you sure you want to validate this task?'] = 'Etes-vous s\u00fbr de vouloir valider cette t\u00e2che ?';
catalog['Could not find object'] = 'Objet introuvable';
catalog['ERROR : '] = 'ERREUR : ';
catalog['Environment:'] = 'Environnement :';
catalog['Follow the project'] = 'Suivre le projet';
catalog['Forbidden : '] = 'Interdit : ';
catalog['Invalid amount'] = 'Montant invalide';
catalog['New task'] = 'Nouvelle t\u00e2che';
catalog['Phase0'] = 'Phase de conception';
catalog['Phase1'] = 'Phase de r\u00e9alisation';
catalog['Phase2'] = 'Phase de validation';
catalog['Please accept the Terms of Use'] = 'Merci d\'accepter les Conditions G\u00e9n\u00e9rales d\'Utilisation';
catalog['Please enter the release name:'] = 'Merci d\'indiquer le nom de la version :';
catalog['Please indicate the amount'] = 'Merci d\'indiquer le montant';
catalog['Please insert a title :'] = 'Merci d\'entrer un titre';
catalog['State0'] = 'Propos\u00e9';
catalog['State1'] = 'Accept\u00e9';
catalog['State2'] = 'D\u00e9marr\u00e9';
catalog['State3'] = 'Livr\u00e9';
catalog['State4'] = 'Termin\u00e9';
catalog['State99'] = 'Confus';
catalog['Stop following the project'] = 'Arreter de suivre le projet';
catalog['Thank you to enter a valid url address'] = 'Merci d\'entrer une adresse valide';
catalog['Unkown server error'] = 'Erreur inconnue';
catalog['What I did:'] = 'Ce que j\'ai fait :';
catalog['What happened:'] = 'Ce qui s\'est pass\u00e9 :';
catalog['What should happen:'] = 'Ce qui aurait d\u00fb se passer :';
catalog['You are about to lose your data'] = 'Vous \u00eates sur le point de perdre vos informations';
catalog['\' as done and work on \''] = '\' comme finie et travailler sur \'';
catalog['\' will be assigned to \''] = '\' seront assign\u00e9 \u00e0 \'';
catalog['\'. All unfinished tasks in \''] = '\'. Toutes les t\u00e2ches non finie dans \'';
catalog['assignee'] = 'responsable';
catalog['due_date'] = '\u00e9cheance';
catalog['loading...'] = 'chargement...';
catalog['offer'] = 'offre';
catalog['state'] = '\u00e9tat';
catalog['target'] = 'version';
catalog['title'] = 'titre';
catalog['x10'] = 'D';
catalog['x11'] = 'L';
catalog['x12'] = 'M';
catalog['x13'] = 'M';
catalog['x14'] = 'J';
catalog['x15'] = 'V';
catalog['x16'] = 'S';
catalog['x201'] = 'Janvier';
catalog['x202'] = 'F\u00e9vrier';
catalog['x203'] = 'Mars';
catalog['x204'] = 'Avril';
catalog['x205'] = 'Mai';
catalog['x206'] = 'Juin';
catalog['x207'] = 'Juillet';
catalog['x208'] = 'Ao\u00fbt';
catalog['x209'] = 'Septembre';
catalog['x210'] = 'Octobre';
catalog['x211'] = 'Novembre';
catalog['x212'] = 'D\u00e9cembre';


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

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