diff --git a/functions.php b/functions.php index e42065d..78647d9 100644 --- a/functions.php +++ b/functions.php @@ -50,7 +50,7 @@ function akina_setup() { // This theme uses wp_nav_menu() in one location. register_nav_menus( array( - 'primary' => esc_html__( '导航菜单', 'akina' ), + 'primary' => __( 'Nav Menus', 'sakura' ), //导航菜单 ) ); /* @@ -355,7 +355,7 @@ function convertip($ip) { if( $ipaddr != ' ' ) return $ipaddr; else - $ipaddr = '火星来客'; + $ipaddr = 'Unknown'; return $ipaddr; } //Comment Location End @@ -384,22 +384,22 @@ if(!function_exists('akina_comment_format')){
comment_author_email, '24', '', get_comment_author() ); ?>博主 comment_author_email,$comment->user_id); ?>
+comment_author_email, '24', '', get_comment_author() ); ?> comment_author_email,$comment->user_id); ?>
'; foreach ($bookmarks as $bookmark) { - if (empty($bookmark->link_description)) $bookmark->link_description = '这家伙好懒╮(╯▽╰)╭'; + if (empty($bookmark->link_description)) $bookmark->link_description = __('This guy is so lazy ╮(╯▽╰)╭', 'sakura'); if (empty($bookmark->link_image)) $bookmark->link_image = 'https://view.moezx.cc/images/2017/12/30/Transparent_Akkarin.th.jpg'; $output .= '- '. $bookmark->link_name .'
'. $bookmark->link_description .' ';
}