Procházet zdrojové kódy

fixed translation where it was __ and not _e

eddiemachado před 13 roky
rodič
revize
99bd5ba2bf
13 změnil soubory, kde provedl 92 přidání a 92 odebrání
  1. 3 3
      404.php
  2. 6 6
      archive-custom_type.php
  3. 12 12
      archive.php
  4. 2 2
      comments.php
  5. 5 5
      functions.php
  6. 6 6
      index.php
  7. 33 33
      library/custom-post-type.php
  8. 4 4
      page-custom.php
  9. 4 4
      page.php
  10. 4 4
      search.php
  11. 4 4
      single-custom_type.php
  12. 4 4
      single.php
  13. 5 5
      taxonomy-custom_cat.php

+ 3 - 3
404.php

@@ -10,19 +10,19 @@
 						
 							<header class="article-header">
 							
-								<h1><?php __("Epic 404 - Article Not Found", "bonestheme"); ?></h1>
+								<h1><?php _e("Epic 404 - Article Not Found", "bonestheme"); ?></h1>
 						
 							</header> <!-- end article header -->
 					
 							<section class="post-content">
 							
-								<p><?php __("The article you were looking for was not found, try looking for it again!", "bonestheme"); ?></p>
+								<p><?php _e("The article you were looking for was not found, try looking for it again!", "bonestheme"); ?></p>
 					
 							</section> <!-- end article section -->
 						
 							<footer class="article-header">
 							
-							    <p><?php __("This is the 404.php template.", "bonestheme"); ?></p>
+							    <p><?php _e("This is the 404.php template.", "bonestheme"); ?></p>
 							
 							</footer> <!-- end article footer -->
 					

+ 6 - 6
archive-custom_type.php

@@ -16,7 +16,7 @@
 							
 							    <h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
 							
-							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p>
+							    <p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
@@ -41,8 +41,8 @@
 					        <?php } else { // if it is disabled, display regular wp prev & next links ?>
 						        <nav class="wp-prev-next">
 							        <ul class="clearfix">
-								        <li class="prev-link"><?php next_posts_link(__('&laquo; Older Entries', "bonestheme")) ?></li>
-								        <li class="next-link"><?php previous_posts_link(__('Newer Entries &raquo;', "bonestheme")) ?></li>
+								        <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
+								        <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
 							        </ul>
 					    	    </nav>
 					        <?php } ?>
@@ -51,13 +51,13 @@
 					
     					    <article id="post-not-found" class="hentry clearfix">
     						    <header class="article-header">
-    							    <h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+    							    <h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
     					    	</header>
     						    <section class="post-content">
-    							    <p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+    							    <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
         						</section>
     	    					<footer class="article-footer">
-    		    				    <p><?php __("This is the error message in the custom posty type archive template.", "bonestheme"); ?></p>
+    		    				    <p><?php _e("This is the error message in the custom posty type archive template.", "bonestheme"); ?></p>
     			    			</footer>
     				    	</article>
 					

+ 12 - 12
archive.php

@@ -8,32 +8,32 @@
 				
 					    <?php if (is_category()) { ?>
 						    <h1 class="archive-title h2">
-							    <span><?php __("Posts Categorized:", "bonestheme"); ?></span> <?php single_cat_title(); ?>
+							    <span><?php _e("Posts Categorized:", "bonestheme"); ?></span> <?php single_cat_title(); ?>
 					    	</h1>
 					    
 					    <?php } elseif (is_tag()) { ?> 
 						    <h1 class="archive-title h2">
-							    <span><?php __("Posts Tagged:", "bonestheme"); ?></span> <?php single_tag_title(); ?>
+							    <span><?php _e("Posts Tagged:", "bonestheme"); ?></span> <?php single_tag_title(); ?>
 						    </h1>
 					    
 					    <?php } elseif (is_author()) { ?>
 						    <h1 class="archive-title h2">
-						    	<span><?php __("Posts By:", "bonestheme"); ?></span> <?php get_the_author_meta('display_name'); ?>
+						    	<span><?php _e("Posts By:", "bonestheme"); ?></span> <?php get_the_author_meta('display_name'); ?>
 						    </h1>
 					    
 					    <?php } elseif (is_day()) { ?>
 						    <h1 class="archive-title h2">
-	    						<span><?php __("Daily Archives:", "bonestheme"); ?></span> <?php the_time('l, F j, Y'); ?>
+	    						<span><?php _e("Daily Archives:", "bonestheme"); ?></span> <?php the_time('l, F j, Y'); ?>
 						    </h1>
 		
 		    			<?php } elseif (is_month()) { ?>
 			    		    <h1 class="archive-title h2">
-				    	    	<span><?php __("Monthly Archives:", "bonestheme"); ?></span> <?php the_time('F Y'); ?>
+				    	    	<span><?php _e("Monthly Archives:", "bonestheme"); ?></span> <?php the_time('F Y'); ?>
 					        </h1>
 					
 					    <?php } elseif (is_year()) { ?>
 					        <h1 class="archive-title h2">
-					    	    <span><?php __("Yearly Archives:", "bonestheme"); ?></span> <?php the_time('Y'); ?>
+					    	    <span><?php _e("Yearly Archives:", "bonestheme"); ?></span> <?php the_time('Y'); ?>
 					        </h1>
 					    <?php } ?>
 
@@ -45,7 +45,7 @@
 							
 							    <h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
 							
-							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
+							    <p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
@@ -72,8 +72,8 @@
 					        <?php } else { // if it is disabled, display regular wp prev & next links ?>
 						        <nav class="wp-prev-next">
 							        <ul class="clearfix">
-								        <li class="prev-link"><?php next_posts_link(__('&laquo; Older Entries', "bonestheme")) ?></li>
-								        <li class="next-link"><?php previous_posts_link(__('Newer Entries &raquo;', "bonestheme")) ?></li>
+								        <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', "bonestheme")) ?></li>
+								        <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', "bonestheme")) ?></li>
 							        </ul>
 					    	    </nav>
 					        <?php } ?>
@@ -82,13 +82,13 @@
 					
     					    <article id="post-not-found" class="hentry clearfix">
     						    <header class="article-header">
-    							    <h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+    							    <h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
     					    	</header>
     						    <section class="post-content">
-    							    <p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+    							    <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
         						</section>
     	    					<footer class="article-footer">
-    		    				    <p><?php __("This is the error message in the archive.php template.", "bonestheme"); ?></p>
+    		    				    <p><?php _e("This is the error message in the archive.php template.", "bonestheme"); ?></p>
     			    			</footer>
     				    	</article>
 					

+ 2 - 2
comments.php

