diff --git a/src/components/widget/NewPostNotification.astro b/src/components/widget/NewPostNotification.astro index 644db52fa..d0d41f738 100644 --- a/src/components/widget/NewPostNotification.astro +++ b/src/components/widget/NewPostNotification.astro @@ -224,8 +224,8 @@ newPosts.forEach(post => { const isUpdated = post.isUpdated; const badge = isUpdated - ? 'Updated' - : 'New'; + ? '更新' + : '新文章'; // Generate Diff View button if updated let diffButton = ''; @@ -234,7 +234,7 @@ if (isUpdated && post.diff) { diffButton = ` `; } @@ -251,6 +251,10 @@ ${isUpdated && post.diff ? `