Traducción al castellano

git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_FormulariosCalidad/trunk@5 e2c41b2c-0c6f-0149-8b81-50b1a9191bb3
This commit is contained in:
David Arranz 2011-03-14 18:42:55 +00:00
parent b1f116da50
commit 19f75ab09c
2 changed files with 43 additions and 43 deletions

View File

@ -27,16 +27,16 @@
//save to file and redirect to manage_entries
$css_content = stripslashes($_POST['css_data']);
if(is_writable($css_filename)){
$_SESSION['AP_SUCCESS']['title'] = 'Success';
$_SESSION['AP_SUCCESS']['desc'] = 'CSS file successfully updated.';
$_SESSION['AP_SUCCESS']['title'] = 'Completado';
$_SESSION['AP_SUCCESS']['desc'] = 'El fichero CSS se ha actualizado.';
file_put_contents($css_filename,$css_content);
header("Location: manage_form.php?id={$form_id}");
exit;
}else{
$_SESSION['AP_ERROR']['title'] = 'An error occured while saving';
$_SESSION['AP_ERROR']['desc'] = 'Unable to write into CSS file. Please check your file permission.';
$_SESSION['AP_ERROR']['title'] = 'Ha ocurrido un error';
$_SESSION['AP_ERROR']['desc'] = 'No se puede sobreescribir el fichero CSS. Revise los permidos del fichero.';
}
}
@ -57,22 +57,22 @@
<div id="form_manager">
<?php show_message(); ?>
<div class="info">
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> CSS File</h2>
<p>Editing <b><?php echo $css_filename; ?></b></p>
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> Fichero CSS</h2>
<p>Modificando el fichero <b><?php echo $css_filename; ?></b></p>
</div>
<div id="form_container">
<form id="form_edit_css" class="appnitro" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<ul>
<li class="highlighted">
<label class="desc" for="css_data">File Content</label>
<label class="desc" for="css_data">Contenido del fichero</label>
<div>
<textarea id="css_data" name="css_data" class="element textarea large"><?php echo $css_content; ?></textarea>
</div>
</li>
<li class="buttons">
<input type="hidden" name="id" value="<?php echo $form_id; ?>" />
<input id="saveForm" class="button_text" type="submit" name="submit" value="Update File" />
<input id="saveForm" class="button_text" type="submit" name="submit" value="Actualizar fichero" />
</li>
</ul>
</form>

View File

