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

  
  django.pluralidx = function(n) {
    const v = (n > 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 de %(cnt)s selecionado",
      "%(sel)s de %(cnt)s selecionados"
    ],
    "%s selected option not visible": [
      "%s op\u00e7\u00e3o selecionada n\u00e3o vis\u00edvel",
      "%s op\u00e7\u00f5es selecionadas n\u00e3o vis\u00edveis"
    ],
    "6 a.m.": "6 a.m.",
    "6 p.m.": "6 p.m.",
    "Actions": "A\u00e7\u00f5es",
    "Add a comment": "Adicionar um coment\u00e1rio",
    "Alt text": "Texto alternativo",
    "April": "Abril",
    "Are you sure?": "Tem a certeza?",
    "August": "Agosto",
    "Available %s": "Dispon\u00edvel %s",
    "Broken link": "Link quebrado",
    "Cancel": "Cancelar",
    "Change %s": "Mudar %s",
    "Change document": "Mudar documento",
    "Change image": "Mudar imagem",
    "Change page": "Mudar p\u00e1gina",
    "Changed": "Mudado",
    "Choose a %s": "Escolher um %s",
    "Choose a Date": "Escolha a Data",
    "Choose a Time": "Escolha a Hora",
    "Choose a document": "Escolher um documento",
    "Choose a page": "Escolher uma p\u00e1gina",
    "Choose a time": "Escolha a hora",
    "Choose an image": "Escolher uma imagem",
    "Chosen %s": "Escolhido %s",
    "Close": "Fechar",
    "Comment": "Comentar",
    "Convert to alias page": "Converter em p\u00e1gina de atalho",
    "Dashboard": "Painel de controlo",
    "December": "Dezembro",
    "Decorative image": "Imagem decorativa",
    "Delete": "Apagar",
    "Delete error": "Apagar erro",
    "Download PO file": "Descarregar ficheiro PO",
    "Download PO file and input translations offline": "Descarregar ficheiro PO e introduzir tradu\u00e7\u00f5es em offline",
    "Edit": "Alterar",
    "Edit '%(title)s'": "Alterar '%(title)s'",
    "Edit this %s": "Alterar este %s",
    "Edit this document": "Alterar este documento",
    "Edit this image": "Alterar esta imagem",
    "Edit this page": "Alterar esta p\u00e1gina",
    "February": "Fevereiro",
    "Fetching %s information...": "A obter informa\u00e7\u00e3o %s...",
    "Fetching document information...": "A obter informa\u00e7\u00e3o do documento...",
    "Fetching image information...": "A obter informa\u00e7\u00e3o da imagem...",
    "Fetching page information...": "A obter informa\u00e7\u00e3o da p\u00e1gina...",
    "Filter": "Filtrar",
    "Focus comment": "Colocar enfoque no coment\u00e1rio",
    "Friday": "Sexta-feira",
    "Horizontal line": "Linha horizontal",
    "January": "Janeiro",
    "July": "Julho",
    "June": "Junho",
    "Line break": "Quebra de linha",
    "Loading\u2026": "A carregar...",
    "Lock": "Bloquear",
    "Main menu": "Menu principal",
    "March": "Mar\u00e7o",
    "May": "Maio",
    "Midnight": "Meia-noite",
    "Missing document": "Documento em falta",
    "Monday": "Segunda-feira",
    "More actions": "Mais a\u00e7\u00f5es",
    "No results": "Sem resultados",
    "Noon": "Meio-dia",
    "Not translated": "Por traduzir",
    "Note: You are %s hour ahead of server time.": [
      "Nota: O seu fuso hor\u00e1rio est\u00e1 %s hora adiantado em rela\u00e7\u00e3o ao servidor.",
      "Nota: O seu fuso hor\u00e1rio est\u00e1 %s horas adiantado em rela\u00e7\u00e3o ao servidor."
    ],
    "Note: You are %s hour behind server time.": [
      "Nota: O use fuso hor\u00e1rio est\u00e1 %s hora atrasado em rela\u00e7\u00e3o ao servidor.",
      "Nota: O use fuso hor\u00e1rio est\u00e1 %s horas atrasado em rela\u00e7\u00e3o ao servidor."
    ],
    "November": "Novembro",
    "Now": "Agora",
    "October": "Outubro",
    "Page": "P\u00e1gina",
    "Page explorer": "Explorador de p\u00e1ginas",
    "Pages": "P\u00e1ginas",
    "Preview": "Visualizar",
    "Publish in ": "Publicar em",
    "Publishing...": "A publicar...",
    "Reload saved content": "Recarregar conte\u00fado gravado",
    "Reload the page": "Recarregar p\u00e1gina",
    "Reply": "Responder",
    "Report this error to your website administrator with the following information:": "Reporte este erro ao administrador do seu site, incluindo a seguinte informa\u00e7\u00e3o:",
    "Resolve": "Resolver",
    "Retry": "Tentar novamente",
    "Revert to %s version": "Reverter \u00e0 vers\u00e3o %s ",
    "Saturday": "S\u00e1bado",
    "Save": "Gravar",
    "Save error": "Gravar erro",
    "Save the page to add this comment": "Grave a p\u00e1gina para adicionar este coment\u00e1rio",
    "Save the page to save this comment": "Grave a p\u00e1gina para gravar este coment\u00e1rio",
    "Save the page to save this reply": "Grave a p\u00e1gina para gravar esta resposta",
    "Saving...": "A gravar...",
    "Search": "Pesquisar",
    "See all": "Ver todos",
    "September": "Setembro",
    "Server Error": "Erro de servidor",
    "Server error": "Erro de servidor",
    "Show error": "Mostrar erro",
    "Show latest content": "Mostrar \u00faltimo conte\u00fado",
    "Sorry, there seems to be an error. Please try again soon.": "Desculpe, parece haver um erro. Por favor tente novamente em breve.",
    "Stop Synced translation": "Parar tradu\u00e7\u00e3o Sincronizada",
    "Sunday": "Domingo",
    "The editor just crashed. Content has been reset to the last saved version.": "O editor crashou. O conte\u00fado foi resposto na \u00faltima vers\u00e3o gravada.",
    "The maximum number of items is %(max_num)d": "O numero m\u00e1ximo de itens \u00e9 %(max_num)d",
    "The minimum number of items is %(min_num)d": "O n\u00famero m\u00ednimo de itens \u00e9 %(min_num)d",
    "There are unsaved segments. Please save or cancel them before leaving.": "Existem segmentos por gravar. Grave ou cancele-os antes de sair.",
    "This field is required.": "Este campo \u00e9 obrigat\u00f3rio.",
    "Thursday": "Quinta-feira",
    "Today": "Hoje",
    "Toggle sidebar": "Alternar estado da barra lateral",
    "Tomorrow": "Amanh\u00e3",
    "Translate": "Traduzir",
    "Translate all missing strings with ": "Traduzir todos os segmentos de texto em falta com",
    "Translate with ": "Traduzir com",
    "Tuesday": "Ter\u00e7a-feira",
    "Type into this box to filter down the list of available %s.": "Digite nesta caixa para filtrar a lista de %s dispon\u00edveis.",
    "Type into this box to filter down the list of selected %s.": "Digite nesta caixa para filtrar a lista de selecionados %s.",
    "Unfocus comment": "Tirar enfoque do coment\u00e1rio",
    "Unlock": "Desbloquear",
    "Unpublish": "Despublicar",
    "Upload PO file": "Carregar ficheiro PO",
    "Upload translated PO file to submit translations": "Carregar ficheiro PO traduzido para enviar tradu\u00e7\u00f5es",
    "Uses %s version": "Utiliza a vers\u00e3o %s",
    "View child pages of '%(title)s'": "Ver p\u00e1ginas-filha de '%(title)s'",
    "Wednesday": "Quarta-feira",
    "Yesterday": "Ontem",
    "You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.": "Tem mudan\u00e7as por guardar nos campos individuais. Se usar uma a\u00e7\u00e3o, as suas mudan\u00e7as por guardar ser\u00e3o perdidas.",
    "[DELETED]": "[APAGADO]",
    "abbrev. day Friday\u0004Fri": "Sex",
    "abbrev. day Monday\u0004Mon": "Seg",
    "abbrev. day Saturday\u0004Sat": "S\u00e1b",
    "abbrev. day Sunday\u0004Sun": "Dom",
    "abbrev. day Thursday\u0004Thur": "Qui",
    "abbrev. day Tuesday\u0004Tue": "Ter",
    "abbrev. day Wednesday\u0004Wed": "Qua",
    "abbrev. month April\u0004Apr": "Abr",
    "abbrev. month August\u0004Aug": "Ago",
    "abbrev. month December\u0004Dec": "Dez",
    "abbrev. month February\u0004Feb": "Fev",
    "abbrev. month January\u0004Jan": "Jan",
    "abbrev. month July\u0004Jul": "Jul",
    "abbrev. month June\u0004Jun": "Jun",
    "abbrev. month March\u0004Mar": "Mar",
    "abbrev. month May\u0004May": "Mai",
    "abbrev. month November\u0004Nov": "Nov",
    "abbrev. month October\u0004Oct": "Out",
    "abbrev. month September\u0004Sep": "Set",
    "one letter Friday\u0004F": "S",
    "one letter Monday\u0004M": "S",
    "one letter Saturday\u0004S": "S",
    "one letter Sunday\u0004S": "D",
    "one letter Thursday\u0004T": "Q",
    "one letter Tuesday\u0004T": "T",
    "one letter Wednesday\u0004W": "Q",
    "segments translated": "segmentos traduzidos"
  };
  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 \\d\\e F \\d\\e Y \u00e0\\s H:i",
    "DATETIME_INPUT_FORMATS": [
      "%Y-%m-%d %H:%M:%S",
      "%Y-%m-%d %H:%M:%S.%f",
      "%Y-%m-%d %H:%M",
      "%d/%m/%Y %H:%M:%S",
      "%d/%m/%Y %H:%M:%S.%f",
      "%d/%m/%Y %H:%M",
      "%d/%m/%y %H:%M:%S",
      "%d/%m/%y %H:%M:%S.%f",
      "%d/%m/%y %H:%M",
      "%Y-%m-%d"
    ],
    "DATE_FORMAT": "j \\d\\e F \\d\\e Y",
    "DATE_INPUT_FORMATS": [
      "%Y-%m-%d",
      "%d/%m/%Y",
      "%d/%m/%y"
    ],
    "DECIMAL_SEPARATOR": ",",
    "FIRST_DAY_OF_WEEK": 0,
    "MONTH_DAY_FORMAT": "j \\d\\e 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:%S",
      "%H:%M:%S.%f",
      "%H:%M"
    ],
    "YEAR_MONTH_FORMAT": "F \\d\\e 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;
  }
};

