[cc-commits] [CC SVN] r14207 - ccwordpress/branches/i18n/www/wp-content/themes/cc5

webmaster at creativecommons.org webmaster at creativecommons.org
Mon Mar 1 17:59:05 EST 2010


Author: leo_arias
Date: 2010-03-01 22:59:05 +0000 (Mon, 01 Mar 2010)
New Revision: 14207

Modified:
   ccwordpress/branches/i18n/www/wp-content/themes/cc5/category.php
   ccwordpress/branches/i18n/www/wp-content/themes/cc5/cc5.pot
   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 functions to category.php


Modified: ccwordpress/branches/i18n/www/wp-content/themes/cc5/category.php
===================================================================
--- ccwordpress/branches/i18n/www/wp-content/themes/cc5/category.php	2010-03-01 22:53:41 UTC (rev 14206)
+++ ccwordpress/branches/i18n/www/wp-content/themes/cc5/category.php	2010-03-01 22:59:05 UTC (rev 14207)
@@ -23,13 +23,13 @@
               <div class="block blog sideContentSpace" id="post-<?php the_ID(); ?>">
                 <h1 class="title">
                   <a href="<? the_permalink() ?>">
-                   <?php if (in_category(4) || in_category(7)) { ?>CC Talks With: <?php } ?> 
+                   <?php if (in_category(4) || in_category(7)) { _e('CC Talks With: ', 'cc5'); } ?> 
                    <?php the_title() ?>
                   </a>
                 </h1>
                 <h4 class="meta"><?php the_author() ?>, <?php the_time('F jS, Y')?></h4>
-                <?php the_content("Read More..."); ?>
-                <?php edit_post_link('Edit', '', ' |'); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> 
+                <?php the_content(__('Read More...', 'cc5')); ?>
+                <?php edit_post_link(__('Edit', 'cc5'), '', ' |'); ?> <?php comments_popup_link(__('No Comments &#187;', 'cc5'), __('1 Comment &#187;', 'cc5'), __('% Comments &#187;', 'cc5')); ?> 
 <?php if (get_the_tags()) { ?>
                 <div class="postTags">
 <?php
@@ -47,15 +47,15 @@
             if ( function_exists('wp_pagenavi') ) {
                 wp_pagenavi();
             } else {
-                posts_nav_link(' &mdash; ', 'previous page', 'next page');
+                posts_nav_link(' &mdash; ', __('previous page', 'cc5'), __('next page', 'cc5'));
             }
             ?>
             </div>
 
             <div id="archives">
 
-			<strong><a href="/<?php echo $category->slug; ?>/rss">Subscribe to RSS</a></strong><br/><br/>
-<!--			  <h4>Archives</h4> 
+			<strong><a href="/<?php echo $category->slug; ?>/rss"><?php _e('Subscribe to RSS', 'cc5'); ?></a></strong><br/><br/>
+<!--			  <h4><?php _e('Archives', 'cc5'); ?></h4> 
               <ul class="archives">
                 <?php cc_get_cat_archives($cat, 'monthly', '', 'html', '', '', TRUE); ?>
               </ul>

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:53:41 UTC (rev 14206)
+++ ccwordpress/branches/i18n/www/wp-content/themes/cc5/cc5.pot	2010-03-01 22:59:05 UTC (rev 14207)
@@ -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:51-0600\n"
+"POT-Creation-Date: 2010-03-01 16:57-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"
@@ -44,43 +44,43 @@
 msgid "ccSearch"
 msgstr ""
 
-#: archive.php:24 category-7.php:32 index.php:188
+#: archive.php:24 category-7.php:32 category.php:26 index.php:188
 msgid "CC Talks With: "
 msgstr ""
 
-#: archive.php:29
+#: archive.php:29 category.php:31
 msgid "Read More..."
 msgstr ""
 
-#: archive.php:30 category-7.php:37
+#: archive.php:30 category-7.php:37 category.php:32
 msgid "Edit"
 msgstr ""
 
-#: archive.php:30 category-7.php:37
+#: archive.php:30 category-7.php:37 category.php:32
 msgid "No Comments &#187;"
 msgstr ""
 
-#: archive.php:30 category-7.php:37
+#: archive.php:30 category-7.php:37 category.php:32
 msgid "1 Comment &#187;"
 msgstr ""
 
-#: archive.php:30 category-7.php:37
+#: archive.php:30 category-7.php:37 category.php:32
 msgid "% Comments &#187;"
 msgstr ""
 
-#: archive.php:47 category-7.php:48
+#: archive.php:47 category-7.php:48 category.php:50
 msgid "previous page"
 msgstr ""
 
-#: archive.php:47 category-7.php:48
+#: archive.php:47 category-7.php:48 category.php:50
 msgid "next page"
 msgstr ""
 
-#: archive.php:54 category-7.php:54
+#: archive.php:54 category-7.php:54 category.php:57
 msgid "Subscribe to RSS"
 msgstr ""
 
-#: archive.php:55 category-7.php:55
+#: archive.php:55 category-7.php:55 category.php:58
 msgid "Archives"
 msgstr ""
 

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:53:41 UTC (rev 14206)
+++ ccwordpress/branches/i18n/www/wp-content/themes/cc5/es_ES.po	2010-03-01 22:59:05 UTC (rev 14207)
@@ -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:51-0600\n"
+"POT-Creation-Date: 2010-03-01 16:57-0600\n"
 "PO-Revision-Date: \n"
 "Last-Translator: Leo Arias <yo at elopio.net>\n"
 "Language-Team: \n"
@@ -46,51 +46,61 @@
 
 #: archive.php:24
 #: category-7.php:32
+#: category.php:26
 #: index.php:188
 msgid "CC Talks With: "
 msgstr "Charlas CC con:"
 
 #: archive.php:29
+#: category.php:31
 msgid "Read More..."
 msgstr "Leer más..."
 
 #: archive.php:30
 #: category-7.php:37
+#: category.php:32
 msgid "Edit"
 msgstr "Editar"
 
 #: archive.php:30
 #: category-7.php:37
+#: category.php:32
 msgid "No Comments &#187;"
 msgstr "No hay comentarios &#187;"
 
 #: archive.php:30
 #: category-7.php:37
+#: category.php:32
 msgid "1 Comment &#187;"
 msgstr "1 comentario &#187;"
 
 #: archive.php:30
 #: category-7.php:37
+#: category.php:32
 msgid "% Comments &#187;"
 msgstr "% comentarios &#187;"
 
 #: archive.php:47
 #: category-7.php:48
+#: category.php:50
 msgid "previous page"
 msgstr "página anterior"
 
 #: archive.php:47
 #: category-7.php:48
+#: category.php:50
 msgid "next page"
 msgstr "página siguiente"
 
 #: archive.php:54
 #: category-7.php:54
+#: category.php:57
 msgid "Subscribe to RSS"
 msgstr "Suscribirse al RSS"
 
 #: archive.php:55
 #: category-7.php:55
+#: category.php:58
 msgid "Archives"
 msgstr "Archivos"
 




More information about the cc-commits mailing list