fix: polish forum navigation and interface states

This commit is contained in:
lezi-fun committed 2026-08-11 15:25:05 +08:00
1 parent 0933220c70
commit 6947cdaf36
33 files changed
+1615 -360

No files matched your search

+138 -12
View File
@@ -17,8 +17,8 @@
"hot": "Latest replies",
"newPost": "New post",
"loading": "Loading...",
"empty": "✨ No posts yet — be the first to publish!",
"pinned": "📌 Pinned",
"empty": "No posts yet — be the first to publish!",
"pinned": "Pinned",
"deleted": "(edited)",
"report": "Report",
"delete": "Delete",
@@ -59,7 +59,7 @@
"reply": {
"submit": "Submit reply",
"placeholder": "Write your reply...",
"empty": "No replies yet — be the first to comment 🛋️",
"empty": "No replies yet — be the first to comment",
"replyFailed": "Reply failed: {{msg}}",
"delete": "Delete",
"confirmDelete": "Are you sure you want to delete this reply?",
@@ -72,7 +72,7 @@
"passwordHint": "Password (min 6 chars)",
"forgotPassword": "Forgot password?",
"captchaError": "Wrong captcha, please try again",
"registerSuccess": "🎉 Registration successful",
"registerSuccess": "Registration successful",
"loginSuccess": "Logged in",
"logoutSuccess": "Logged out",
"login": "Login",
@@ -89,6 +89,12 @@
"username": "Username",
"bio": "Bio",
"signature": "Signature",
"signatureHint": "Shown below every post; Markdown is supported",
"signaturePlaceholder": "Signature...",
"avatarFileRequired": "Please select an image file",
"avatarTooLarge": "Image must be smaller than 5MB",
"avatarUpdated": "Avatar updated",
"changeAvatar": "Change avatar",
"save": "Save settings",
"saved": "Saved!",
"saveFailed": "Save failed: {{msg}}",
@@ -99,9 +105,9 @@
"title": "User profile",
"bioEmpty": "This user hasn't written a bio yet",
"sendMessage": "Send message",
"joined": "📅 Joined {{date}}",
"posts": "📝 {{count}} posts",
"admin": "🛡️ Admin",
"joined": "Joined {{date}}",
"posts": "{{count}} posts",
"admin": "Admin",
"noPosts": "No posts yet",
"notFound": "User not found",
"loading": "Loading..."
@@ -135,8 +141,8 @@
"changeEmail": "Change email",
"fillAll": "Please fill in all fields",
"pwMin": "New password must be at least 6 characters",
"pwChanged": "✅ Password changed",
"emailChanged": "✅ Email changed"
"pwChanged": "Password changed",
"emailChanged": "Email changed"
},
"recovery": {
"title": "Recovery codes",
@@ -147,8 +153,128 @@
"confirmRegenerate": "Regenerating will invalidate all old codes. Continue?",
"genFailed": "Generation failed: {{msg}}",
"fetchFailed": "Fetch failed: {{msg}}",
"newCodes": "🆕 New recovery codes",
"saveWarning": "⚠️ Save these codes now — they cannot be viewed again after closing.",
"newCodes": "New recovery codes",
"saveWarning": "Save these codes now — they cannot be viewed again after closing.",
"saved": "I have saved them"
},
"admin": {
"title": "Admin",
"reports": "Reports",
"users": "Users",
"logs": "Event logs",
"links": "Links",
"forumSettings": "Forum settings",
"customPages": "Custom pages",
"customCss": "Custom CSS",
"common": {
"loading": "Loading...",
"loadFailed": "Load failed: {{msg}}",
"operationFailed": "Operation failed: {{msg}}",
"deleteFailed": "Delete failed: {{msg}}",
"saveFailed": "Save failed: {{msg}}",
"delete": "Delete",
"save": "Save",
"cancel": "Cancel",
"actions": "Actions",
"status": "Status",
"enabled": "Enabled",
"disabled": "Disabled"
},
"report": {
"statusPending": "Pending",
"statusApproved": "Deleted",
"statusRejected": "Rejected",
"approvedNote": "Removed the reported post",
"rejectedNote": "Report dismissed",
"confirmApprove": "Delete this post and mark the report as resolved?",
"empty": "No reports",
"anonymous": "Anonymous",
"reportedPost": "{{name}} reported a post",
"reason": "Reason: {{reason}}",
"post": "Post: {{title}} — {{content}}",
"untitled": "Untitled",
"handler": "Handled by: {{name}}",
"deletePost": "Delete post",
"reject": "Reject report"
},
"user": {
"roleAdmin": "Admin",
"roleUser": "User",
"confirmRole": "Set this user's role to {{role}}?",
"count": "{{count}} users",
"user": "User",
"role": "Role",
"registeredAt": "Registered",
"you": "You",
"cannotSelf": "You cannot edit yourself",
"makeUser": "Make user",
"makeAdmin": "Make admin"
},
"log": {
"empty": "No logs",
"time": "Time",
"user": "User",
"action": "Action",
"system": "System"
},
"link": {
"incomplete": "Please complete all fields",
"addFailed": "Add failed: {{msg}}",
"confirmDelete": "Delete this link?",
"namePlaceholder": "Link name",
"urlPlaceholder": "Link URL",
"add": "Add",
"empty": "No links"
},
"page": {
"confirmDelete": "Delete this page?",
"title": "Custom pages",
"add": "Add page",
"empty": "No custom pages",
"name": "Name",
"columnTitle": "Title",
"url": "URL",
"edit": "Edit page",
"delete": "Delete page",
"editTitle": "Edit page",
"addTitle": "Add page",
"nameRequired": "Enter a page name",
"titleRequired": "Enter a navigation label",
"contentRequired": "Enter page content",
"nameInvalid": "Page names may only contain letters, numbers, hyphens, and underscores",
"nameLabel": "Page name",
"namePlaceholder": "about (used in URL: ?custom=about)",
"nameLocked": "The name cannot be changed",
"nameHint": "Letters, numbers, hyphens, and underscores only",
"navTitleLabel": "Navigation label",
"navTitlePlaceholder": "About us",
"contentLabel": "Page content (HTML + CSS + JS)",
"contentHelp": "HTML, CSS (<style>), and JS (<script>) are supported and rendered in an isolated sandbox"
},
"css": {
"filenameInvalid": "The file must be named style.css",
"sizeInvalid": "The CSS file must be smaller than 1MB",
"active": "Custom CSS is active (refresh to apply it)",
"confirmDelete": "Delete the custom CSS?",
"deleted": "Custom CSS deleted",
"title": "Custom CSS",
"description": "Upload a style.css file to override the default styles, including CSS variables and dark mode.",
"releaseUpload": "Release to upload",
"uploadHint": "Click or drag to upload style.css",
"save": "Save CSS",
"delete": "Delete custom CSS",
"warningTitle": "Warning",
"warningBody": "Invalid style.css rules can break the forum layout or make the site unusable.",
"warningHelp": "Upload a complete, tested file. If something goes wrong, delete the custom CSS to restore the default styles.",
"continueUpload": "I understand, upload"
},
"forum": {
"nameRequired": "Enter a forum name",
"saved": "Saved!",
"saveFailed": "Save failed",
"title": "Forum settings",
"nameLabel": "Forum name",
"save": "Save"
}
}
}
}