Skip to content
Permalink
Browse files

Changed all translation domains to use simple-bootstrap instead of de…

…fault
  • Loading branch information...
nicolas-van committed May 29, 2015
1 parent d0e74ee commit 5cabd4f69e7c48e728ce813e9a0c1a563d20282b
Showing with 26 additions and 26 deletions.
  1. +1 −1 404.php
  2. +1 −1 archive.php
  3. +1 −1 attachment.php
  4. +4 −4 comments.php
  5. +1 −1 footer.php
  6. +4 −4 functions.php
  7. +1 −1 header.php
  8. +3 −3 image.php
  9. +1 −1 index.php
  10. +1 −1 page-full-width.php
  11. +1 −1 page.php
  12. +2 −2 search.php
  13. +2 −2 searchform.php
  14. +3 −3 single.php
@@ -9,7 +9,7 @@
<section class="post_content">

<p>
<?php _e("Page not found", "default"); ?>
<?php _e("Page not found", "simple-bootstrap"); ?>
</p>
<?php get_search_form(); ?>

@@ -23,7 +23,7 @@
<?php else : ?>

<article id="post-not-found" class="block">
<p><?php _e("No items found.", "default"); ?></p>
<p><?php _e("No items found.", "simple-bootstrap"); ?></p>
</article>

<?php endif; ?>
@@ -15,7 +15,7 @@
<?php else : ?>

<article id="post-not-found" class="block">
<p><?php _e("No items found.", "default"); ?></p>
<p><?php _e("No items found.", "simple-bootstrap"); ?></p>
</article>

