// Example of resources generated by the server
loom.messages = {
	lang: 'en',
	"loom.conversion.numberFailed": "The value of ${propertyName} is not a valid number",
	"loom.conversion.dateFailed": "The value of ${propertyName} is not a valid date",
	
	"loom.validation.dateMinFailed": "The value of ${propertyName} is smaller than the minimum allowed (${validator.minValue.date})",
	"loom.validation.dateMaxFailed": "The value of ${propertyName} is bigger than the maximum allowed (${validator.maxValue.date})",
	"loom.validation.emailFailed": "The value of ${propertyName} is not valid",
	"loom.validation.equalsFailed": "The values of ${property1} and ${property2} are different",
	"loom.validation.generic": "The value of ${propertyName} is not valid",
	"loom.validation.minLengthFailed": "The value of ${propertyName} is shorter (${length}) than the minimum allowed value of ${validator.minLength}",
	"loom.validation.maxLengthFailed": "The value of ${propertyName} is longer (${length}) than the maximum allowed value of ${validator.maxLength}",
	"loom.validation.maskFailed": "The value of ${propertyName} does not conform with the expected format",
	"loom.validation.numberMinFailed": "The value of ${propertyName} is smaller than the minimum allowed (${validator.minValue})",
	"loom.validation.numberMaxFailed": "The value of ${propertyName} is bigger than the maximum allowed (${validator.maxValue})",
	"loom.validation.fileSizeTooLarge": "The size of '${value.filename}' is too large. Maximum size is ${interceptor.maxFileSize / 1024} kb",
	"loom.validation.fileNameFailed": "The file name of '${value.filename}' is not a valid file name.",
	"loom.validation.precisionFailed": "The value of ${propertyName} has more digits than the maximum allowed (${validator.precision})",
	"loom.validation.requiredFailed": "${propertyName} is required",
	"loom.validation.requiredCollectionFailed": "${propertyName} cannot be empty",
	"loom.validation.scaleFailed": "The value of ${propertyName}: ${value} has more decimal digits than the maximum allowed (${validator.scale})",
	
	"loom.persistence.entityNotFound": "Could not find ${entityName} instance with key ${exception.entityId}",
	"loom.persistence.optimisticLock": "Instance of ${entityName} has been modified by another user and cannot be updated. Your version: ${exception.newVersion}, the database version: ${exception.dbVersion}",
	"loom.persistence.removeEntity": "Instance of ${entityName} with key ${exception.entityId} could not be removed.",
	"loom.persistence.autocompletedEntityNotFound": "Could not find ${propertyName} instance '${value}'",
	"loom.persistence.multipleAutocompletedEntityNotFound": "Could not find the following instances: ${wrongValues}",
	
	"loom.format.number": /^-?(((\d{1,3})(\,\d{3})*)|(\d+))(\.\d+)?$/,
	"loom.format.jsDate": "%d/%m/%Y",
	"loom.format.jsDateTime": "%d/%m/%Y %H:%M:%S",
	"loom.format.jsTime": "%H:%M:%S",
	"loom.format.decimal": "#,###.##",
	"loom.format.decimalSeparator": ".",
	"loom.format.groupingSeparator": ",",
	
	// calendar strings
	"loom.format.dayNames": "Domingo Lunes Martes Miercoles Jueves Viernes Sabado",
	"loom.format.shortDayNames": "Dom Lun Mar Mie Jue Vie Sab",
	"loom.format.dayFirstChar": "D L M M J V S",
	"loom.format.monthNames": "Enero Febrero Marzo Abril Mayo Junio Julio Agosto Septiembre Octubre Noviembre Diciembre",
	"loom.format.shortMonthNames": "Ene Feb Mar Abr May Jun Jul Ago Sep Oct Nov Dic",
	"loom.format.timeUnitNames": "dias horas minutos segundos",
	
	"loom.ui.calendar.today": "Hoy",
	"loom.ui.calendar.timeTitle": "Hora",
	"loom.ui.calendar.exactMinutes": "Minutos exactos:",
	"loom.ui.calendar.firstDayInWeek": "1",
	"loom.ui.calendar.selectDate" : "Seleccione fecha",
	
	"loom.format.past.seconds": "Hace menos de un minuto",
	"loom.format.past.minutes": "Hace ${period.minutes} minutos",
	"loom.format.past.hours": "Hace ${period.hours} horas",
	"loom.format.past.days": "Hace ${period.days} dias",
	"loom.format.past.weeks": "Hace ${period.weeks} semanas",
	"loom.format.past.months": "Hace ${period.months} meses",
	"loom.format.past.years": "Hace ${period.years} aņos",
	"loom.format.future.seconds": "En menos de un minuto",
	"loom.format.future.minutes": "En ${period.minutes} minutos",
	"loom.format.future.hours": "En ${period.hours} horas",
	"loom.format.future.days": "En ${period.days} dias",
	"loom.format.future.weeks": "En ${period.weeks} semanas",
	"loom.format.future.months": "En ${period.months} mes",
	"loom.format.future.years": "En ${period.years} aņos"
}