feat: implement comments feature (#171)

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-11-27 00:37:52 +08:00
committed by GitHub
parent 37825d1def
commit cb40fe74d0
116 changed files with 6637 additions and 1129 deletions

View File

@@ -44,6 +44,28 @@
"action.view.layout": "Layout",
"action.view.settings": "View Settings",
"action.view.title": "View",
"comments.anonymous": "Guest",
"comments.cancelReply": "Cancel",
"comments.chooseProvider": "Choose sign in method",
"comments.empty": "No comments yet. Be the first to comment!",
"comments.error": "Failed to load comments",
"comments.hint": "Press Enter to send, Shift+Enter for new line",
"comments.loadMore": "Load more",
"comments.loading": "Loading comments...",
"comments.loginRequired": "Please sign in to leave a comment.",
"comments.pending": "Pending review",
"comments.placeholder": "Add a comment...",
"comments.postFailed": "Failed to post comment",
"comments.posted": "Comment posted",
"comments.reactionFailed": "Failed to react",
"comments.reply": "Reply",
"comments.replyingTo": "Replying to <strong>{{user}}</strong>",
"comments.retry": "Retry",
"comments.send": "Send",
"comments.sending": "Sending...",
"comments.signInWith": "Sign in with {{provider}}",
"comments.user": "User {{id}}",
"comments.you": "You",
"date.day.1": "1st",
"date.day.10": "10th",
"date.day.11": "11th",
@@ -314,6 +336,8 @@
"gallery.built.at": "Built at ",
"gallery.photos_one": "{{count}} photo",
"gallery.photos_other": "{{count}} photos",
"inspector.tab.comments": "Comments",
"inspector.tab.info": "Info",
"loading.converting": "Converting...",
"loading.default": "Loading",
"loading.heic.converting": "Converting HEIC/HEIF image format...",

View File

@@ -41,6 +41,28 @@
"action.view.layout": "布局",
"action.view.settings": "视图设置",
"action.view.title": "视图",
"comments.anonymous": "访客",
"comments.cancelReply": "取消回复",
"comments.chooseProvider": "选择登录方式",
"comments.empty": "暂无评论。快来发表第一条评论吧!",
"comments.error": "评论加载失败",
"comments.hint": "按 Enter 发送,Shift+Enter 换行",
"comments.loadMore": "加载更多",
"comments.loading": "正在加载评论…",
"comments.loginRequired": "登录后才能发表评论。",
"comments.pending": "等待审核",
"comments.placeholder": "添加评论...",
"comments.postFailed": "发表评论失败",
"comments.posted": "评论已发布",
"comments.reactionFailed": "操作失败,请稍后重试",
"comments.reply": "回复",
"comments.replyingTo": "正在回复 <strong>{{user}}</strong>",
"comments.retry": "重试",
"comments.send": "发送",
"comments.sending": "发送中…",
"comments.signInWith": "使用 {{provider}} 登录",
"comments.user": "访客 {{id}}",
"comments.you": "你",
"date.day.1": "1日",
"date.day.10": "10日",
"date.day.11": "11日",
@@ -311,6 +333,8 @@
"gallery.built.at": "构建于 ",
"gallery.photos_one": "{{count}} 张照片",
"gallery.photos_other": "{{count}} 张照片",
"inspector.tab.comments": "评论",
"inspector.tab.info": "信息",
"loading.converting": "转换中...",
"loading.default": "加载中",
"loading.heic.converting": "正在转换 HEIC/HEIF 图像格式...",

View File

@@ -158,6 +158,7 @@
"errors.request.generic": "Request failed. Please try again later.",
"header.plan.badge": "Plan",
"nav.analytics": "Analytics",
"nav.comments": "Comments",
"nav.library": "Library",
"nav.overview": "Overview",
"nav.photos": "Photos",

View File

@@ -158,6 +158,7 @@
"errors.request.generic": "请求失败,请稍后重试。",
"header.plan.badge": "订阅",
"nav.analytics": "数据分析",
"nav.comments": "评论",
"nav.library": "图库",
"nav.overview": "概览",
"nav.photos": "照片",