

(function (globals) {

  var django = globals.django || (globals.django = {});

  
  django.pluralidx = function (n) {
    var v=(n != 1);
    if (typeof(v) == 'boolean') {
      return v ? 1 : 0;
    } else {
      return v;
    }
  };
  

  
  /* gettext library */

  django.catalog = {
    "%(sel)s of %(cnt)s selected": [
      "seleccionado %(sel)s de %(cnt)s ", 
      "seleccionados %(sel)s de %(cnt)s"
    ], 
    "6 a.m.": "6 a.m.", 
    "About this Map": "Acerca de este Mapa", 
    "Abstract": "Resumen", 
    "Abstract:": "Resumen:", 
    "Add Layers": "Agregar capas", 
    "Add user...": "Agregar usuario...", 
    "All": "Todos los", 
    "Any registered user": "Cualquier usuario registrado", 
    "Anyone": "Cualquiera", 
    "Area": "\u00c1rea", 
    "Available %s": "Disponible %s", 
    "Available Layers": "Capas disponibles", 
    "Background": "Fondo", 
    "Calendar": "Calendario", 
    "Cancel": "Cancelar", 
    "Change layer format and style": "Cambiar el formato y el estilo de la capa", 
    "Choose": "Elije", 
    "Choose a time": "Elija una hora", 
    "Choose all": "Elije todo", 
    "Chosen %s": "Elejido %s", 
    "Clear All": "Borrar todos", 
    "Clear Selected": "Borrar seleccionados", 
    "Click to choose all %s at once.": "Haga clic para seleccionar todas las %s de una vez.", 
    "Click to remove all chosen %s at once.": "Haga clic para eliminar todas las %s seleccionadas de una vez.", 
    "Clock": "Reloj", 
    "Comma Separated File": "Archivo Separado por Coma", 
    "Connection Error": "Error de conexi\u00f3n", 
    "Contact": "Contacto", 
    "Create Map": "Crear Mapa", 
    "Creating PDF...": "Creando PDF ...", 
    "Data": "Datos", 
    "Details...": "Detalles...", 
    "Done": "Hecho", 
    "Download:": "Descargar:", 
    "Downloading...": "Descargando...", 
    "ESRI Shapefile": "ESRI Shapefile", 
    "Edit Metadata": "Editar Metadatos", 
    "Edit Styles": "Editar Estilos", 
    "Edit layer styles": "Editar estilos de capa", 
    "Enter comments here.": "Escriba aqu\u00ed sus comentarios.", 
    "Enter map title here.": "Introduzca el t\u00edtulo del mapa aqu\u00ed.", 
    "Enter your region here ...": "Escriba su region aqui ...", 
    "Enter your text here ...": "Ingrese su texto aqui....", 
    "Error While Saving": "Error al guardar", 
    "Error contacting server.\n Please check the url and try again.": "Error al conectarse con el servidor.\nPor favor, compruebe la URL y vuelva a intentarlo.", 
    "Export Map": "Exportar Mapa ", 
    "Filter": "Filtro", 
    "GeoJSON": "GeoJSON", 
    "GeoTiff File": "Archivo GeoTiff", 
    "Get Feature Info": "Obtener informaci\u00f3n del objeto", 
    "Google Earth KML": "Google Earth KML", 
    "Height": "Altura", 
    "Hide": "Ocultar", 
    "Include legend?": "Incluir la leyenda?", 
    "January February March April May June July August September October November December": "Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre Diciembre", 
    "Keywords:": "Palabras clave:", 
    "Large": "Grande", 
    "Last Modified": "\u00daltima Modificaci\u00f3n", 
    "Layer Info": "Informaci\u00f3n de Capas", 
    "Layer Properties": "Propiedades de las capas", 
    "Layer files uploaded, configuring in GeoServer": "Archivo de capas cargado, configurando en GeoServer", 
    "Layers": "Capas", 
    "Legend": "Leyenda", 
    "Length": "Longitud", 
    "Loading": "Cargando", 
    "Loading Map...": "Cargando Mapa ...", 
    "Loading...": "Cargando...", 
    "Manage Styles": "Administrar Estilos", 
    "Map": "Mapa", 
    "Map Layers": "Capas del mapa", 
    "Map Size": "Tama\u00f1o del mapa", 
    "Measure": "Medida", 
    "Metadata Links:": "Links de Metadatos:", 
    "Midnight": "Medianoche", 
    "Mini": "Mini", 
    "Missing a %s file, which is required": "Falta un archivo %s, el cual es requerido", 
    "Name": "Nombre", 
    "Next": "Siguiente", 
    "No Layers Selected": "No hay capas seleccionadas", 
    "No abstract is provided for this layer.": "No hay resumen para esta capa.", 
    "No attribution information is provided for this layer.": "No hay informaci\u00f3n de atributos para esta capa.", 
    "No background": "Sin fondo", 
    "No download URLs are definied for this layer.": "No hay URLs de descarga para esta capa.", 
    "No keywords are listed for this layer.": "No hay palabras clave para esta capa.", 
    "No layers are currently selected.": "Actualmente no hay capas seleccionadas.", 
    "No metadata URLs are defined for this layer.": "No hay URLs de metadato definidas para esta capa.", 
    "None": "Ninguno", 
    "Noon": "Mediod\u00eda", 
    "Now": "Ahora", 
    "Only the following users or groups:": "S\u00f3lo los siguientes usuarios o grupos:", 
    "Only users who can edit": "S\u00f3lo los usuarios que pueden editar", 
    "Open Map": "Abrir Mapa", 
    "Operation Failed": "Error en la operaci\u00f3n", 
    "Pan Map": "Paneo del Mapa", 
    "Paper size:": "Tama\u00f1o de papel:", 
    "Performing Final GeoServer Config Step": "Realizando Paso Final en la Configuraci\u00f3n del GeoServer", 
    "Performing GeoServer Config Step": "Realizando Configuraci\u00f3n del GeoServer", 
    "Permalink": "Enlace permanente", 
    "Please wait": "Por favor, espere", 
    "Premium": "Premium", 
    "Prev": "Anterior", 
    "Print": "Imprimir", 
    "Print Map": "Imprimir Mapa", 
    "Print Preview": "Vista previa de Impresi\u00f3n", 
    "Properties": "Propiedades", 
    "Provided by:": "Proporcionado por:", 
    "Publish Map": "Publicar Mapa", 
    "Queryable": "Consultable", 
    "Remove": "Remover", 
    "Remove Layer": "Remover Capa", 
    "Remove all": "Elimina todas", 
    "Resolution:": "Resoluci\u00f3n:", 
    "S M T W T F S": "D L M M J V S", 
    "Save": "Guardar", 
    "Save Map": "Guardar Mapa", 
    "Save as Copy": "Guardar copia", 
    "Search": "B\u00fasqueda", 
    "Search Maps": "Mapa de B\u00fasqueda", 
    "Select": "Selecciona", 
    "Select or create a Geogig repository.": "Selecciona o crea un repositorio Geogig .", 
    "Select:": "Selecciona:", 
    "Selected Layers": "Capas seleccionadas", 
    "Show": "Mostrar", 
    "Showing": "Listado", 
    "Small": "Peque\u00f1as", 
    "Sorry, your map could not be saved.": "Lo sentimos, el mapa no se pudo guardar.", 
    "Switch to Google Earth 3D Viewer": "Cambiar a Google Earth Viewer 3D", 
    "The column %1 was renamed to %2 <br/>": "La columna %1 se ha renombrado como %2 <br/>", 
    "The file %s is an unsupported file type, please select another file.": "El archivo %s no es un tipo de archivo soportado, por favor selecciona otro archivo.", 
    "The map that you are trying to load does not exist.  Creating a new map instead.": "El mapa que est\u00e1 intentando cargar no existe. Se crear\u00e1 un mapa.", 
    "The server returned an error": "El servidor ha devuelto un error", 
    "This data is stored on a remote server": "Estos datos est\u00e1n almacenados en un servidor remoto", 
    "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.": "Esta es la lista de los disponibles %s. Usted puede elegir algunos seleccion\u00e1ndolos en el cuadro de abajo y haga clic en la flecha \"Elegir\" entre los dos cuadro.", 
    "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.": "Esta es la lista de los %s elegidos. Es posible eliminar algunos seleccion\u00e1ndolos en el cuadro de abajo y luego haciendo clic en la flecha \"Eliminar\" entre los dos cuadros.", 
    "This map has not yet been saved.": "Este mapa no se ha guardado todav\u00eda.", 
    "Title": "T\u00edtulo", 
    "Today": "Hoy", 
    "Tomorrow": "Ma\u00f1ana", 
    "Type into this box to filter down the list of available %s.": "Escriba en esta casilla para filtrar la lista de disponibles %s.", 
    "Unexpected Error": "Error Inesperado", 
    "Unknown Map": "Mapa Desconocido", 
    "View available data from:": "Ver datos disponibles en:", 
    "View this Map": "Ver este Mapa", 
    "Who can edit this data?": "\u00bfQui\u00e9n puede editar estos datos?", 
    "Who can manage and edit this data?": "\u00bfQui\u00e9n puede administrar o editar estos datos?", 
    "Who can view and download this data?": "\u00bfQui\u00e9n puede ver y descargar estos datos?", 
    "Width": "Ancho", 
    "Yesterday": "Ayer", 
    "You are trying to upload an incomplete set of files or not all mandatory options have been validated.\n\nPlease check for errors in the form!": "You are trying to upload an incomplete set of files or not all mandatory options have been validated.\n\nPlease check for errors in the form!", 
    "You are uploading an incomplete set of files.": "Usted esta cargando un conjunto incompleto de archivos.", 
    "You can continue configuring your layer.": "Puedes continuar configurando tu capa.", 
    "You do not have permission to view this data": "No tienes permiso para ver estos datos", 
    "You have selected an action, and you haven't made any changes on individual fields. You're probably looking for the Go button rather than the Save button.": "Ha seleccionado una acci\u00f3n, y no se ha realizado ning\u00fan cambio en campos individuales. Probablemente usted est\u00e1 buscando en el bot\u00f3n Ir en lugar de en el bot\u00f3n Guardar.", 
    "You have selected an action, but you haven't saved your changes to individual fields yet. Please click OK to save. You'll need to re-run the action.": "Ha seleccionado una acci\u00f3n, pero no ha guardado los cambios en los campos individuales todav\u00eda. Por favor, haga clic en Aceptar para guardar. Tendr\u00e1 que volver a ejecutar la acci\u00f3n.", 
    "You have unsaved changes on individual editable fields. If you run an action, your unsaved changes will be lost.": "Usted tiene cambios no guardados en campos editables individuales. Si ejecuta una acci\u00f3n, se perder\u00e1n los cambios no guardados.", 
    "You must be logged in to save this map.": "Debes iniciar una sesi\u00f3n para guardar este mapa.", 
    "You need to specify more information in order to complete your upload": "Usted necesita especificar mas informaci\u00f3n para poder completar la carga", 
    "You need to specify more information in order to complete your upload.": "Usted necesita especificar mas informaci\u00f3n para poder completar la carga.", 
    "Your layer was successfully uploaded": "Su capa fue cargada exitosamente", 
    "Your map is ready to be published to the web!  Simply copy the following HTML to embed the map in your website:": "El mapa est\u00e1 listo para ser publicado en la web! Simplemente copia el siguiente c\u00f3digo HTML para incrustar el mapa en tu p\u00e1gina web:", 
    "Your search did not match any items.": "Tu b\u00fasqueda no produjo ning\u00fan resultado.", 
    "Zip Archives": "Archivos Zip", 
    "Zoom In": "Acercar", 
    "Zoom Level": "Nivel de Acercamiento", 
    "Zoom Level {zoom}": "Nivel de zoom {zoom}", 
    "Zoom Out": "Alejar", 
    "Zoom level": "Nivel de acercamiento", 
    "Zoom to Layer Extent": "Zoom a la Extensi\u00f3n de la Capa", 
    "Zoom to Next Extent": "Acercamiento a la Extensi\u00f3n Siguiente", 
    "Zoom to Previous Extent": "Acercamiento a la Extensi\u00f3n Anterior", 
    "Zoom to Visible Extent": "Zoom a la Extensi\u00f3n Visible", 
    "of": "de", 
    "or add a new server.": "o agregar un nuevo servidor.", 
    "permalink": "Enlace permanente"
  };

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

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

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

  django.pgettext = function (context, msgid) {
    var value = django.gettext(context + '\x04' + msgid);
    if (value.indexOf('\x04') != -1) {
      value = msgid;
    }
    return value;
  };

  django.npgettext = function (context, singular, plural, count) {
    var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count);
    if (value.indexOf('\x04') != -1) {
      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": "N j, Y, P", 
    "DATETIME_INPUT_FORMATS": [
      "%Y-%m-%d %H:%M:%S", 
      "%Y-%m-%d %H:%M:%S.%f", 
      "%Y-%m-%d %H:%M", 
      "%Y-%m-%d", 
      "%m/%d/%Y %H:%M:%S", 
      "%m/%d/%Y %H:%M:%S.%f", 
      "%m/%d/%Y %H:%M", 
      "%m/%d/%Y", 
      "%m/%d/%y %H:%M:%S", 
      "%m/%d/%y %H:%M:%S.%f", 
      "%m/%d/%y %H:%M", 
      "%m/%d/%y"
    ], 
    "DATE_FORMAT": "N j, Y", 
    "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"
    ], 
    "DECIMAL_SEPARATOR": ".", 
    "FIRST_DAY_OF_WEEK": "0", 
    "MONTH_DAY_FORMAT": "F j", 
    "NUMBER_GROUPING": "0", 
    "SHORT_DATETIME_FORMAT": "m/d/Y P", 
    "SHORT_DATE_FORMAT": "m/d/Y", 
    "THOUSAND_SEPARATOR": ",", 
    "TIME_FORMAT": "P", 
    "TIME_INPUT_FORMATS": [
      "%H:%M:%S", 
      "%H:%M:%S.%f", 
      "%H:%M"
    ], 
    "YEAR_MONTH_FORMAT": "F Y"
  };

  django.get_format = function (format_type) {
    var 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;

}(this));

