From 93760fc7f17f8e2d65b45b1160bac890cd9e4208 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 29 Sep 2011 11:24:50 +0000 Subject: [PATCH] =?UTF-8?q?-=20Traducci=C3=B3n=20al=20castellano=20de=20la?= =?UTF-8?q?=20plantilla=20-=20Comentarios=20para=20posts=20y=20p=C3=A1gina?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://192.168.0.254/svn/Proyectos.FundacionLQDVI_Web/trunk@38 77ab8c26-3d69-2c4d-86f2-786f4ba54905 --- src/wp-content/themes/lqdvi/archive.php | 8 +- src/wp-content/themes/lqdvi/blog.php | 10 +- src/wp-content/themes/lqdvi/comments.php | 4 +- src/wp-content/themes/lqdvi/footer.php | 56 ++++++++- src/wp-content/themes/lqdvi/functions.php | 8 ++ .../themes/lqdvi/languages/es_ES.mo | Bin 0 -> 1281 bytes .../themes/lqdvi/languages/es_ES.po | 108 ++++++++++++++++++ .../themes/lqdvi/lib/custom.lib.php | 8 +- src/wp-content/themes/lqdvi/page.php | 6 +- src/wp-content/themes/lqdvi/single.php | 10 +- .../themes/lqdvi/template-press.php | 4 +- .../themes/lqdvi/templates/comments-form.php | 20 ++-- .../lqdvi/templates/template-portfolio-3.php | 4 +- 13 files changed, 215 insertions(+), 31 deletions(-) create mode 100644 src/wp-content/themes/lqdvi/languages/es_ES.mo create mode 100644 src/wp-content/themes/lqdvi/languages/es_ES.po 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 0000000000000000000000000000000000000000..f2667aa226720ebc35e854e3e447f49af06e8952 GIT binary patch literal 1281 zcmYk4O-~d-5QbaCuk{;^8iPq+G?F+gdLoE&zzrb*LD)b%7*fpCE=_j3hwdH_e}Z=t zuU?G@iB}DY#G5}rFJAZqhKnA3YjzjtY|pb@U0wB7cl{pdf2%MCFb6R|V&1|WJBAO& zC$Iu;gLl9$;5l#)JO%y%&w&5H>tJ7Bhc`j-dkBi(IM@$Pf)Z~UJOM6&C&8Cs4a~r+ z;0N$HxC5RBcfqgV5AZzr2AlW5cc5th4ocjg;016G90K>jE8rlKUjv6h(K883-dXS> zxClxejjlZh3F}Sp2KWoaPwnF)et$ufT-GT0dPB6x5REeAjOdqf2~%o@q%sDeE@PgR zKiwhPqz;r>>gt+Hh+cJDPq=oQZ4Bz}3s-oZc9z-%O`Bw*u}$4}8GDMx+3Jv*Ae(Ya z&vV||Qr*LL}>PJ8i?KXKKB((a0=U87uUN>f+Z(!a@>9HF3QI0S04 zdPZ%0Tu+SZBwHv}+9s+x!j-v1V@@G#I-lv>yU1zetg34^vPTv^+=Yq_!<)T;p{kb1 zTGD~GbZ~8kMB5x!4d<2T^}=}0P#fadnAEp&9@UXw#rt`SjD4ijRq}!3<03Yak;;Le zCmR~IBKv?_9MzS%*?KbJxxCcmDMe&}Et%&HBOX1| zGzAEdz%7c-kLqPTw)~_rO}1I!qLMmO8z*O`W@?AQA5@1cori^d^2Xt9>xI9W(FqK8RNAi^X_Ncdtvghg}i_-$vbz?mQRg6EInnU>WIKWuNRCrG^xQ>;4%^HyHM@a~ zss@ccMZMyrADX5NDW^ql;N5Mi>M8tpS@Ak0k#c0Kqj&?&({kZx#;W?Z^Sm&O3pp@r RYBk-sk|N8VVQ(_0{sW08OjiH^ literal 0 HcmV?d00001 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); + ?>