// -------------------------------------------------------------------
// markItUp!
// -------------------------------------------------------------------
// Copyright (C) 2008 Jay Salvat
// http://markitup.jaysalvat.com/
// -------------------------------------------------------------------
// Textile tags example
// http://en.wikipedia.org/wiki/Textile_(markup_language)
// http://www.textism.com/
// -------------------------------------------------------------------
// Feel free to add more tags
// -------------------------------------------------------------------

cadenas_traducciones =
{
	parrafo:
		'Párrafo'
	,
	negrita:
		'Negrita'
	,
	cursiva:
		'Cursiva'
	,
	tachar:
		'Tachar'
	,
	lista_no_numerada:
		'Lista con viñetas'
	,
	lista_numerada:
		'Lista numerada'
	,
	imagen:
		'Imagen'
	,
	video:
		'Vídeo'
	,
	enlace:
		'Enlace'
	,
	archivo:
		'Archivo'
	,
	texto_alternativo:
		'Texto alternativo'
	,
	texto_del_enlace:
		'Texto del enlace...'
	,
	cita:
		'Cita'
	,
	destacado:
		'Destacado'
	,
	ayuda_editor:
		'Ayuda del editor'
	,
	guardando:
		'Guardando...'
	,
	cargando:
		'Cargando...'
	,
	ocultar_mensaje:
		'Ocultar mensaje'
}

mySettings = {
	previewParserPath: '',
	onShiftEnter:		{keepDefault:false, replaceWith:'\n\n'},
	markupSet: [
		{name: cadenas_traducciones.parrafo, key:'P', openWith:'p(!(([![Class]!]))!). '},
		{separator:'---------------'},
		{name: cadenas_traducciones.negrita, key:'B', closeWith:'*', openWith:'*'},
		{name: cadenas_traducciones.cursiva, key:'I', closeWith:'_', openWith:'_'},
		{name: cadenas_traducciones.tachar, key:'S', closeWith:'-', openWith:'-'},
		{separator:'---------------'},
		{name: cadenas_traducciones.lista_no_numerada, openWith:'(!(* |!|*)!)'},
		{name: cadenas_traducciones.lista_numerada, openWith:'(!(# |!|#)!)'},
		{separator:'---------------'},
		{
			name: cadenas_traducciones.imagen,
			replaceWith:'![![' + cadenas_traducciones.archivo + ':!:http://]!]([![' +
				cadenas_traducciones.texto_alternativo + ']!])!'
		},
        {
          name: cadenas_traducciones.video,
			replaceWith: '<object width="425" height="344" ' +
				'type="application/x-shockwave-flash" data="' +
				'[![' + cadenas_traducciones.video + ':!:http://www.youtube.com/v/]!]' + '">' +
				'<param name="movie" value="' +
					'[![' + cadenas_traducciones.repite_video + ':!:http://www.youtube.com/v/]!]' +
				'"></param>' +
				'<param name="allowFullScreen" value="true"></param>' +
				'<param name="allowscriptaccess" value="always"></param>' +
				'<p>' + cadenas_traducciones.necesitas_reproductor + '</p>' +
				'</object>'
        },
		{
			name: cadenas_traducciones.enlace,
			openWith:'"',
			closeWith:'":[![URL:!:http://]!]',
			placeHolder: cadenas_traducciones.texto_del_enlace
		},
		{separator:'---------------'},
		{name: cadenas_traducciones.cita, openWith:'bq(!(([![Clase]!]))!). '},
		{name: cadenas_traducciones.destacado, openWith: 'p(destacado). '},
		{separator:'---------------'}
	]
}