<?php endif; ?>
@@ -2,7 +2,7 @@
if ( post_password_required() ) { ?>
<div id="comments" class="block">
<?php _e("This post is password protected. Enter the password to view comments.", "default"); ?>
<?php _e("This post is password protected. Enter the password to view comments.", "simple-bootstrap"); ?>
</div>
<?php
return;
@@ -14,7 +14,7 @@
<div id="comments" class="block">

<?php if ( have_comments() ) : ?>
<h3><?php echo __("Comments", "default")?></h3>
<h3><?php echo __("Comments", "simple-bootstrap")?></h3>

<ol class="commentlist">
<?php wp_list_comments( array(
@@ -27,8 +27,8 @@
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>
<ul id="comment-nav-below" class="navigation comment-navigation" role="navigation">
<ul class="pager">
<li class="previous"><?php previous_comments_link( __("&laquo; Older Comments", "default") ); ?></li>
<li class="next"><?php next_comments_link( __("Newer Comments &raquo;", "default") ); ?></li>
<li class="previous"><?php previous_comments_link( __("&laquo; Older Comments", "simple-bootstrap") ); ?></li>
<li class="next"><?php next_comments_link( __("Newer Comments &raquo;", "simple-bootstrap") ); ?></li>
</ul>
</ul>
<?php endif; ?>
@@ -10,7 +10,7 @@

<div class="col-xs-12 text-center">
<p><?php _e('Copyright 2015 <a href="https://github.com/nicolas-van">@nicolas-van</a>', 'simple-bootstrap') ?></p>
<p><?php _e("Powered by WordPress", "default"); ?></p>
<p><?php _e("Powered by WordPress", "simple-bootstrap"); ?></p>
</div>
</div>
</div>
@@ -197,11 +197,11 @@ function simple_bootstrap_display_post_meta() {
<li>
<?php
$sp = '<span class="glyphicon glyphicon-comment"></span> ';
comments_popup_link($sp . __( 'Leave a comment', "default"), $sp . __( '1 Comment', "default"), $sp . __( '% Comments', "default"));
comments_popup_link($sp . __( 'Leave a comment', "simple-bootstrap"), $sp . __( '1 Comment', "simple-bootstrap"), $sp . __( '% Comments', "simple-bootstrap"));
?>
</li>
<?php endif; ?>
<?php edit_post_link(__( 'Edit', "default"), '<li><span class="glyphicon glyphicon-pencil"></span> ', '</li>'); ?>
<?php edit_post_link(__( 'Edit', "simple-bootstrap"), '<li><span class="glyphicon glyphicon-pencil"></span> ', '</li>'); ?>
</ul>

<?php
@@ -215,8 +215,8 @@ function simple_boostrap_page_navi() {
<?php if (get_next_posts_link() || get_previous_posts_link()) { ?>
<nav class="block">
<ul class="pager pager-unspaced">
<li class="previous"><?php next_posts_link("&laquo; " . __('Older posts', "default")); ?></li>
<li class="next"><?php previous_posts_link(__('Newer posts', "default") . " &rsquo;"); ?></li>
<li class="previous"><?php next_posts_link("&laquo; " . __('Older posts', "simple-bootstrap")); ?></li>
<li class="next"><?php previous_posts_link(__('Newer posts', "simple-bootstrap") . " &rsquo;"); ?></li>
</ul>
</nav>
<?php } ?>
@@ -20,7 +20,7 @@
<div class="navbar-header">
<?php if (has_nav_menu("main_nav")): ?>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-responsive-collapse">
<span class="sr-only"><?php _e('Navigation', 'default'); ?></span>
<span class="sr-only"><?php _e('Navigation', 'simple-bootstrap'); ?></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
@@ -49,8 +49,8 @@

<nav>
<ul class="pager">
<li class="previous"><?php next_image_link( false, __( '&laquo; Previous', "default")); ?></li>
<li class="next"><?php previous_image_link( false, __( 'Next &raquo;', "default")); ?></li>
<li class="previous"><?php next_image_link( false, __( '&laquo; Previous', "simple-bootstrap")); ?></li>
<li class="next"><?php previous_image_link( false, __( 'Next &raquo;', "simple-bootstrap")); ?></li>
</ul>
</nav>

@@ -63,7 +63,7 @@
<?php else : ?>

<article id="post-not-found" class="block">
<p><?php _e("No items found.", "default"); ?></p>
<p><?php _e("No items found.", "simple-bootstrap"); ?></p>
</article>

<?php endif; ?>
@@ -17,7 +17,7 @@
<?php else : ?>

<article id="post-not-found" class="block">
<p><?php _e("No posts found.", "default"); ?></p>
<p><?php _e("No posts found.", "simple-bootstrap"); ?></p>
</article>

<?php endif; ?>
@@ -21,7 +21,7 @@
<?php else : ?>

<article id="post-not-found" class="block">
<p><?php _e("No pages found.", "default"); ?></p>
<p><?php _e("No pages found.", "simple-bootstrap"); ?></p>
</article>

<?php endif; ?>
@@ -15,7 +15,7 @@
<?php else : ?>

<article id="post-not-found" class="block">
<p><?php _e("No pages found.", "default"); ?></p>
<p><?php _e("No pages found.", "simple-bootstrap"); ?></p>
</article>

<?php endif; ?>
@@ -5,7 +5,7 @@
<div id="main" class="<?php simple_boostrap_main_classes(); ?>" role="main">

<div class="block block-title">
<h1><?php echo _x("Search for:", "label", "default"); ?> <?php echo esc_attr(get_search_query()); ?></h1>
<h1><?php echo _x("Search for:", "label", "simple-bootstrap"); ?> <?php echo esc_attr(get_search_query()); ?></h1>
</div>

<?php if (have_posts()) : ?>
@@ -23,7 +23,7 @@
<!-- this area shows up if there are no results -->

<article id="post-not-found" class="block">
<p><?php _e("No items found.", "default"); ?></p>
<p><?php _e("No items found.", "simple-bootstrap"); ?></p>
</article>

<?php endif; ?>
@@ -1,9 +1,9 @@
<form action="<?php echo home_url( '/' ); ?>" method="get">
<fieldset>
<div class="input-group">
<input type="text" name="s" id="search" placeholder="<?php _e("Search", "default"); ?>" value="<?php the_search_query(); ?>" class="form-control" />
<input type="text" name="s" id="search" placeholder="<?php _e("Search", "simple-bootstrap"); ?>" value="<?php the_search_query(); ?>" class="form-control" />
<span class="input-group-btn">
<button type="submit" class="btn btn-primary"><?php _e("Search", "default"); ?></button>
<button type="submit" class="btn btn-primary"><?php _e("Search", "simple-bootstrap"); ?></button>
</span>
</div>
</fieldset>
@@ -13,8 +13,8 @@
<?php if (get_next_post() || get_previous_post()) { ?>
<nav class="block">
<ul class="pager pager-unspaced">
<li class="previous"><?php previous_post_link('%link', "&laquo; " . __( 'Previous Post', "default")); ?></li>
<li class="next"><?php next_post_link('%link', __( 'Next Post', "default") . " &raquo;"); ?></li>
<li class="previous"><?php previous_post_link('%link', "&laquo; " . __( 'Previous Post', "simple-bootstrap")); ?></li>
<li class="next"><?php next_post_link('%link', __( 'Next Post', "simple-bootstrap") . " &raquo;"); ?></li>
</ul>
</nav>
<?php } ?>
@@ -24,7 +24,7 @@
<?php else : ?>

<article id="post-not-found" class="block">
<p><?php _e("No posts found.", "default"); ?></p>
<p><?php _e("No posts found.", "simple-bootstrap"); ?></p>
</article>

<?php endif; ?>

0 comments on commit 5cabd4f

Please sign in to comment.
You can’t perform that action at this time.