diff --git a/src/wp-content/themes/lqdvi/archive.php b/src/wp-content/themes/lqdvi/archive.php index 27acdcb9..54d93f34 100644 --- a/src/wp-content/themes/lqdvi/archive.php +++ b/src/wp-content/themes/lqdvi/archive.php @@ -156,16 +156,16 @@ if (have_posts()) : while (have_posts()) : the_post();
- + . + . +     Tags:      Posted date:  -  |  - - */ ?> +  |  */?>
diff --git a/src/wp-content/themes/lqdvi/blog.php b/src/wp-content/themes/lqdvi/blog.php index 3a48bb66..ef3ffe51 100644 --- a/src/wp-content/themes/lqdvi/blog.php +++ b/src/wp-content/themes/lqdvi/blog.php @@ -202,11 +202,15 @@ if (have_posts()) : while (have_posts()) : the_post();
- Posted by:     + . + . + + +     Posted date:  - + < ? php the_time('F j, Y'); ? > < ? php edit_post_link('edit post', ', ', ''); ? >  |  - + < ? php comments_number(__('No comment'), __('Comment'), __('% Comments')); ? >*/ ?>
diff --git a/src/wp-content/themes/lqdvi/comments.php b/src/wp-content/themes/lqdvi/comments.php index 6c7cb106..b9274d5c 100644 --- a/src/wp-content/themes/lqdvi/comments.php +++ b/src/wp-content/themes/lqdvi/comments.php @@ -1,13 +1,13 @@ -

This post is password protected. Enter the password to view comments.

+

-
for

+

'pp_comment', 'avatar_size' => '40') ); ?> diff --git a/src/wp-content/themes/lqdvi/footer.php b/src/wp-content/themes/lqdvi/footer.php index c6d0f1b7..998ec61a 100644 --- a/src/wp-content/themes/lqdvi/footer.php +++ b/src/wp-content/themes/lqdvi/footer.php @@ -1,2 +1,56 @@ \ No newline at end of file +/** + * The template for displaying the footer. + * + * @package WordPress + */ +?> + + + + + + + + + + + + * tag of your theme, or you will break many plugins, which + * generally use this hook to reference JavaScript files. + */ + + wp_footer(); +?> + + diff --git a/src/wp-content/themes/lqdvi/functions.php b/src/wp-content/themes/lqdvi/functions.php index 32caf9f3..4ae89419 100644 --- a/src/wp-content/themes/lqdvi/functions.php +++ b/src/wp-content/themes/lqdvi/functions.php @@ -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'])) { diff --git a/src/wp-content/themes/lqdvi/languages/es_ES.mo b/src/wp-content/themes/lqdvi/languages/es_ES.mo new file mode 100644 index 00000000..f2667aa2 Binary files /dev/null and b/src/wp-content/themes/lqdvi/languages/es_ES.mo differ diff --git a/src/wp-content/themes/lqdvi/languages/es_ES.po b/src/wp-content/themes/lqdvi/languages/es_ES.po new file mode 100644 index 00000000..f9a2d3cf --- /dev/null +++ b/src/wp-content/themes/lqdvi/languages/es_ES.po @@ -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)" + diff --git a/src/wp-content/themes/lqdvi/lib/custom.lib.php b/src/wp-content/themes/lqdvi/lib/custom.lib.php index e1c6b2f9..6072ace4 100644 --- a/src/wp-content/themes/lqdvi/lib/custom.lib.php +++ b/src/wp-content/themes/lqdvi/lib/custom.lib.php @@ -230,15 +230,15 @@ function pp_comment($comment, $args, $depth)
comment_approved == '0') : ?> - +
comment_author; ?> - +
diff --git a/src/wp-content/themes/lqdvi/page.php b/src/wp-content/themes/lqdvi/page.php index a19eb037..ffe3dbe9 100644 --- a/src/wp-content/themes/lqdvi/page.php +++ b/src/wp-content/themes/lqdvi/page.php @@ -162,7 +162,11 @@ if(!isset($hide_header) OR !$hide_header) - + diff --git a/src/wp-content/themes/lqdvi/single.php b/src/wp-content/themes/lqdvi/single.php index 4c1a5bc0..c3223120 100644 --- a/src/wp-content/themes/lqdvi/single.php +++ b/src/wp-content/themes/lqdvi/single.php @@ -103,12 +103,14 @@ if (have_posts()) : while (have_posts()) : the_post();
- + . + . +     Posted date:  < ? php the_time('F j, Y'); ? > < ? php edit_post_link('edit post', ', ', ''); ? > -  |  - < ? php comments_number('No comment', 'Comment', '% Comments'); */?> +  | */ ?> +
@@ -230,7 +232,7 @@ if (have_posts()) : while (have_posts()) : the_post(); ?> - + diff --git a/src/wp-content/themes/lqdvi/template-press.php b/src/wp-content/themes/lqdvi/template-press.php index 12451e6f..a221cb8c 100644 --- a/src/wp-content/themes/lqdvi/template-press.php +++ b/src/wp-content/themes/lqdvi/template-press.php @@ -227,7 +227,9 @@ if (have_posts()) : while (have_posts()) : the_post();
- + . + . +     Posted date:  diff --git a/src/wp-content/themes/lqdvi/templates/comments-form.php b/src/wp-content/themes/lqdvi/templates/comments-form.php index 21d1fe6c..8906d43f 100644 --- a/src/wp-content/themes/lqdvi/templates/comments-form.php +++ b/src/wp-content/themes/lqdvi/templates/comments-form.php @@ -10,47 +10,47 @@ -
Wanna say something?
+
- Logged in as . Log out »

+ .



-

+
-

+

*/ ?>


-   - +   +

ID); ?> diff --git a/src/wp-content/themes/lqdvi/templates/template-portfolio-3.php b/src/wp-content/themes/lqdvi/templates/template-portfolio-3.php index 31db15f9..588f4cbc 100644 --- a/src/wp-content/themes/lqdvi/templates/template-portfolio-3.php +++ b/src/wp-content/themes/lqdvi/templates/template-portfolio-3.php @@ -235,7 +235,9 @@ else

post_title); ?>

post_content)), 140);*/ ?> - post_excerpt)), 140); ?> + post_excerpt)), 140);*/ + _e($portfolio_item->post_excerpt); + ?>