This commit is contained in:
2026-06-21 20:01:20 +08:00
parent 62732ba348
commit 42516257e0
9 changed files with 179 additions and 18 deletions
+8
View File
@@ -28,6 +28,7 @@ var translations = map[Lang]map[string]string{
"home_sign_in": "Sign In",
"home_to_dash": "Dashboard",
"home_latest": "Latest Posts",
"home_read_more": "Read more",
"home_post1_tit": "Getting Started",
"home_post1_dsc": "Welcome to your new blog! This is a placeholder post. Start writing to see your content here.",
"home_post2_tit": "Hello World",
@@ -52,6 +53,7 @@ var translations = map[Lang]map[string]string{
"dash_posts": "Posts",
"dash_pages": "Pages",
"dash_users": "Users",
"dash_published": "Published",
"dash_mgmt_title": "Blog Management",
"dash_mgmt_desc": "Post management, categories, and settings will appear here in future updates.",
"dash_new_article": "New Article",
@@ -114,6 +116,8 @@ var translations = map[Lang]map[string]string{
"article_new": "New Article",
"article_title_required": "Title is required.",
"article_content_required": "Content is required.",
"article_back_home": "Back to Home",
"article_not_found": "Article not found.",
},
ZH: {
// 导航
@@ -129,6 +133,7 @@ var translations = map[Lang]map[string]string{
"home_sign_in": "登录",
"home_to_dash": "后台管理",
"home_latest": "最新文章",
"home_read_more": "阅读全文",
"home_post1_tit": "入门指南",
"home_post1_dsc": "欢迎来到你的新博客!这是一篇占位文章。开始写作后,你的内容将显示在这里。",
"home_post2_tit": "你好,世界",
@@ -153,6 +158,7 @@ var translations = map[Lang]map[string]string{
"dash_posts": "文章",
"dash_pages": "页面",
"dash_users": "用户",
"dash_published": "已发布",
"dash_mgmt_title": "博客管理",
"dash_mgmt_desc": "文章管理、分类和设置将在后续版本中添加。",
"dash_new_article": "新建文章",
@@ -213,6 +219,8 @@ var translations = map[Lang]map[string]string{
"article_new": "新建文章",
"article_title_required": "标题不能为空。",
"article_content_required": "正文不能为空。",
"article_back_home": "返回首页",
"article_not_found": "文章不存在。",
},
}