Permalink
Browse files

Revert text domain

  • Loading branch information...
1 parent bb62b1f commit 4b589e3577f7110d8c800ac935768edbde3a1db9 @jonathanbardo jonathanbardo committed Sep 20, 2016
@@ -1,13 +1,13 @@
/**
- * Theme Name: The Primer
+ * Theme Name: Primer
* Theme URI: https://github.com/godaddy/wp-primer-theme
* Author: GoDaddy
* Author URI: https://www.godaddy.com/
* Description: Primer is a powerful theme that brings clarity to your content in a fresh design.
* Version: 1.0.0
* License: GPL-2.0
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
- * Text Domain: the-primer
+ * Text Domain: primer
* Domain Path: /languages
* Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, flexible-header, left-sidebar, one-column, right-sidebar, rtl-language-support, sticky-post, threaded-comments, three-columns, translation-ready, two-columns
*
View
@@ -19,13 +19,13 @@
<header class="page-header">
- <h1 class="page-title"><?php esc_html_e( "Oops! That page can't be found.", 'the-primer' ); ?></h1>
+ <h1 class="page-title"><?php esc_html_e( "Oops! That page can't be found.", 'primer' ); ?></h1>
</header><!-- .page-header -->
<div class="page-content">
- <p><?php esc_html_e( 'It looks like nothing was found at this location. Please try searching below:', 'the-primer' ); ?></p>
+ <p><?php esc_html_e( 'It looks like nothing was found at this location. Please try searching below:', 'primer' ); ?></p>
<?php get_search_form(); ?>
View
@@ -51,11 +51,11 @@
<nav id="comment-nav-above" class="comment-navigation">
- <h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'the-primer' ); ?></h1>
+ <h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'primer' ); ?></h1>
- <div class="nav-previous"><?php previous_comments_link( sprintf( esc_html_x( '%s Older Comments', 'left arrow (LTR) / right arrow (RTL)', 'the-primer' ), is_rtl() ? '&rarr;' : '&larr;' ) ); ?></div>
+ <div class="nav-previous"><?php previous_comments_link( sprintf( esc_html_x( '%s Older Comments', 'left arrow (LTR) / right arrow (RTL)', 'primer' ), is_rtl() ? '&rarr;' : '&larr;' ) ); ?></div>
- <div class="nav-next"><?php next_comments_link( sprintf( esc_html_x( 'Newer Comments %s', 'right arrow (LTR) / left arrow (RTL)', 'the-primer' ), is_rtl() ? '&larr;' : '&rarr;' ) ); ?></div>
+ <div class="nav-next"><?php next_comments_link( sprintf( esc_html_x( 'Newer Comments %s', 'right arrow (LTR) / left arrow (RTL)', 'primer' ), is_rtl() ? '&larr;' : '&rarr;' ) ); ?></div>
</nav><!-- #comment-nav-above -->
@@ -76,11 +76,11 @@
<nav id="comment-nav-below" class="comment-navigation">
- <h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'the-primer' ); ?></h1>
+ <h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'primer' ); ?></h1>
- <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'the-primer' ) ); ?></div>
+ <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'primer' ) ); ?></div>
- <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'the-primer' ) ); ?></div>
+ <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'primer' ) ); ?></div>
</nav><!-- #comment-nav-below -->
@@ -90,7 +90,7 @@
<?php if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?>
- <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'the-primer' ); ?></p>
+ <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'primer' ); ?></p>
<?php endif; ?>
View
@@ -13,7 +13,7 @@
<header class="page-header">
- <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'the-primer' ); ?></h1>
+ <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'primer' ); ?></h1>
</header><!-- .page-header -->
@@ -24,25 +24,25 @@
<p><?php
printf(
- esc_html_x( 'Ready to publish your first post? %s.', 'link to write a new post', 'the-primer' ),
+ esc_html_x( 'Ready to publish your first post? %s.', 'link to write a new post', 'primer' ),
sprintf(
'<a href="%s">%s</a>',
esc_url( admin_url( 'post-new.php' ) ),
- esc_html__( 'Get started here', 'the-primer' )
+ esc_html__( 'Get started here', 'primer' )
)
);
?></p>
<?php elseif ( is_search() ) : ?>
- <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'the-primer' ); ?></p>
+ <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'primer' ); ?></p>
<?php get_search_form(); ?>
<?php else : ?>
- <p><?php esc_html_e( "It seems we can't find what you're looking for. Perhaps searching can help.", 'the-primer' ); ?></p>
+ <p><?php esc_html_e( "It seems we can't find what you're looking for. Perhaps searching can help.", 'primer' ); ?></p>
<?php get_search_form(); ?>
View
@@ -141,7 +141,7 @@ function primer_setup() {
* @link https://codex.wordpress.org/Function_Reference/load_theme_textdomain
* @since 1.0.0
*/
- load_theme_textdomain( 'the-primer', get_template_directory() . '/languages' );
+ load_theme_textdomain( 'primer', get_template_directory() . '/languages' );
/**
* Filter registered image sizes.
@@ -156,13 +156,13 @@ function primer_setup() {
'width' => 1600,
'height' => 9999,
'crop' => false,
- 'label' => esc_html__( 'Featured', 'the-primer' ),
+ 'label' => esc_html__( 'Featured', 'primer' ),
),
'primer-hero' => array(
'width' => 2400,
'height' => 1300,
'crop' => array( 'center', 'center' ),
- 'label' => esc_html__( 'Hero', 'the-primer' ),
+ 'label' => esc_html__( 'Hero', 'primer' ),
),
)
);
@@ -243,9 +243,9 @@ function primer_setup() {
*/
(array) apply_filters( 'primer_nav_menus',
array(
- 'primary' => esc_html__( 'Primary Menu', 'the-primer' ),
- 'social' => esc_html__( 'Social Menu', 'the-primer' ),
- 'footer' => esc_html__( 'Footer Menu', 'the-primer' ),
+ 'primary' => esc_html__( 'Primary Menu', 'primer' ),
+ 'social' => esc_html__( 'Social Menu', 'primer' ),
+ 'footer' => esc_html__( 'Footer Menu', 'primer' ),
)
)
);
@@ -364,48 +364,48 @@ function primer_register_sidebars() {
$sidebars = (array) apply_filters( 'primer_sidebars',
array(
'sidebar-1' => array(
- 'name' => esc_html__( 'Sidebar', 'the-primer' ),
- 'description' => esc_html__( 'The primary sidebar appears alongside the content of every page, post, archive, and search template.', 'the-primer' ),
+ 'name' => esc_html__( 'Sidebar', 'primer' ),
+ 'description' => esc_html__( 'The primary sidebar appears alongside the content of every page, post, archive, and search template.', 'primer' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h4 class="widget-title">',
'after_title' => '</h4>',
),
'sidebar-2' => array(
- 'name' => esc_html__( 'Secondary Sidebar', 'the-primer' ),
- 'description' => esc_html__( 'The secondary sidebar will only appear when you have selected a three-column layout.', 'the-primer' ),
+ 'name' => esc_html__( 'Secondary Sidebar', 'primer' ),
+ 'description' => esc_html__( 'The secondary sidebar will only appear when you have selected a three-column layout.', 'primer' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h4 class="widget-title">',
'after_title' => '</h4>',
),
'footer-1' => array(
- 'name' => esc_html__( 'Footer 1', 'the-primer' ),
- 'description' => esc_html__( 'This sidebar is the first column of the footer widget area.', 'the-primer' ),
+ 'name' => esc_html__( 'Footer 1', 'primer' ),
+ 'description' => esc_html__( 'This sidebar is the first column of the footer widget area.', 'primer' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h4 class="widget-title">',
'after_title' => '</h4>',
),
'footer-2' => array(
- 'name' => esc_html__( 'Footer 2', 'the-primer' ),
- 'description' => esc_html__( 'This sidebar is the second column of the footer widget area.', 'the-primer' ),
+ 'name' => esc_html__( 'Footer 2', 'primer' ),
+ 'description' => esc_html__( 'This sidebar is the second column of the footer widget area.', 'primer' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h4 class="widget-title">',
'after_title' => '</h4>',
),
'footer-3' => array(
- 'name' => esc_html__( 'Footer 3', 'the-primer' ),
- 'description' => esc_html__( 'This sidebar is the third column of the footer widget area.', 'the-primer' ),
+ 'name' => esc_html__( 'Footer 3', 'primer' ),
+ 'description' => esc_html__( 'This sidebar is the third column of the footer widget area.', 'primer' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h4 class="widget-title">',
'after_title' => '</h4>',
),
'hero' => array(
- 'name' => esc_html__( 'Hero', 'the-primer' ),
- 'description' => esc_html__( 'Hero widgets appear over the header image on the front page.', 'the-primer' ),
+ 'name' => esc_html__( 'Hero', 'primer' ),
+ 'description' => esc_html__( 'Hero widgets appear over the header image on the front page.', 'primer' ),
'before_widget' => '<aside id="%1$s" class="widget %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h2 class="widget-title">',
View
@@ -39,7 +39,7 @@
<div id="page" class="hfeed site">
- <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'the-primer' ); ?></a>
+ <a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'primer' ); ?></a>
<?php
/**
@@ -44,7 +44,7 @@ function primer_get_wp_upgrade_message() {
*/
return (string) apply_filters( 'primer_required_wp_version_message',
sprintf(
- __( 'Primer requires at least WordPress version %1$s. You are running version %2$s. Please upgrade and try again.', 'the-primer' ),
+ __( 'Primer requires at least WordPress version %1$s. You are running version %2$s. Please upgrade and try again.', 'primer' ),
PRIMER_MIN_WP_VERSION,
get_bloginfo( 'version' )
)
View
@@ -160,8 +160,8 @@ public function use_featured_hero_image( WP_Customize_Manager $wp_customize ) {
$wp_customize->add_control(
'use_featured_hero_image',
array(
- 'label' => esc_html__( 'Use featured image', 'the-primer' ),
- 'description' => esc_html__( 'Allow the featured image on the current post to override the hero image.', 'the-primer' ),
+ 'label' => esc_html__( 'Use featured image', 'primer' ),
+ 'description' => esc_html__( 'Allow the featured image on the current post to override the hero image.', 'primer' ),
'section' => 'header_image',
'priority' => 5,
'type' => 'checkbox',
Oops, something went wrong.

0 comments on commit 4b589e3

Please sign in to comment.