@@ -9,7 +9,7 @@ The comments page for Bones
 
   if ( post_password_required() ) { ?>
   	<div class="alert help">
-    	<p class="nocomments"><?php __("This post is password protected. Enter the password to view comments.", "bonestheme"); ?></p>
+    	<p class="nocomments"><?php _e("This post is password protected. Enter the password to view comments.", "bonestheme"); ?></p>
   	</div>
   <?php
     return;
@@ -89,7 +89,7 @@ The comments page for Bones
 		<li>
 		  <label for="email"><?php _e("Mail", "bonestheme"); ?> <?php if ($req) echo "(required)"; ?></label>
 		  <input type="email" name="email" id="email" value="<?php echo esc_attr($comment_author_email); ?>" placeholder="<?php _e('Your E-Mail*', 'bonestheme'); ?>" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> />
-		  <small><?php __("(will not be published)", "bonestheme"); ?></small>
+		  <small><?php _e("(will not be published)", "bonestheme"); ?></small>
 		</li>
 		
 		<li>

+ 5 - 5
functions.php

@@ -125,13 +125,13 @@ function bones_comments($comment, $args, $depth) {
 			    <!-- custom gravatar call -->
 			    <img data-gravatar="http://www.gravatar.com/avatar/<?php echo md5($bgauthemail); ?>&s=32" class="load-gravatar avatar avatar-48 photo" height="32" width="32" src="<?php echo get_template_directory_uri(); ?>/library/images/nothing.gif" />
 			    <!-- end custom gravatar call -->
-				<?php printf(__('<cite class="fn">%s</cite>'), get_comment_author_link()) ?>
+				<?php printf(_e('<cite class="fn">%s</cite>'), get_comment_author_link()) ?>
 				<time datetime="<?php echo comment_time('Y-m-j'); ?>"><a href="<?php echo htmlspecialchars( get_comment_link( $comment->comment_ID ) ) ?>"><?php comment_time('F jS, Y'); ?> </a></time>
-				<?php edit_comment_link(__('(Edit)'),'  ','') ?>
+				<?php edit_comment_link(_e('(Edit)'),'  ','') ?>
 			</header>
 			<?php if ($comment->comment_approved == '0') : ?>
        			<div class="alert info">
-          			<p><?php __('Your comment is awaiting moderation.') ?></p>
+          			<p><?php _e('Your comment is awaiting moderation.') ?></p>
           		</div>
 			<?php endif; ?>
 			<section class="comment_content clearfix">
@@ -148,9 +148,9 @@ function bones_comments($comment, $args, $depth) {
 // Search Form
 function bones_wpsearch($form) {
     $form = '<form role="search" method="get" id="searchform" action="' . home_url( '/' ) . '" >
-    <label class="screen-reader-text" for="s">' . __('Search for:', 'bonestheme') . '</label>
+    <label class="screen-reader-text" for="s">' . _e('Search for:', 'bonestheme') . '</label>
     <input type="text" value="' . get_search_query() . '" name="s" id="s" placeholder="Search the Site..." />
-    <input type="submit" id="searchsubmit" value="'. esc_attr__('Search') .'" />
+    <input type="submit" id="searchsubmit" value="'. esc_attr_e('Search') .'" />
     </form>';
     return $form;
 } // don't remove this bracket!

+ 6 - 6
index.php

@@ -14,7 +14,7 @@
 							
 							    <h1 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
 							
-							    <p class="meta"><?php __('Posted', 'bonestheme'); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time(get_option('date_format')); ?></time> <?php __('by', 'bonestheme'); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __('filed under', 'bonestheme'); ?> <?php the_category(', '); ?>.</p>
+							    <p class="meta"><?php _e('Posted', 'bonestheme'); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time(get_option('date_format')); ?></time> <?php _e('by', 'bonestheme'); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php _e('filed under', 'bonestheme'); ?> <?php the_category(', '); ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
@@ -41,8 +41,8 @@
 					        <?php } else { // if it is disabled, display regular wp prev & next links ?>
 						        <nav class="wp-prev-next">
 							        <ul class="clearfix">
-								        <li class="prev-link"><?php next_posts_link(__('&laquo; Older Entries', 'bonestheme')) ?></li>
-								        <li class="next-link"><?php previous_posts_link(__('Newer Entries &raquo;', 'bonestheme')) ?></li>
+								        <li class="prev-link"><?php next_posts_link(_e('&laquo; Older Entries', 'bonestheme')) ?></li>
+								        <li class="next-link"><?php previous_posts_link(_e('Newer Entries &raquo;', 'bonestheme')) ?></li>
 							        </ul>
 						        </nav>
 					        <?php } ?>		
@@ -51,13 +51,13 @@
 					    
 					        <article id="post-not-found" class="hentry clearfix">
 					            <header class="article-header">
-					        	    <h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+					        	    <h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
 					        	</header>
 					            <section class="post-content">
-					        	    <p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+					        	    <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
 					        	</section>
 					        	<footer class="article-footer">
-					        	    <p><?php __("This is the error message in the index.php template.", "bonestheme"); ?></p>
+					        	    <p><?php _e("This is the error message in the index.php template.", "bonestheme"); ?></p>
 					        	</footer>
 					        </article>
 					

+ 33 - 33
library/custom-post-type.php

@@ -21,21 +21,21 @@ function custom_post_example() {
 	register_post_type( 'custom_type', /* (http://codex.wordpress.org/Function_Reference/register_post_type) */
 	 	// let's now add all the options for this post type
 		array('labels' => array(
-			'name' => __('Custom Types', 'post type general name'), /* This is the Title of the Group */
-			'singular_name' => __('Custom Post', 'post type singular name'), /* This is the individual type */
-			'all_items' => __('All Custom Posts'), /* the all items menu item */
-			'add_new' => __('Add New', 'custom post type item'), /* The add new menu item */
-			'add_new_item' => __('Add New Custom Type'), /* Add New Display Title */
-			'edit' => __( 'Edit' ), /* Edit Dialog */
-			'edit_item' => __('Edit Post Types'), /* Edit Display Title */
-			'new_item' => __('New Post Type'), /* New Display Title */
-			'view_item' => __('View Post Type'), /* View Display Title */
-			'search_items' => __('Search Post Type'), /* Search Custom Type Title */ 
-			'not_found' =>  __('Nothing found in the Database.'), /* This displays if there are no entries yet */ 
-			'not_found_in_trash' => __('Nothing found in Trash'), /* This displays if there is nothing in the trash */
+			'name' => _e('Custom Types', 'post type general name'), /* This is the Title of the Group */
+			'singular_name' => _e('Custom Post', 'post type singular name'), /* This is the individual type */
+			'all_items' => _e('All Custom Posts'), /* the all items menu item */
+			'add_new' => _e('Add New', 'custom post type item'), /* The add new menu item */
+			'add_new_item' => _e('Add New Custom Type'), /* Add New Display Title */
+			'edit' => _e( 'Edit' ), /* Edit Dialog */
+			'edit_item' => _e('Edit Post Types'), /* Edit Display Title */
+			'new_item' => _e('New Post Type'), /* New Display Title */
+			'view_item' => _e('View Post Type'), /* View Display Title */
+			'search_items' => _e('Search Post Type'), /* Search Custom Type Title */ 
+			'not_found' =>  _e('Nothing found in the Database.'), /* This displays if there are no entries yet */ 
+			'not_found_in_trash' => _e('Nothing found in Trash'), /* This displays if there is nothing in the trash */
 			'parent_item_colon' => ''
 			), /* end of arrays */
-			'description' => __( 'This is the example custom post type' ), /* Custom Type Description */
+			'description' => _e( 'This is the example custom post type' ), /* Custom Type Description */
 			'public' => true,
 			'publicly_queryable' => true,
 			'exclude_from_search' => false,
@@ -72,16 +72,16 @@ function custom_post_example() {
     	array('custom_type'), /* if you change the name of register_post_type( 'custom_type', then you have to change this */
     	array('hierarchical' => true,     /* if this is true it acts like categories */             
     		'labels' => array(
-    			'name' => __( 'Custom Categories' ), /* name of the custom taxonomy */
-    			'singular_name' => __( 'Custom Category' ), /* single taxonomy name */
-    			'search_items' =>  __( 'Search Custom Categories' ), /* search title for taxomony */
-    			'all_items' => __( 'All Custom Categories' ), /* all title for taxonomies */
-    			'parent_item' => __( 'Parent Custom Category' ), /* parent title for taxonomy */
-    			'parent_item_colon' => __( 'Parent Custom Category:' ), /* parent taxonomy title */
-    			'edit_item' => __( 'Edit Custom Category' ), /* edit custom taxonomy title */
-    			'update_item' => __( 'Update Custom Category' ), /* update title for taxonomy */
-    			'add_new_item' => __( 'Add New Custom Category' ), /* add new title for taxonomy */
-    			'new_item_name' => __( 'New Custom Category Name' ) /* name title for taxonomy */
+    			'name' => _e( 'Custom Categories' ), /* name of the custom taxonomy */
+    			'singular_name' => _e( 'Custom Category' ), /* single taxonomy name */
+    			'search_items' =>  _e( 'Search Custom Categories' ), /* search title for taxomony */
+    			'all_items' => _e( 'All Custom Categories' ), /* all title for taxonomies */
+    			'parent_item' => _e( 'Parent Custom Category' ), /* parent title for taxonomy */
+    			'parent_item_colon' => _e( 'Parent Custom Category:' ), /* parent taxonomy title */
+    			'edit_item' => _e( 'Edit Custom Category' ), /* edit custom taxonomy title */
+    			'update_item' => _e( 'Update Custom Category' ), /* update title for taxonomy */
+    			'add_new_item' => _e( 'Add New Custom Category' ), /* add new title for taxonomy */
+    			'new_item_name' => _e( 'New Custom Category Name' ) /* name title for taxonomy */
     		),
     		'show_ui' => true,
     		'query_var' => true,
@@ -93,16 +93,16 @@ function custom_post_example() {
     	array('custom_type'), /* if you change the name of register_post_type( 'custom_type', then you have to change this */
     	array('hierarchical' => false,    /* if this is false, it acts like tags */                
     		'labels' => array(
-    			'name' => __( 'Custom Tags' ), /* name of the custom taxonomy */
-    			'singular_name' => __( 'Custom Tag' ), /* single taxonomy name */
-    			'search_items' =>  __( 'Search Custom Tags' ), /* search title for taxomony */
-    			'all_items' => __( 'All Custom Tags' ), /* all title for taxonomies */
-    			'parent_item' => __( 'Parent Custom Tag' ), /* parent title for taxonomy */
-    			'parent_item_colon' => __( 'Parent Custom Tag:' ), /* parent taxonomy title */
-    			'edit_item' => __( 'Edit Custom Tag' ), /* edit custom taxonomy title */
-    			'update_item' => __( 'Update Custom Tag' ), /* update title for taxonomy */
-    			'add_new_item' => __( 'Add New Custom Tag' ), /* add new title for taxonomy */
-    			'new_item_name' => __( 'New Custom Tag Name' ) /* name title for taxonomy */
+    			'name' => _e( 'Custom Tags' ), /* name of the custom taxonomy */
+    			'singular_name' => _e( 'Custom Tag' ), /* single taxonomy name */
+    			'search_items' =>  _e( 'Search Custom Tags' ), /* search title for taxomony */
+    			'all_items' => _e( 'All Custom Tags' ), /* all title for taxonomies */
+    			'parent_item' => _e( 'Parent Custom Tag' ), /* parent title for taxonomy */
+    			'parent_item_colon' => _e( 'Parent Custom Tag:' ), /* parent taxonomy title */
+    			'edit_item' => _e( 'Edit Custom Tag' ), /* edit custom taxonomy title */
+    			'update_item' => _e( 'Update Custom Tag' ), /* update title for taxonomy */
+    			'add_new_item' => _e( 'Add New Custom Tag' ), /* add new title for taxonomy */
+    			'new_item_name' => _e( 'New Custom Tag Name' ) /* name title for taxonomy */
     		),
     		'show_ui' => true,
     		'query_var' => true,

+ 4 - 4
page-custom.php

@@ -20,7 +20,7 @@ Template Name: Custom Page Example
 							
 							    <h1 class="page-title"><?php the_title(); ?></h1>
 							
-							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p>
+							    <p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
@@ -44,13 +44,13 @@ Template Name: Custom Page Example
 					
         					<article id="post-not-found" class="hentry clearfix">
         					    <header class="article-header">
-        						    <h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+        						    <h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
         						</header>
         					    <section class="post-content">
-        						    <p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+        						    <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
         						</section>
         						<footer class="article-footer">
-        						    <p><?php __("This is the error message in the page-custom.php template.", "bonestheme"); ?></p>
+        						    <p><?php _e("This is the error message in the page-custom.php template.", "bonestheme"); ?></p>
         						</footer>
         					</article>
 					

+ 4 - 4
page.php

@@ -14,7 +14,7 @@
 							
 							    <h1 class="page-title" itemprop="headline"><?php the_title(); ?></h1>
 							
-							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p>
+							    <p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
@@ -38,13 +38,13 @@
 					
     					    <article id="post-not-found" class="hentry clearfix">
     					    	<header class="article-header">
-    					    		<h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+    					    		<h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
     					    	</header>
     					    	<section class="post-content">
-    					    		<p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+    					    		<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
     					    	</section>
     					    	<footer class="article-footer">
-    					    	    <p><?php __("This is the error message in the page.php template.", "bonestheme"); ?></p>
+    					    	    <p><?php _e("This is the error message in the page.php template.", "bonestheme"); ?></p>
     					    	</footer>
     					    </article>
 					

+ 4 - 4
search.php

@@ -16,7 +16,7 @@
 							
 									<h3 class="search-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
 							
-									<p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
+									<p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
 						
 								</header> <!-- end article header -->
 					
@@ -50,13 +50,13 @@
 					
     					    <article id="post-not-found" class="hentry clearfix">
     					    	<header class="article-header">
-    					    		<h1><?php __("Sorry, No Results.", "bonestheme"); ?></h1>
+    					    		<h1><?php _e("Sorry, No Results.", "bonestheme"); ?></h1>
     					    	</header>
     					    	<section class="post-content">
-    					    		<p><?php __("UTry your search again.", "bonestheme"); ?></p>
+    					    		<p><?php _e("UTry your search again.", "bonestheme"); ?></p>
     					    	</section>
     					    	<footer class="article-footer">
-    					    	    <p><?php __("This is the error message in the search.php template.", "bonestheme"); ?></p>
+    					    	    <p><?php _e("This is the error message in the search.php template.", "bonestheme"); ?></p>
     					    	</footer>
     					    </article>
 					

+ 4 - 4
single-custom_type.php

@@ -29,7 +29,7 @@ single-bookmarks.php
 							
 							    <h1 class="single-title custom-post-type-title"><?php the_title(); ?></h1>
 							
-							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
+							    <p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
@@ -55,13 +55,13 @@ single-bookmarks.php
 					
         					<article id="post-not-found" class="hentry clearfix">
         						<header class="article-header">
-        							<h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+        							<h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
         						</header>
         						<section class="post-content">
-        							<p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+        							<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
         						</section>
         						<footer class="article-footer">
-        						    <p><?php __("This is the error message in the single-custom_type.php template.", "bonestheme"); ?></p>
+        						    <p><?php _e("This is the error message in the single-custom_type.php template.", "bonestheme"); ?></p>
         						</footer>
         					</article>
 					

+ 4 - 4
single.php

@@ -14,7 +14,7 @@
 							
 									<h1 class="single-title" itemprop="headline"><?php the_title(); ?></h1>
 							
-									<p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
+									<p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php the_category(', '); ?>.</p>
 						
 								</header> <!-- end article header -->
 					
@@ -38,13 +38,13 @@
 					
 							<article id="post-not-found" class="hentry clearfix">
 					    		<header class="article-header">
-					    			<h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+					    			<h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
 					    		</header>
 					    		<section class="post-content">
-					    			<p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+					    			<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
 					    		</section>
 					    		<footer class="article-footer">
-					    		    <p><?php __("This is the error message in the single.php template.", "bonestheme"); ?></p>
+					    		    <p><?php _e("This is the error message in the single.php template.", "bonestheme"); ?></p>
 					    		</footer>
 							</article>
 					

+ 5 - 5
taxonomy-custom_cat.php

@@ -21,7 +21,7 @@ taxonomy-shoes.php
 			
 				    <div id="main" class="eightcol first clearfix" role="main">
 				
-					    <h1 class="archive-title h2"><span><?php __("Posts Categorized:", "bonestheme"); ?></span> <?php single_cat_title(); ?></h1>
+					    <h1 class="archive-title h2"><span><?php _e("Posts Categorized:", "bonestheme"); ?></span> <?php single_cat_title(); ?></h1>
 
 					    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 					
@@ -31,7 +31,7 @@ taxonomy-shoes.php
 							
 							    <h3 class="h2"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h3>
 							
-							    <p class="meta"><?php __("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php __("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php __("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
+							    <p class="meta"><?php _e("Posted", "bonestheme"); ?> <time datetime="<?php echo the_time('Y-m-j'); ?>" pubdate><?php the_time('F jS, Y'); ?></time> <?php _e("by", "bonestheme"); ?> <?php the_author_posts_link(); ?> <span class="amp">&</span> <?php _e("filed under", "bonestheme"); ?> <?php echo get_the_term_list( get_the_ID(), 'custom_cat', "" ) ?>.</p>
 						
 						    </header> <!-- end article header -->
 					
@@ -66,13 +66,13 @@ taxonomy-shoes.php
 					
         					<article id="post-not-found" class="hentry clearfix">
         						<header class="article-header">
-        							<h1><?php __("Oops, Post Not Found!", "bonestheme"); ?></h1>
+        							<h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
         						</header>
         						<section class="post-content">
-        							<p><?php __("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
+        							<p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
         						</section>
         						<footer class="article-footer">
-        						    <p><?php __("This is the error message in the taxonomy-custom_cat.php template.", "bonestheme"); ?></p>
+        						    <p><?php _e("This is the error message in the taxonomy-custom_cat.php template.", "bonestheme"); ?></p>
         						</footer>
         					</article>