@ -137,8 +137,8 @@
do_query($query);
$_SESSION['AP_SUCCESS']['title'] = 'Success';
$_SESSION['AP_SUCCESS']['desc'] = 'Notification settings have been saved.';
$_SESSION['AP_SUCCESS']['title'] = 'Completado';
$_SESSION['AP_SUCCESS']['desc'] = 'Los ajustes de las notificaciones se han guardado.';
header("Location: email_settings.php?id={$form_id}");
exit;
@ -156,7 +156,7 @@
}elseif (NOTIFICATION_MAIL_FROM_NAME != ''){
$_POST['esl_from_name'] = NOTIFICATION_MAIL_FROM_NAME;
}else{
$_POST['esl_from_name'] = 'MachForm';
$_POST['esl_from_name'] = '';
}
$_POST['esl_from_email_address'] = $esl_from_email_address;
@ -227,8 +227,8 @@
do_query($query);
$_SESSION['AP_SUCCESS']['title'] = 'Success';
$_SESSION['AP_SUCCESS']['desc'] = 'Notification settings have been saved.';
$_SESSION['AP_SUCCESS']['title'] = 'Completado';
$_SESSION['AP_SUCCESS']['desc'] = 'Los ajustes de las notificaciones se han guardado.';
header("Location: email_settings.php?id={$form_id}");
exit;
@ -246,7 +246,7 @@
}elseif (NOTIFICATION_MAIL_FROM_NAME != ''){
$_POST['esr_from_name'] = NOTIFICATION_MAIL_FROM_NAME;
}else{
$_POST['esr_from_name'] = 'MachForm';
$_POST['esr_from_name'] = '';
}
if(!empty($esr_from_email_address)){
@ -327,12 +327,12 @@ EOT;
<div id="form_manager">
<?php show_message(); ?>
<div class="info">
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> Emails</h2>
<p>Configure your email notification settings</b></p>
<h2><a class="breadcrumb" href="manage_form.php?id=<?php echo $form_id; ?>"><?php echo $form_name; ?></a> <img src="images/icons/resultset_next.gif" align="bottom" /> Emails de respuesta</h2>
<p>Indique a quién se enviará por email las respuestas del formulario</b></p>
</div>
<h2 style="font-size: 150%;margin-bottom: 10px;">Send notification emails to <img src="images/icons/arrow_right.gif" align="absmiddle" /></h2>
<h2 style="font-size: 150%;margin-bottom: 10px;">Mandar notificaciones por email <img src="images/icons/arrow_right.gif" align="absmiddle" /></h2>
<div style="width: 49%;float: left;">
<h2 style="font-size: 150%;"><img src="images/icons/edit_user_48.gif" align="absmiddle" />You</h2>
<h2 style="font-size: 150%;"><img src="images/icons/edit_user_48.gif" align="absmiddle" />A mi dirección</h2>
<div id="es_left">
<!-- start left form -->
@ -342,23 +342,23 @@ EOT;
<form id="esl_form" class="appnitro" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<ul >
<li id="esl_li_1" <?php if(!$esl_valid_email){ echo 'class="error"'; } ?>>
<label class="description" for="esl_email_address">Your Email Address </label>
<label class="description" for="esl_email_address">Mi dirección de email </label>
<div>
<input id="esl_email_address" name="esl_email_address" class="element text medium" type="text" value="<?php echo $_POST['esl_email_address']; ?>"/>
</div>
<?php if(!$esl_valid_email){ echo "<p class=\"error\">{$lang['val_email']}</p>"; }; ?>
</li>
<li id="esl_li_2" class="section_break esl_options">
<h3><img src="images/icons/agt_utilities.gif" align="absmiddle" /> &nbsp;Email Header</h3>
<h3><img src="images/icons/agt_utilities.gif" align="absmiddle" /> &nbsp;Cabecera del email</h3>
</li>
<li id="esl_li_3" class="esl_options">
<label class="description" for="esl_from_name">From Name </label>
<label class="description" for="esl_from_name">De (nombre)</label>
<div>
<input id="esl_from_name" name="esl_from_name" class="element text medium" type="text" value="<?php echo $_POST['esl_from_name']; ?>"/>
</div>
</li>
<li id="esl_li_4" class="esl_options">
<label class="description" for="esl_from_email_address">From Email address </label>
<label class="description" for="esl_from_email_address">De (email) </label>
<div>
<select class="element select medium" id="esl_from_email_address" name="esl_from_email_address">
<?php
@ -375,17 +375,17 @@ EOT;
</div>
</li>
<li id="esl_li_5" class="section_break esl_options">
<h3><img src="images/icons/mail_reply_16.gif" align="absmiddle"/> &nbsp;Email Content</h3>
<h3><img src="images/icons/mail_reply_16.gif" align="absmiddle"/> &nbsp;Contenido</h3>
</li>
<li id="esl_li_6" class="esl_options">
<label class="description" for="esl_subject">Subject </label>
<label class="description" for="esl_subject">Asunto </label>
<div>
<input id="esl_subject" name="esl_subject" class="element text large" type="text" value="<?php echo $_POST['esl_subject']; ?>"/>
</div>
</li>
<li id="esl_li_7" class="esl_options">
<label class="description" for="esl_content">Content </label>
<label class="description" for="esl_content">Contenido </label>
<div>
<textarea id="esl_content" name="esl_content" class="element textarea medium"><?php echo $_POST['esl_content']; ?></textarea>
</div>
@ -394,22 +394,22 @@ EOT;
<label class="description" for="esl_plain_text"> </label>
<span>
<input id="esl_plain_text" name="esl_plain_text" class="element checkbox" type="checkbox" value="1" <?php if($_POST['esl_plain_text'] == 1){ echo 'checked="checked"'; } ?>/>
<label class="choice" for="esl_plain_text">Send emails in simple text format</label>
<label class="choice" for="esl_plain_text">Enviar el email como texto plano</label>
</span>
<div style="clear: both;font-size: 95%;padding-top: 10px;margin-bottom: 10px">
<img align="absmiddle" src="images/icons/information.gif"/> <b style="color: #444">Info</b><br/> You can insert <a href="template_variables.php?id=<?php echo $_REQUEST['id']; ?>" style="color: blue; border-bottom: 1px dotted #000;text-decoration: none">template variables</a> into the above fields.
<img align="absmiddle" src="images/icons/information.gif"/> <b style="color: #444">Info</b><br/> Puede insertar <a href="template_variables.php?id=<?php echo $_REQUEST['id']; ?>" style="color: blue; border-bottom: 1px dotted #000;text-decoration: none">variables de plantilla</a> en los campos anteriores.
</div>
</li>
<li id="esl_li_9" style="background-color: #fff">
<div style="text-align: right">
<a href="javascript: toggle_esl_options()" style="color: blue; border-bottom: 1px dotted #000;text-decoration: none" id="esl_toggle"><?php if(!empty($_POST['esl_options_expand'])){ echo 'hide options';} else { echo 'more options';} ?></a> <img align="absmiddle" src="images/icons/resultset_next.gif" id="esl_toggle_img"/>
<a href="javascript: toggle_esl_options()" style="color: blue; border-bottom: 1px dotted #000;text-decoration: none" id="esl_toggle"><?php if(!empty($_POST['esl_options_expand'])){ echo 'hide options';} else { echo 'más opciones';} ?></a> <img align="absmiddle" src="images/icons/resultset_next.gif" id="esl_toggle_img"/>
</div>
</li>
<li class="buttons" style="background-color:#fff; padding-left: 0px; padding-top: 0px;">
<input type="hidden" name="id" name="id" value="<?php echo $_REQUEST['id']; ?>"/>
<input type="hidden" name="esl_options_expand" id="esl_options_expand" value="<?php echo $_POST['esl_options_expand']; ?>" />
<input id="esl_submit" class="button_text" type="submit" name="esl_submit" value="Save Changes" />
<input id="esl_submit" class="button_text" type="submit" name="esl_submit" value="Guardar cambios" />
</li>
</ul>
@ -423,7 +423,7 @@ EOT;
</div>
<div style="width: 50%;float: left; border-left: 2px dashed #ccc">
<h2 style="font-size: 150%; margin-left: 20px"><img src="images/icons/agt_family_48.gif" align="absmiddle" /> Your Users</h2>
<h2 style="font-size: 150%; margin-left: 20px"><img src="images/icons/agt_family_48.gif" align="absmiddle" /> Mandar copia al usuario</h2>
<div id="es_right">
<!-- start right form -->
@ -434,7 +434,7 @@ EOT;
<ul >
<li id="esr_li_1" >
<label class="description" for="esr_email_address">Send To </label>
<label class="description" for="esr_email_address">Coger la dirección email del campo </label>
<div>
<select class="element select medium" id="esr_email_address" name="esr_email_address" <?php if(empty($esr_email_fields)){ echo 'disabled="disabled"'; } ?>>
<option value=""></a>
@ -453,39 +453,39 @@ EOT;
</li>
<?php if(empty($esr_email_fields)){ ?>
<li id="esr_li_1" >
<label class="description" for="esr_email_address"><img src="images/icons/warning.gif" align="top" /> No email field found</label>
<label class="description" for="esr_email_address"><img src="images/icons/warning.gif" align="top" /> No se encontrado el campo para el email</label>
<div>
To enable sending email to your users, an Email field is required on the form.
Para poder enviar un email a sus usarios, debe existir un campo email en el formulario.
</div>
</li>
<?php } ?>
<li class="section_break esr_options">
<h3><img src="images/icons/agt_utilities.gif" align="absmiddle" /> &nbsp;Email Header</h3>
<h3><img src="images/icons/agt_utilities.gif" align="absmiddle" /> &nbsp;Cabecera del email</h3>
</li>
<li id="esr_li_2" class="esr_options">
<label class="description" for="esr_from_name">From Name </label>
<label class="description" for="esr_from_name">De (nombre) </label>
<div>
<input id="esr_from_name" name="esr_from_name" class="element text medium" type="text" value="<?php echo $_POST['esr_from_name']; ?>"/>
</div>
</li>
<li id="esr_li_3" class="esr_options<?php if(!$esr_valid_email){ echo ' error'; } ?>" >
<label class="description" for="esr_from_email_address">From Email address </label>
<label class="description" for="esr_from_email_address">De (email) </label>
<div>
<input id="esr_from_email_address" name="esr_from_email_address" class="element text medium" type="text" value="<?php echo $_POST['esr_from_email_address']; ?>"/>
</div>
<?php if(!$esr_valid_email){ echo "<p class=\"error\">{$lang['val_email']}</p>"; }; ?>
</li>
<li class="section_break esr_options">
<h3><img src="images/icons/mail_forward_16.gif" align="absmiddle"/> &nbsp;Email Content</h3>
<h3><img src="images/icons/mail_forward_16.gif" align="absmiddle"/> &nbsp;Contenido del email</h3>
</li>
<li id="esr_li_4" class="esr_options">
<label class="description" for="esr_subject">Subject </label>
<label class="description" for="esr_subject">Asunto </label>
<div>
<input id="esr_subject" name="esr_subject" class="element text large" type="text" value="<?php echo $_POST['esr_subject']; ?>"/>
</div>
</li>
<li id="esr_li_5" class="esr_options">
<label class="description" for="esr_content">Content </label>
<label class="description" for="esr_content">Contenido </label>
<div>
<textarea id="esr_content" name="esr_content" class="element textarea medium"><?php echo $_POST['esr_content']; ?></textarea>
</div>
@ -494,23 +494,23 @@ EOT;
<label class="description" for="esr_plain_text"> </label>
<span>
<input id="esr_plain_text" name="esr_plain_text" class="element checkbox" type="checkbox" value="1" <?php if($_POST['esr_plain_text'] == 1){ echo 'checked="checked"'; } ?>/>
<label class="choice" for="esr_plain_text">Send emails in simple text format</label>
<label class="choice" for="esr_plain_text">Enviar el email como texto plano</label>
</span>
<div style="clear: both;font-size: 95%;padding-top: 10px;margin-bottom: 10px">
<img align="absmiddle" src="images/icons/information.gif"/> <b style="color: #444">Info</b><br/> You can insert <a href="template_variables.php?id=<?php echo $_REQUEST['id']; ?>" style="color: blue; border-bottom: 1px dotted #000;text-decoration: none">template variables</a> into the above fields.
<img align="absmiddle" src="images/icons/information.gif"/> <b style="color: #444">Info</b><br/> Puede insertar <a href="template_variables.php?id=<?php echo $_REQUEST['id']; ?>" style="color: blue; border-bottom: 1px dotted #000;text-decoration: none">variables de plantilla</a> en los campos anteriores.
</div>
</li>
<li id="esr_li_7" style="background-color: #fff">
<div style="text-align: right">
<?php if(!empty($esr_email_fields)){ ?>
<a href="javascript: toggle_esr_options()" style="color: blue; border-bottom: 1px dotted #000;text-decoration: none" id="esr_toggle"><?php if(!empty($_POST['esr_options_expand'])){ echo 'hide options';} else { echo 'more options';} ?></a> <img align="absmiddle" src="images/icons/resultset_next.gif" id="esr_toggle_img"/>
<a href="javascript: toggle_esr_options()" style="color: blue; border-bottom: 1px dotted #000;text-decoration: none" id="esr_toggle"><?php if(!empty($_POST['esr_options_expand'])){ echo 'hide options';} else { echo 'más opciones';} ?></a> <img align="absmiddle" src="images/icons/resultset_next.gif" id="esr_toggle_img"/>
<?php } ?>
</div>
</li>
<li class="buttons" style="background-color:#fff; padding-left: 0px; padding-top: 0px">
<input type="hidden" name="id" name="id" value="<?php echo $_REQUEST['id']; ?>"/>
<input type="hidden" name="esr_options_expand" id="esr_options_expand" value="<?php echo $_POST['esr_options_expand']; ?>" />
<input id="esr_submit" class="button_text" type="submit" name="esr_submit" value="Save Changes" <?php if(empty($esr_email_fields)){ echo 'disabled="disabled"'; } ?>/>
<input id="esr_submit" class="button_text" type="submit" name="esr_submit" value="Guardar cambios" <?php if(empty($esr_email_fields)){ echo 'disabled="disabled"'; } ?>/>
</li>
</ul>
</form>