From 803841cd1270776820a01c47e400744e985db6da Mon Sep 17 00:00:00 2001 From: Yaosanqi137 Date: Tue, 10 Mar 2026 21:10:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86wp-admin=E7=95=8C=E9=9D=A2=E7=9A=84?= =?UTF-8?q?=E6=96=B0=E9=97=BB=E5=92=8C=E5=85=AC=E5=91=8A=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=A0=8F=E6=A0=87=E9=A2=98=E6=94=B9=E6=88=90=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 5aeb0e1..ba81ed5 100644 --- a/functions.php +++ b/functions.php @@ -231,8 +231,8 @@ add_filter('body_class', 'itstudio_intro_body_class'); function itstudio_custom_post_types() { register_post_type('announcement', array( 'labels' => array( - 'name' => __('Announcements', 'itstudio'), - 'singular_name' => __('Announcement', 'itstudio'), + 'name' => __('公告', 'itstudio'), + 'singular_name' => __('公告', 'itstudio'), ), 'public' => true, 'has_archive' => true, @@ -244,8 +244,8 @@ function itstudio_custom_post_types() { register_post_type('news', array( 'labels' => array( - 'name' => __('News', 'itstudio'), - 'singular_name' => __('News', 'itstudio'), + 'name' => __('新闻', 'itstudio'), + 'singular_name' => __('新闻', 'itstudio'), ), 'public' => true, 'has_archive' => 'news',