mirror of
https://github.com/elementor/hello-theme.git
synced 2025-10-03 15:33:37 +08:00
Update text-domain
This commit is contained in:
parent
b4597994e4
commit
8123941dc2
10 changed files with 19 additions and 22 deletions
|
@ -72,7 +72,7 @@ module.exports = function( grunt ) {
|
|||
|
||||
checktextdomain: {
|
||||
options: {
|
||||
text_domain: 'elementor-hello-theme',
|
||||
text_domain: 'hello-elementor',
|
||||
correct_domain: true,
|
||||
keywords: [
|
||||
// WordPress keywords
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*!
|
||||
Theme Name: Elementor Hello Theme
|
||||
Theme Name: Hello Elementor
|
||||
Theme URI: https://github.com/pojome/elementor-hello-theme.git
|
||||
Description: A plain-vanilla & lightweight theme for Elementor page builder
|
||||
Author: Elementor Team
|
||||
|
@ -10,7 +10,7 @@
|
|||
Tested up to: 5.0
|
||||
License: GNU General Public License v3 or later.
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
Text Domain: elementor-hello-theme
|
||||
Text Domain: hello-elementor
|
||||
Tags: flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
|
||||
*/
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ if ( comments_open() && get_option( 'thread_comments' ) ) {
|
|||
<?php if ( have_comments() ) : ?>
|
||||
<h3 class="title-comments">
|
||||
<span>
|
||||
<?php printf( _n( 'One Response', '%1$s Responses', get_comments_number(), 'elementor-hello-theme' ), number_format_i18n( get_comments_number() ), get_the_title() ); ?>
|
||||
<?php printf( _n( 'One Response', '%1$s Responses', get_comments_number(), 'hello-elementor' ), number_format_i18n( get_comments_number() ), get_the_title() ); ?>
|
||||
</span>
|
||||
</h3>
|
||||
|
||||
|
@ -44,7 +44,7 @@ if ( comments_open() && get_option( 'thread_comments' ) ) {
|
|||
// If comments are closed and there are comments, let's leave a little note, shall we?
|
||||
if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :
|
||||
?>
|
||||
<p class="no-comments"><?php _e( 'Comments are closed.', 'elementor-hello-theme' ); ?></p>
|
||||
<p class="no-comments"><?php _e( 'Comments are closed.', 'hello-elementor' ); ?></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -22,7 +22,7 @@ if ( ! function_exists( 'elementor_hello_theme_setup' ) ) {
|
|||
}
|
||||
|
||||
if ( apply_filters( 'elementor_hello_theme_register_menus', true ) ) {
|
||||
register_nav_menus( array( 'menu-1' => __( 'Primary', 'elementor-hello-theme' ) ) );
|
||||
register_nav_menus( array( 'menu-1' => __( 'Primary', 'hello-elementor' ) ) );
|
||||
}
|
||||
|
||||
if ( apply_filters( 'elementor_hello_theme_add_theme_support', true ) ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -10,11 +10,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<main id="main" class="site-main" role="main">
|
||||
|
||||
<header class="page-header">
|
||||
<h1 class="entry-title"><?php _e( 'The page can’t be found.', 'elementor-hello-theme' ); ?></h1>
|
||||
<h1 class="entry-title"><?php _e( 'The page can’t be found.', 'hello-elementor' ); ?></h1>
|
||||
</header>
|
||||
|
||||
<div class="page-content">
|
||||
<p><?php _e( 'It looks like nothing was found at this location.', 'elementor-hello-theme' ); ?></p>
|
||||
<p><?php _e( 'It looks like nothing was found at this location.', 'hello-elementor' ); ?></p>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
|
|
|
@ -28,8 +28,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<?php global $wp_query;
|
||||
if ( $wp_query->max_num_pages > 1 ) : ?>
|
||||
<nav id="nav-below" class="navigation" role="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link( sprintf( __( '%s older', 'elementor-hello-theme' ), '<span class="meta-nav">←</span>' ) ); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link( sprintf( __( 'newer %s', 'elementor-hello-theme' ), '<span class="meta-nav">→</span>' ) ); ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link( sprintf( __( '%s older', 'hello-elementor' ), '<span class="meta-nav">←</span>' ) ); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link( sprintf( __( 'newer %s', 'hello-elementor' ), '<span class="meta-nav">→</span>' ) ); ?></div>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
</main>
|
||||
|
|
|
@ -10,9 +10,9 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
</div>
|
||||
|
||||
<?php if ( is_front_page() && is_home() ) : ?>
|
||||
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_attr_e( 'Home', 'elementor-hello-theme' ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_attr_e( 'Home', 'hello-elementor' ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
|
||||
<?php else : ?>
|
||||
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_attr_e( 'Home', 'elementor-hello-theme' ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
|
||||
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_attr_e( 'Home', 'hello-elementor' ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
|
||||
<?php endif; ?>
|
||||
|
||||
<nav id="top-menu" role="navigation">
|
||||
|
|
|
@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
|
||||
<header class="page-header">
|
||||
<h1 class="entry-title">
|
||||
<?php _e( 'Search results for: ', 'elementor-hello-theme' ); ?>
|
||||
<?php _e( 'Search results for: ', 'hello-elementor' ); ?>
|
||||
<span><?php echo get_search_query(); ?></span>
|
||||
</h1>
|
||||
</header>
|
||||
|
@ -26,7 +26,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
endwhile;
|
||||
?>
|
||||
<?php else : ?>
|
||||
<p><?php _e( 'It seems we can\'t find what you\'re looking for.', 'elementor-hello-theme' ); ?></p>
|
||||
<p><?php _e( 'It seems we can\'t find what you\'re looking for.', 'hello-elementor' ); ?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
|
@ -35,8 +35,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<?php global $wp_query;
|
||||
if ( $wp_query->max_num_pages > 1 ) : ?>
|
||||
<nav id="nav-below" class="navigation" role="navigation">
|
||||
<div class="nav-previous"><?php next_posts_link( sprintf( __( '%s older', 'elementor-hello-theme' ), '<span class="meta-nav">←</span>' ) ); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link( sprintf( __( 'newer %s', 'elementor-hello-theme' ), '<span class="meta-nav">→</span>' ) ); ?></div>
|
||||
<div class="nav-previous"><?php next_posts_link( sprintf( __( '%s older', 'hello-elementor' ), '<span class="meta-nav">←</span>' ) ); ?></div>
|
||||
<div class="nav-next"><?php previous_posts_link( sprintf( __( 'newer %s', 'hello-elementor' ), '<span class="meta-nav">→</span>' ) ); ?></div>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
</main>
|
||||
|
|
|
@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
<div class="page-content">
|
||||
<?php the_content(); ?>
|
||||
<div class="post-tags">
|
||||
<?php the_tags( '<span class="tag-links">' . __( 'Tagged ', 'elementor-hello-theme' ), null, '</span>' ); ?>
|
||||
<?php the_tags( '<span class="tag-links">' . __( 'Tagged ', 'hello-elementor' ), null, '</span>' ); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue