[cc-commits] [CC SVN] r14208 - ccwordpress/branches/i18n/www/wp-content/themes/cc5
webmaster at creativecommons.org
webmaster at creativecommons.org
Mon Mar 1 18:40:46 EST 2010
Author: leo_arias
Date: 2010-03-01 23:40:46 +0000 (Mon, 01 Mar 2010)
New Revision: 14208
Modified:
ccwordpress/branches/i18n/www/wp-content/themes/cc5/cc5.pot
ccwordpress/branches/i18n/www/wp-content/themes/cc5/comments.php
ccwordpress/branches/i18n/www/wp-content/themes/cc5/es_ES.mo
ccwordpress/branches/i18n/www/wp-content/themes/cc5/es_ES.po
Log:
Added i18n funtions to comments.php.
Modified: ccwordpress/branches/i18n/www/wp-content/themes/cc5/cc5.pot
===================================================================
--- ccwordpress/branches/i18n/www/wp-content/themes/cc5/cc5.pot 2010-03-01 22:59:05 UTC (rev 14207)
+++ ccwordpress/branches/i18n/www/wp-content/themes/cc5/cc5.pot 2010-03-01 23:40:46 UTC (rev 14208)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: Creative Commons 5.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/cc5\n"
-"POT-Creation-Date: 2010-03-01 16:57-0600\n"
+"POT-Creation-Date: 2010-03-01 17:36-0600\n"
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
"Language-Team: LANGUAGE <LL at li.org>\n"
@@ -139,6 +139,93 @@
msgid "Upcoming Project Jurisdictions"
msgstr ""
+#: comments.php:3
+msgid "Please do not load this page directly. Thanks!"
+msgstr ""
+
+#: comments.php:9
+msgid "This post is password protected. Enter the password to view comments."
+msgstr ""
+
+#: comments.php:23
+msgid "No Responses"
+msgstr ""
+
+#: comments.php:23
+msgid "One Response"
+msgstr ""
+
+#: comments.php:23
+msgid "% Responses"
+msgstr ""
+
+#: comments.php:23
+msgid "to"
+msgstr ""
+
+#: comments.php:32
+msgid "Your comment is awaiting moderation."
+msgstr ""
+
+#: comments.php:36
+msgctxt "time"
+msgid "at"
+msgstr ""
+
+#: comments.php:65
+msgid "Leave a Comment"
+msgstr ""
+
+#: comments.php:68
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr ""
+
+#: comments.php:75
+#, php-format
+msgid "Logged in as <a href=\"%s\">%s</a>."
+msgstr ""
+
+#: comments.php:75
+msgid "Log out of this account"
+msgstr ""
+
+#: comments.php:75
+msgid "Logout »"
+msgstr ""
+
+#: comments.php:80
+msgid "Name"
+msgstr ""
+
+#: comments.php:80 comments.php:83
+msgid "(required)"
+msgstr ""
+
+#: comments.php:83
+msgid "Mail (will not be published)"
+msgstr ""
+
+#: comments.php:86
+msgid "Website"
+msgstr ""
+
+#: comments.php:88
+msgid "OpenID URL"
+msgstr ""
+
+#: comments.php:90
+msgid ""
+"Name and Mail are not required fields if you authenticate your comment with "
+"OpenID."
+msgstr ""
+
+#: comments.php:102
+msgid ""
+"Your first comments will be held for moderation, until your email address is "
+"approved."
+msgstr ""
+
#: footer.php:5
msgid "Top"
msgstr ""
Modified: ccwordpress/branches/i18n/www/wp-content/themes/cc5/comments.php
===================================================================
--- ccwordpress/branches/i18n/www/wp-content/themes/cc5/comments.php 2010-03-01 22:59:05 UTC (rev 14207)
+++ ccwordpress/branches/i18n/www/wp-content/themes/cc5/comments.php 2010-03-01 23:40:46 UTC (rev 14208)
@@ -1,12 +1,12 @@
<?php // Do not delete these lines
if ('comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
- die ('Please do not load this page directly. Thanks!');
+ die (__('Please do not load this page directly. Thanks!', 'cc5'));
if (!empty($post->post_password)) { // if there's a password
if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie
?>
- <p class="nocomments">This post is password protected. Enter the password to view comments.<p>
+ <p class="nocomments"><?php _e('This post is password protected. Enter the password to view comments.', 'cc5'); ?><p>
<?php
return;
@@ -20,7 +20,7 @@
<!-- You can start editing here. -->
<?php if ($comments) : ?>
- <h3 id="comments"><?php comments_number('No Responses', 'One Response', '% Responses' );?> to “<?php the_title(); ?>”</h3>
+ <h3 id="comments"><?php comments_number(__('No Responses', 'cc5'), __('One Response', 'cc5'), __('% Responses', 'cc5')); ?> <?php echo _e('to', 'cc5'); ?> “<?php the_title(); ?>”</h3>
<div class="commentlist">
@@ -29,11 +29,11 @@
<div class="comment <?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
<h4><?php comment_author_link() ?></h4>
<?php if ($comment->comment_approved == '0') : ?>
- <em>— Your comment is awaiting moderation.</em>
+ <em>— <?php _e('Your comment is awaiting moderation.', 'cc5'); ?></em>
<br />
<?php endif; ?>
- <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
+ <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> <?php echo _x('at', 'time', 'cc5');?> <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
<?php comment_text() ?>
@@ -62,32 +62,32 @@
<?php if ('open' == $post->comment_status) : ?>
-<h3 id="respond">Leave a Comment</h3>
+<h3 id="respond"><?php _e('Leave a Comment', 'cc5'); ?></h3>
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>
-<p>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php the_permalink(); ?>">logged in</a> to post a comment.</p>
+<p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.', 'cc5'), get_option('siteurl') . 'wp-login.php?redirect_to=' . the_permalink()) ?></p>
<?php else : ?>
<form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>
-<p>Logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="Log out of this account">Logout »</a></p>
+<p><?php printf(__('Logged in as <a href="%s">%s</a>.', 'cc5'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account', 'cc5'); ?>"><?php _e('Logout »', 'cc5'); ?></a></p>
<?php else : ?>
<p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
-<label for="author"><small>Name <?php if ($req) echo "(required)"; ?></small></label></p>
+<label for="author"><small><?php _e('Name', 'cc5'); ?> <?php if ($req) _e('(required)', 'cc5'); ?></small></label></p>
<p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />
-<label for="email"><small>Mail (will not be published) <?php if ($req) echo "(required)"; ?></small></label></p>
+<label for="email"><small><?php _e('Mail (will not be published)', 'cc5'); ?> <?php if ($req) _e('(required)', 'cc5'); ?></small></label></p>
<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />
-<label for="url"><small>Website</small></label></p>
+<label for="url"><small><?php _e('Website', 'cc5'); ?></small></label></p>
-<p><input type="text" name="openid_identifier" id="openid_identifier" /><label for="openid_identifier"><small>OpenID URL</small></label></p>
+<p><input type="text" name="openid_identifier" id="openid_identifier" /><label for="openid_identifier"><small><?php _e('OpenID URL', 'cc5'); ?></small></label></p>
-<p><small>Name and Mail are not required fields if you authenticate your comment with OpenID.</small></p>
+<p><small><?php _e('Name and Mail are not required fields if you authenticate your comment with OpenID.', 'cc5'); ?></small></p>
<?php endif; ?>
@@ -99,7 +99,7 @@
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
</p>
-<p><small>Your first comments will be held for moderation, until your email address is approved.</small></p>
+<p><small><?php _e('Your first comments will be held for moderation, until your email address is approved.', 'cc5'); ?></small></p>
<?php do_action('comment_form', $post->ID); ?>
Modified: ccwordpress/branches/i18n/www/wp-content/themes/cc5/es_ES.mo
===================================================================
(Binary files differ)
Modified: ccwordpress/branches/i18n/www/wp-content/themes/cc5/es_ES.po
===================================================================
--- ccwordpress/branches/i18n/www/wp-content/themes/cc5/es_ES.po 2010-03-01 22:59:05 UTC (rev 14207)
+++ ccwordpress/branches/i18n/www/wp-content/themes/cc5/es_ES.po 2010-03-01 23:40:46 UTC (rev 14208)
@@ -7,7 +7,7 @@
msgstr ""
"Project-Id-Version: Creative Commons 5.0\n"
"Report-Msgid-Bugs-To: http://wordpress.org/tag/cc5\n"
-"POT-Creation-Date: 2010-03-01 16:57-0600\n"
+"POT-Creation-Date: 2010-03-01 17:36-0600\n"
"PO-Revision-Date: \n"
"Last-Translator: Leo Arias <yo at elopio.net>\n"
"Language-Team: \n"
@@ -144,6 +144,90 @@
msgid "Upcoming Project Jurisdictions"
msgstr "Próximas jurisdicciones en proyecto"
+#: comments.php:3
+msgid "Please do not load this page directly. Thanks!"
+msgstr "Por favor no carge esta página directamente. ¡Gracias!"
+
+#: comments.php:9
+msgid "This post is password protected. Enter the password to view comments."
+msgstr "Esta entrada está protegica con contraseña. Ingrese la contraseña para ver los comentarios."
+
+#: comments.php:23
+msgid "No Responses"
+msgstr "No hay respuestas"
+
+#: comments.php:23
+msgid "One Response"
+msgstr "Una respuesta"
+
+#: comments.php:23
+msgid "% Responses"
+msgstr "% respuestas"
+
+#: comments.php:23
+msgid "to"
+msgstr "para"
+
+#: comments.php:32
+msgid "Your comment is awaiting moderation."
+msgstr "Su comentario está esperando moderación."
+
+#: comments.php:36
+msgctxt "time"
+msgid "at"
+msgstr "a las"
+
+#: comments.php:65
+msgid "Leave a Comment"
+msgstr "Deje un comentario"
+
+#: comments.php:68
+#, php-format
+msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
+msgstr "Usted debe <a href=\"%s\">iniciar sesión</a> para enviar un comentario."
+
+#: comments.php:75
+#, php-format
+msgid "Logged in as <a href=\"%s\">%s</a>."
+msgstr "Sesión iniciada como <a href=\"%s\">%s</a>."
+
+#: comments.php:75
+msgid "Log out of this account"
+msgstr "Cerrar la sesión de esta cuenta"
+
+#: comments.php:75
+msgid "Logout »"
+msgstr "Cerrar sesión »"
+
+#: comments.php:80
+msgid "Name"
+msgstr "Nombre"
+
+#: comments.php:80
+#: comments.php:83
+msgid "(required)"
+msgstr "(requerido)"
+
+#: comments.php:83
+msgid "Mail (will not be published)"
+msgstr "Correo (no será publicado)"
+
+#: comments.php:86
+msgid "Website"
+msgstr "Sitio web"
+
+#: comments.php:88
+msgid "OpenID URL"
+msgstr "URL de OpenID"
+
+#: comments.php:90
+msgid "Name and Mail are not required fields if you authenticate your comment with OpenID."
+msgstr "El nombre y correo no son campos requeridos si usted autentica su comentario con OpenID."
+
+#: comments.php:102
+msgid "Your first comments will be held for moderation, until your email address is approved."
+msgstr "Sus primeros comentarios serán mantenidos en moderación, hasta que su dirección de correo electrónica sea aprobada."
+
#: footer.php:5
msgid "Top"
msgstr "Arriba"
More information about the cc-commits
mailing list