Skip to content

Commit

Permalink
Cleaned up erroneous textdomains.
Browse files Browse the repository at this point in the history
  • Loading branch information
glueckpress committed Jul 12, 2014
1 parent ce16e93 commit 435535e
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion footer.php
Expand Up @@ -14,7 +14,7 @@
<?php get_sidebar( 'footer' ); ?>
<div class="site-info">
<?php do_action( 'simone_credits' ); ?>
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'my-simone' ) ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'simone' ), 'WordPress' ); ?></a>
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'simone' ) ); ?>" rel="generator"><?php printf( __( 'Proudly powered by %s', 'simone' ), 'WordPress' ); ?></a>
<span class="sep"> | </span>
<?php printf( __( 'Theme: Simone by <a href="%1$s" rel="designer nofollow">mor10.com</a>.', 'simone' ), esc_url('http://mor10.com/') ); ?>
</div><!-- .site-info -->
Expand Down
14 changes: 7 additions & 7 deletions header.php
Expand Up @@ -30,9 +30,9 @@
</a>
</figure>
<?php } // End header image check. ?>
<?php
if ( get_header_image() && !('blank' == get_header_textcolor()) ) {
echo '<div class="site-branding header-background-image" style="background-image: url(' . get_header_image() . ')">';
<?php
if ( get_header_image() && !('blank' == get_header_textcolor()) ) {
echo '<div class="site-branding header-background-image" style="background-image: url(' . get_header_image() . ')">';
} else {
echo '<div class="site-branding">';
}
Expand All @@ -47,13 +47,13 @@
<h1 class="menu-toggle"><a href="#"><?php _e( 'Menu', 'simone' ); ?></a></h1>

<?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?>

<div class="search-toggle">
<i class="fa fa-search"></i>
<a href="#search-container" class="screen-reader-text"><?php _e( 'Search', 'twentyfourteen' ); ?></a>
<a href="#search-container" class="screen-reader-text"><?php _e( 'Search', 'simone' ); ?></a>
</div>
<?php simone_social_menu(); ?>


</nav><!-- #site-navigation -->

Expand All @@ -62,7 +62,7 @@
<?php get_search_form(); ?>
</div>
</div>

</header><!-- #masthead -->

<div id="content" class="site-content">
12 changes: 6 additions & 6 deletions image.php
Expand Up @@ -14,16 +14,16 @@
<main id="main" class="site-main" role="main">

<?php while ( have_posts() ) : the_post(); ?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

<header class="entry-header clear">

<h1 class="entry-title"><?php the_title(); ?></h1>

<div class="entry-meta">
<?php _e('Featured in: ', 'simone'); ?><span class="parent-post-link"><a href="<?php echo get_permalink( $post->post_parent ); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span>.
<?php _e('Full size image: ', 'simone'); ?><span class="full-size-link"><a href="<?php echo wp_get_attachment_url(); ?>"><?php echo $metadata['width']; ?> &times; <?php echo $metadata['height']; ?></a></span>.
<?php _e('Featured in: ', 'simone'); ?><span class="parent-post-link"><a href="<?php echo get_permalink( $post->post_parent ); ?>" rel="gallery"><?php echo get_the_title( $post->post_parent ); ?></a></span>.
<?php _e('Full size image: ', 'simone'); ?><span class="full-size-link"><a href="<?php echo wp_get_attachment_url(); ?>"><?php echo $metadata['width']; ?> &times; <?php echo $metadata['height']; ?></a></span>.
<?php edit_post_link( __( 'Edit attachment post', 'simone' ), '<span class="edit-link">', '</span>.' ); ?>
</div><!-- .entry-meta -->
</header><!-- .entry-header -->
Expand All @@ -39,13 +39,13 @@
<?php endif; ?>
</figure><!-- .wp-caption -->


</div><!-- .entry-attachment -->

<?php
the_content();
wp_link_pages( array(
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentyfourteen' ) . '</span>',
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'simone' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
Expand Down
30 changes: 15 additions & 15 deletions inc/customizer.php
Expand Up @@ -30,56 +30,56 @@ function simone_customize_preview_js() {
*/

function simone_register_theme_customizer( $wp_customize ) {

$wp_customize->add_setting(
'simone_header_color',
array(
'default' => '#0587BF'
)
);

$wp_customize->add_control(
new WP_Customize_Color_Control(
$wp_customize,
'header_color',
array(
'label' => __( 'Header Color', 'tcx' ),
'label' => __( 'Header Color', 'simone' ),
'section' => 'colors',
'settings' => 'simone_header_color'
)
)
);

$wp_customize->add_setting(
'simone_link_color',
array(
'default' => '#000000'
)
);

$wp_customize->add_control(
new WP_Customize_Color_Control(
$wp_customize,
'link_color',
array(
'label' => __( 'Link Color', 'tcx' ),
'label' => __( 'Link Color', 'simone' ),
'section' => 'colors',
'settings' => 'simone_link_color'
)
)
);

}
add_action( 'customize_register', 'simone_register_theme_customizer' );

function simone_customizer_css() {
?>
<style type="text/css">
.site-branding {
background: <?php echo get_theme_mod( 'simone_header_color' ); ?>;
.site-branding {
background: <?php echo get_theme_mod( 'simone_header_color' ); ?>;
}
.category-list a:hover,

.category-list a:hover,
.entry-meta a:hover,
.tag-links a:hover,
.widget-area a:hover,
Expand All @@ -88,14 +88,14 @@ function simone_customizer_css() {
.continue-reading a,
.entry-title a:hover,
.entry-content a,
.comment-content a {
color: <?php echo get_theme_mod( 'simone_link_color' ); ?>;
.comment-content a {
color: <?php echo get_theme_mod( 'simone_link_color' ); ?>;
}

.border-custom {
border: <?php echo get_theme_mod( 'simone_link_color' ); ?> solid 1px;
}

</style>
<?php
}
Expand Down
4 changes: 2 additions & 2 deletions inc/extras.php
Expand Up @@ -4,7 +4,7 @@
*
* Eventually, some of the functionality here could be replaced by core features
*
* @package my-simone
* @package simone
*/

/**
Expand Down Expand Up @@ -60,7 +60,7 @@ function simone_wp_title( $title, $sep ) {

// Add a page number if necessary:
if ( $paged >= 2 || $page >= 2 ) {
$title .= " $sep " . sprintf( __( 'Page %s', 'my-simone' ), max( $paged, $page ) );
$title .= " $sep " . sprintf( __( 'Page %s', 'simone' ), max( $paged, $page ) );
}

return $title;
Expand Down
2 changes: 1 addition & 1 deletion inc/jetpack.php
Expand Up @@ -3,7 +3,7 @@
* Jetpack Compatibility File
* See: http://jetpack.me/
*
* @package my-simone
* @package simone
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions inc/template-tags.php
Expand Up @@ -4,7 +4,7 @@
*
* Eventually, some of the functionality here could be replaced by core features.
*
* @package my-simone
* @package simone
*/

if ( ! function_exists( 'simone_paging_nav' ) ) :
Expand Down Expand Up @@ -128,7 +128,7 @@ function simone_posted_on() {
esc_html( get_the_modified_date( __('F jS, Y', 'simone') ) )
);

printf( __( '<span class="byline">Written by %1$s</span><span class="posted-on">%2$s</span>', 'my-simone' ),
printf( __( '<span class="byline">Written by %1$s</span><span class="posted-on">%2$s</span>', 'simone' ),
sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s">%2$s</a></span>',
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
esc_html( get_the_author() )
Expand Down

0 comments on commit 435535e

Please sign in to comment.