

'use strict';
{
  const globals = this;
  const django = globals.django || (globals.django = {});

  
  django.pluralidx = function(n) {
    const v = (n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));
    if (typeof v === 'boolean') {
      return v ? 1 : 0;
    } else {
      return v;
    }
  };
  

  /* gettext library */

  django.catalog = django.catalog || {};
  
  const newcatalog = {
    "!": "!",
    "%(sel)s of %(cnt)s selected": [
      "%(sel)s din %(cnt)s selectate",
      "%(sel)s din %(cnt)s selectate",
      "de %(sel)s din %(cnt)s selectate"
    ],
    "6 a.m.": "6 a.m.",
    "6 p.m.": "6 p.m.",
    "An error occurred!": "A ap\u0103rut o eroare!",
    "Approximately you are here!": "Aproximativ v\u0103 afla\u021bi aici!",
    "April": "Aprilie",
    "At least five decimals should be specified!": "Separator zecimale incorect sau nr.zecimale insuficiente (minim 5)!",
    "August": "August",
    "Available %s": "%s disponibil",
    "Cancel": "Anulare",
    "Choose": "Alege",
    "Choose a Date": "Alege o dat\u0103",
    "Choose a Time": "Alege o or\u0103",
    "Choose a time": "Alege o or\u0103",
    "Choose all": "Alege toate",
    "Chosen %s": "%s alese",
    "Circumference: ": "Circumferin\u021b\u0103: ",
    "Click to choose all %s at once.": "Click pentru a alege toate %s.",
    "Click to remove all chosen %s at once.": "Click pentru a elimina toate %s alese.",
    "Continue": "Continuare",
    "Continue?": "Continua\u021bi?",
    "December": "Decembrie",
    "Details": "Detalii",
    "Enter the tree circumference!": "Specifica\u021bi circumferin\u021ba arborelui!",
    "February": "Februarie",
    "Filter": "Filtru",
    "Finding your location...": "Identificarea loca\u021biei...",
    "For accurate recording:": "Pentru \u00eenregistrare corect\u0103:",
    "Has to be between 1920 - ": "Trebuie s\u0103 fie in intervalul 1920 - ",
    "Hide": "Ascunde",
    "Hide MENU": "Ascunde MENIUL",
    "Hide filters": "\u00cenchide filtrele",
    "Invalid e-mail address!": "Adres\u0103 de e-mail invalid\u0103!",
    "Invalid latitude!": "Latitudine incorect\u0103!",
    "Invalide longitude!": "Longitudine incorect\u0103!",
    "Invalide number!": "Num\u0103r incorect!",
    "January": "Ianuarie",
    "July": "Iulie",
    "June": "Iunie",
    "Lat: ": "Lat: ",
    "Lng: ": "Lng: ",
    "Loading...": "Se \u00eencarc\u0103...",
    "Locality: ": "Localitate: ",
    "March": "Martie",
    "May": "Mai",
    "Midnight": "Miezul nop\u021bii",
    "No": "Nu",
    "Noon": "Amiaz\u0103",
    "Note: You are %s hour ahead of server time.": [
      "Not\u0103: Sunte\u021bi cu %s or\u0103 \u00eenaintea orei serverului.",
      "Not\u0103: Sunte\u021bi cu %s ore \u00eenaintea orei serverului.",
      "Not\u0103: Sunte\u021bi cu %s de ore \u00eenaintea orei serverului."
    ],
    "Note: You are %s hour behind server time.": [
      "Not\u0103: Sunte\u021bi cu %s or\u0103 \u00een urma orei serverului.",
      "Not\u0103: Sunte\u021bi cu %s ore \u00een urma orei serverului.",
      "Not\u0103: Sunte\u021bi cu %s de ore \u00een urma orei serverului."
    ],
    "November": "Noiembrie",
    "Now": "Acum",
    "October": "Octombrie",
    "Password must be a minimum of 6 characters!": "Parola trebuie s\u0103 con\u021bin\u0103 minim 6 caractere!",
    "Passwords has to be identical!": "Cele dou\u0103 parole trebuie s\u0103 fie identice!",
    "Please enter a valid value between 10 and 1600 centimeter!": "Minim 10 cm, maxim 1600 cm!",
    "Please enter the latitude!": "Introduce\u021bi latitudinea!",
    "Please enter the longitude!": "Introduce\u021bi longitudinea!",
    "Please select a species!": "Alege\u021bi specia arborelui!",
    "Please upload a photo!": "\u00cenc\u0103rca\u021bi o poz\u0103 despre arbore!",
    "Position unavailable! Network is down or the positioning satellites can't be contacted.": "Localizare e\u0219uat\u0103! Lips\u0103 semnal/re\u021bea sau sateli\u021bii de pozi\u021bionare nu pot fi contacta\u021bi.",
    "Record": "\u00cenregistrare",
    "Record a tree": "\u00cenregistrare arbore",
    "Remove": "Elimin\u0103",
    "Remove all": "Elimin\u0103 toate",
    "Save": "Salveaz\u0103",
    "Saved succesfully": "Salvat cu succes",
    "September": "Septembrie",
    "Show": "Arat\u0103",
    "Show MENU": "Arat\u0103 MENIUL",
    "Show filters": "Arat\u0103 filtrele",
    "Size: ": "Circumferin\u021b\u0103: ",
    "Species: ": "Specie: ",
    "The network is up but it takes too long to calculate the position!": "Re\u021beaua este disponibil\u0103, \u00eens\u0103 dureaz\u0103 prea mult calcularea pozi\u021biei.",
    "This field is required!": "Acest c\u00e2mp este obligatoriu!",
    "This is not a valid number!": "Num\u0103r incorect!",
    "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.": "Aceasta este o list\u0103 cu %s disponibile. Le pute\u021bi alege select\u00e2nd mai multe in chenarul de mai jos \u0219i ap\u0103s\u00e2nd pe s\u0103geata \"Alege\" dintre cele dou\u0103 chenare.",
    "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.": "Aceasta este lista de %s alese. Pute\u021bi elimina din ele select\u00e2ndu-le in chenarul de mai jos \u0219i apasand pe s\u0103geata \"Elimin\u0103\" dintre cele dou\u0103 chenare.",
    "Today": "Ast\u0103zi",
    "Tomorrow": "M\u00e2ine",
    "Tree no.: ": "Nr. arbore: ",
    "Type into this box to filter down the list of available %s.": "Scrie \u00een acest chenar pentru a filtra lista de %s disponibile.",
    "Unknown error": "Eroare necunoscut\u0103",
    "User did not share geolocation data!": "Utilizatorul nu a partajat datele de localizare geografic\u0103!",
    "Values has to be between [20.24000 - 29.72000]!": "Longitudinea trebuie s\u0103 fie \u00een intervalul [20.24000 - 29.72000]!",
    "Values has to be between [43.61000 - 48.30000]!": "Latitudinea trebuie s\u0103 fie \u00een intervalul [43.61000 - 48.30000]!",
    "Wrong result!": "Rezultat gre\u0219it!",
    "Yes": "Da",
    "Yesterday": "Ieri",
    "You have selected an action, and you haven\u2019t made any changes on individual fields. You\u2019re probably looking for the Go button rather than the Save button.": "Ai selectat o ac\u021biune \u0219i nu ai f\u0103cut modific\u0103ri. Probabil c\u0103 dore\u0219ti butonul de Go mai putin cel de Salveaz\u0103.",
    "You have selected an action, but you haven\u2019t saved your changes to individual fields yet. Please click OK to save. You\u2019ll need to re-run the action.": "Ai selectat o ac\u021biune dar nu ai salvat modific\u0103rile f\u0103cute \u00een c\u00e2mpuri individuale. Te rug\u0103m apasa Ok pentru a salva. Va trebui sa reiei ac\u021biunea.",
    "You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.": "Ave\u0163i modific\u0103ri nesalvate \u00een c\u00eempuri individuale editabile. Dac\u0103 executa\u0163i o ac\u021biune, modific\u0103rile nesalvate vor fi pierdute.",
    "drag the marker over the tree, or just simply click on it": "trage\u021bi markerul pe copac, sau pur \u0219i simplu, face\u021bi clic pe ea",
    "locate your tree on the map": "localiza\u021bi arborele pe hart\u0103",
    "one letter Friday\u0004F": "V",
    "one letter Monday\u0004M": "L",
    "one letter Saturday\u0004S": "S",
    "one letter Sunday\u0004S": "D",
    "one letter Thursday\u0004T": "J",
    "one letter Tuesday\u0004T": "M",
    "one letter Wednesday\u0004W": "M"
  };
  for (const key in newcatalog) {
    django.catalog[key] = newcatalog[key];
  }
  

  if (!django.jsi18n_initialized) {
    django.gettext = function(msgid) {
      const value = django.catalog[msgid];
      if (typeof value === 'undefined') {
        return msgid;
      } else {
        return (typeof value === 'string') ? value : value[0];
      }
    };

    django.ngettext = function(singular, plural, count) {
      const value = django.catalog[singular];
      if (typeof value === 'undefined') {
        return (count == 1) ? singular : plural;
      } else {
        return value.constructor === Array ? value[django.pluralidx(count)] : value;
      }
    };

    django.gettext_noop = function(msgid) { return msgid; };

    django.pgettext = function(context, msgid) {
      let value = django.gettext(context + '\x04' + msgid);
      if (value.includes('\x04')) {
        value = msgid;
      }
      return value;
    };

    django.npgettext = function(context, singular, plural, count) {
      let value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
      if (value.includes('\x04')) {
        value = django.ngettext(singular, plural, count);
      }
      return value;
    };

    django.interpolate = function(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 */

    django.formats = {
    "DATETIME_FORMAT": "j F Y, H:i",
    "DATETIME_INPUT_FORMATS": [
      "%d.%m.%Y, %H:%M",
      "%d.%m.%Y, %H:%M:%S",
      "%d.%B.%Y, %H:%M",
      "%d.%B.%Y, %H:%M:%S",
      "%Y-%m-%d %H:%M:%S",
      "%Y-%m-%d %H:%M:%S.%f",
      "%Y-%m-%d %H:%M",
      "%Y-%m-%d"
    ],
    "DATE_FORMAT": "j F Y",
    "DATE_INPUT_FORMATS": [
      "%d.%m.%Y",
      "%d.%b.%Y",
      "%d %B %Y",
      "%A, %d %B %Y",
      "%Y-%m-%d"
    ],
    "DECIMAL_SEPARATOR": ",",
    "FIRST_DAY_OF_WEEK": 1,
    "MONTH_DAY_FORMAT": "j F",
    "NUMBER_GROUPING": 3,
    "SHORT_DATETIME_FORMAT": "d.m.Y, H:i",
    "SHORT_DATE_FORMAT": "d.m.Y",
    "THOUSAND_SEPARATOR": ".",
    "TIME_FORMAT": "H:i",
    "TIME_INPUT_FORMATS": [
      "%H:%M",
      "%H:%M:%S",
      "%H:%M:%S.%f"
    ],
    "YEAR_MONTH_FORMAT": "F Y"
  };

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

    /* add to global namespace */
    globals.pluralidx = django.pluralidx;
    globals.gettext = django.gettext;
    globals.ngettext = django.ngettext;
    globals.gettext_noop = django.gettext_noop;
    globals.pgettext = django.pgettext;
    globals.npgettext = django.npgettext;
    globals.interpolate = django.interpolate;
    globals.get_format = django.get_format;

    django.jsi18n_initialized = true;
  }
};

