后台系统: 用户详情页面添加钱包余额显示、用户管理优化记录用户选择币种、 新增广播增加查看按钮内容、及对应跳转对应页面路径 增加帮助中心页面、公告中心页面 完成
This commit is contained in:
190
mining-pool/src/i18n/announcements.js
Normal file
190
mining-pool/src/i18n/announcements.js
Normal file
@@ -0,0 +1,190 @@
|
||||
/**
|
||||
* 公告中心页面国际化文件
|
||||
* 包含公告中心页面相关的中英文翻译
|
||||
*/
|
||||
|
||||
// 中文翻译
|
||||
export const announcements_zh = {
|
||||
// 页面标题和导航
|
||||
title: '公告中心',
|
||||
latestTitle: '最新公告',
|
||||
searchPlaceholder: '搜索',
|
||||
|
||||
// 面包屑导航
|
||||
homeCenter: '首页中心',
|
||||
|
||||
// 公告相关
|
||||
viewAll: '查看所有',
|
||||
articles: '篇文章',
|
||||
noData: '暂无公告',
|
||||
loadError: '加载公告失败',
|
||||
|
||||
// 公告类型
|
||||
importantNotice: '重要通知',
|
||||
systemAnnouncement: '系统公告',
|
||||
marketDynamic: '市场动态',
|
||||
serviceNotice: '服务通知',
|
||||
faultDescription: '故障说明',
|
||||
offlineNotice: '下线通知',
|
||||
|
||||
// 时间相关
|
||||
today: '今天',
|
||||
yesterday: '昨天',
|
||||
daysAgo: '天前',
|
||||
|
||||
// 操作
|
||||
back: '返回',
|
||||
refresh: '刷新',
|
||||
search: '搜索',
|
||||
reset: '重置',
|
||||
|
||||
// 分页
|
||||
total: '共',
|
||||
page: '页',
|
||||
items: '条',
|
||||
goToPage: '跳至',
|
||||
|
||||
// 错误信息
|
||||
networkError: '网络连接失败,请检查网络设置',
|
||||
serverError: '服务器异常,请稍后重试',
|
||||
dataError: '数据加载失败',
|
||||
|
||||
// 提示信息
|
||||
searchTip: '请输入关键词进行搜索',
|
||||
noSearchResult: '未找到相关公告',
|
||||
loadingTip: '正在加载...',
|
||||
|
||||
// 公告状态
|
||||
published: '已发布',
|
||||
draft: '草稿',
|
||||
archived: '已归档',
|
||||
|
||||
// 公告详情
|
||||
detail: '详情',
|
||||
content: '内容',
|
||||
publishTime: '发布时间',
|
||||
updateTime: '更新时间',
|
||||
author: '作者',
|
||||
category: '分类',
|
||||
tags: '标签',
|
||||
readCount: '阅读量',
|
||||
|
||||
// 操作按钮
|
||||
viewDetail: '查看详情',
|
||||
share: '分享',
|
||||
favorite: '收藏',
|
||||
print: '打印',
|
||||
download: '下载',
|
||||
|
||||
// 筛选和排序
|
||||
filter: '筛选',
|
||||
sort: '排序',
|
||||
sortByTime: '按时间排序',
|
||||
sortByPopularity: '按热度排序',
|
||||
filterByType: '按类型筛选',
|
||||
filterByDate: '按日期筛选',
|
||||
allTypes: '全部类型',
|
||||
allDates: '全部日期',
|
||||
|
||||
// 高级搜索
|
||||
advancedSearch: '高级搜索',
|
||||
searchByTitle: '按标题搜索',
|
||||
searchByContent: '按内容搜索',
|
||||
searchByAuthor: '按作者搜索',
|
||||
dateRange: '日期范围',
|
||||
startDate: '开始日期',
|
||||
endDate: '结束日期'
|
||||
};
|
||||
|
||||
// 英文翻译
|
||||
export const announcements_en = {
|
||||
// 页面标题和导航
|
||||
title: 'Announcement Center',
|
||||
latestTitle: 'Latest Announcements',
|
||||
searchPlaceholder: 'Search',
|
||||
|
||||
// 面包屑导航
|
||||
homeCenter: 'Home Center',
|
||||
|
||||
// 公告相关
|
||||
viewAll: 'View All',
|
||||
articles: 'Articles',
|
||||
noData: 'No announcements',
|
||||
loadError: 'Failed to load announcements',
|
||||
|
||||
// 公告类型
|
||||
importantNotice: 'Important Notice',
|
||||
systemAnnouncement: 'System Announcement',
|
||||
marketDynamic: 'Market Dynamic',
|
||||
serviceNotice: 'Service Notice',
|
||||
faultDescription: 'Fault Description',
|
||||
offlineNotice: 'Offline Notice',
|
||||
|
||||
// 时间相关
|
||||
today: 'Today',
|
||||
yesterday: 'Yesterday',
|
||||
daysAgo: 'days ago',
|
||||
|
||||
// 操作
|
||||
back: 'Back',
|
||||
refresh: 'Refresh',
|
||||
search: 'Search',
|
||||
reset: 'Reset',
|
||||
|
||||
// 分页
|
||||
total: 'Total',
|
||||
page: 'Page',
|
||||
items: 'Items',
|
||||
goToPage: 'Go to',
|
||||
|
||||
// 错误信息
|
||||
networkError: 'Network connection failed, please check network settings',
|
||||
serverError: 'Server error, please try again later',
|
||||
dataError: 'Data loading failed',
|
||||
|
||||
// 提示信息
|
||||
searchTip: 'Please enter keywords to search',
|
||||
noSearchResult: 'No related announcements found',
|
||||
loadingTip: 'Loading...',
|
||||
|
||||
// 公告状态
|
||||
published: 'Published',
|
||||
draft: 'Draft',
|
||||
archived: 'Archived',
|
||||
|
||||
// 公告详情
|
||||
detail: 'Detail',
|
||||
content: 'Content',
|
||||
publishTime: 'Publish Time',
|
||||
updateTime: 'Update Time',
|
||||
author: 'Author',
|
||||
category: 'Category',
|
||||
tags: 'Tags',
|
||||
readCount: 'Read Count',
|
||||
|
||||
// 操作按钮
|
||||
viewDetail: 'View Detail',
|
||||
share: 'Share',
|
||||
favorite: 'Favorite',
|
||||
print: 'Print',
|
||||
download: 'Download',
|
||||
|
||||
// 筛选和排序
|
||||
filter: 'Filter',
|
||||
sort: 'Sort',
|
||||
sortByTime: 'Sort by Time',
|
||||
sortByPopularity: 'Sort by Popularity',
|
||||
filterByType: 'Filter by Type',
|
||||
filterByDate: 'Filter by Date',
|
||||
allTypes: 'All Types',
|
||||
allDates: 'All Dates',
|
||||
|
||||
// 高级搜索
|
||||
advancedSearch: 'Advanced Search',
|
||||
searchByTitle: 'Search by Title',
|
||||
searchByContent: 'Search by Content',
|
||||
searchByAuthor: 'Search by Author',
|
||||
dateRange: 'Date Range',
|
||||
startDate: 'Start Date',
|
||||
endDate: 'End Date'
|
||||
};
|
||||
@@ -72,7 +72,6 @@ export const backendSystem_zh = {
|
||||
text:"邮件内容",
|
||||
send:"发送",
|
||||
emailRemind:"可输入多个邮箱,用逗号隔开",
|
||||
|
||||
pleaseInputCorrectEmail:"请输入正确的邮箱地址",
|
||||
pleaseInputSubject:"请输入邮件主题",
|
||||
pleaseInputText:"请输入邮件内容",
|
||||
@@ -81,9 +80,22 @@ export const backendSystem_zh = {
|
||||
pleaseInputQueryConditions:"请输入查询条件(挖矿账号、邮箱)",
|
||||
emailContent:"邮件内容",
|
||||
leftNavigation:"选择左侧导航栏查看页面",
|
||||
broadcastPause:"广播已暂停,移开鼠标继续滚动",
|
||||
broadcastResume:"鼠标悬停可暂停滚动",
|
||||
transactionAmount:"交易金额",
|
||||
walletBalance:"钱包余额",
|
||||
bthContent:"广播按钮内容(输入多个按钮,用逗号隔开):",
|
||||
bthContent2:"广播按钮内容",
|
||||
bthPath:"按钮对应跳转页面路径(根据按钮数量顺序输入):",
|
||||
bthPath2:"按钮对应跳转页面路径",
|
||||
broadcastContent:"广播内容:",
|
||||
bthPathStandard:"跳转路径以逗号分隔,最多5个(例:/reportBlock,/miningAccount,/personalMining,/workOrderRecords,/UserWorkDetails),输入换行符无效",
|
||||
pleaseInputButtonContentAndPath:"请输入广播按钮内容和跳转路径",
|
||||
max5:"跳转路径最多输入5个",
|
||||
invalidPath:"无效的跳转地址",
|
||||
invalidPathSuggestions:"建议使用",
|
||||
pathNumberNotMatch:"按钮数量和路径数量不匹配",
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -169,7 +181,23 @@ export const backendSystem_en = {
|
||||
|
||||
emailContent:"Email Content",
|
||||
leftNavigation:"Select the left navigation bar to view the page",
|
||||
|
||||
|
||||
broadcastPause:"Broadcast has been paused, move the mouse to continue scrolling",
|
||||
broadcastResume:"Hover to pause scrolling",
|
||||
transactionAmount:"Transaction Amount",
|
||||
walletBalance:"Wallet Balance",
|
||||
bthContent:"Broadcast Button Content:",
|
||||
bthPath:"Button Corresponding Jump Page Path:",
|
||||
broadcastContent:"Broadcast Content:",
|
||||
bthPathStandard:"Jump paths separated by commas, up to 5 (example: /reportBlock,/miningAccount,/personalMining,/workOrderRecords,/UserWorkDetails), invalid for line breaks",
|
||||
pleaseInputButtonContentAndPath:"Please input broadcast button content and jump path",
|
||||
bthContent2:"Broadcast Button Content",
|
||||
bthPath2:"Button Corresponding Jump Page Path",
|
||||
max5:"The number of jump paths is up to 5",
|
||||
invalidPath:"Invalid jump address",
|
||||
invalidPathSuggestions:"Suggested paths",
|
||||
pathNumberNotMatch:"The number of buttons and paths does not match",
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,15 @@ export const home_zh = {
|
||||
view:"详情",
|
||||
describe:"奖励分配:1天/次,每日0时(utc+0), 转账:1天/次,每日4时(utc+0)起,具体取决于区块成熟条件",
|
||||
networkReconnected:"网络已重新连接,正在恢复数据...",
|
||||
networkOffline:"网络连接已断开,系统将在恢复连接后自动重试"
|
||||
networkOffline:"网络连接已断开,系统将在恢复连接后自动重试",
|
||||
helpCenter:"帮助中心",
|
||||
announcements:"公告中心",
|
||||
latestTitle:"最新公告",
|
||||
noData:"暂无公告",
|
||||
viewAll:"查看所有",
|
||||
articles:"篇文章",
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -162,6 +170,13 @@ export const home_en = {
|
||||
view:"Details",
|
||||
describe:"Reward distribution: 1 day/times, daily at 0:00 (utc+0), transfer: 1 day/times, daily from 4:00 (utc+0), depending on block maturity conditions ",
|
||||
networkReconnected:"Network has been reconnected, recovering data...",
|
||||
networkOffline:"Network connection has been disconnected, the system will automatically retry after recovery"
|
||||
networkOffline:"Network connection has been disconnected, the system will automatically retry after recovery",
|
||||
helpCenter:"Help Center",
|
||||
announcements:"Announcements",
|
||||
latestTitle:"Latest Announcements",
|
||||
noData:"No data",
|
||||
viewAll:"View all",
|
||||
articles:" articles",
|
||||
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,7 @@ import {seo_zh,seo_en} from'./seo'
|
||||
import {chooseUs_zh,chooseUs_en} from'./dataDisplay'
|
||||
import {ChatWidget_zh,ChatWidget_en} from'./ChatWidget'
|
||||
import {backendSystem_zh,backendSystem_en} from'./backendSystem'
|
||||
import {announcements_zh,announcements_en} from'./announcements'
|
||||
|
||||
|
||||
|
||||
@@ -35,6 +36,7 @@ export default {
|
||||
...chooseUs_zh,
|
||||
...ChatWidget_zh,
|
||||
...backendSystem_zh,
|
||||
...announcements_zh,
|
||||
|
||||
|
||||
},
|
||||
@@ -56,6 +58,7 @@ export default {
|
||||
...chooseUs_en,
|
||||
...ChatWidget_en,
|
||||
...backendSystem_en,
|
||||
...announcements_en,
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -31,7 +31,8 @@ export const seo_zh = {
|
||||
alphAccess: "Alephium(alph) 接入页面,详细介绍如何接入 M2Pool 矿池进行 Alephium(alph) 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",
|
||||
broadcast: "M2Pool 矿池广播页面,管理员可在此查看已发布的广播信息,包括广播内容、发布时间、发布者等。",
|
||||
userManagement: "M2Pool 矿池用户管理页面,管理员可在此查看所有用户信息,包括用户名、邮箱、注册时间、登录时间等。",
|
||||
|
||||
helpCenter:"M2Pool 矿池帮助中心页面,提供用户全面的帮助中心信息,包括新手入门、矿业数据、常见问题、公告中心、其他等。",
|
||||
announcements:"M2Pool 矿池公告中心页面,提供最新的矿池公告、系统通知、服务更新和重要信息,让用户及时了解矿池动态和政策变更。",
|
||||
}
|
||||
}
|
||||
export const seo_en = {
|
||||
@@ -57,6 +58,8 @@ export const seo_en = {
|
||||
alphAccess: "The M2Pool Alephium(alph) access page provides detailed instructions on how to access the M2Pool mining pool for Alephium(alph) currency mining, offering users a convenient access guide to easily start their mining journey.",
|
||||
broadcast: "M2Pool mining pool broadcast page, where administrators can view published broadcast information, including broadcast content, release time, publisher, etc.",
|
||||
userManagement: "M2Pool mining pool user management page, where administrators can view all user information, including user name, email, registration time, login time, etc.",
|
||||
helpCenter:"M2Pool mining pool help center page, providing users with comprehensive help center information, including beginner's guide, mining data, frequently asked questions, announcement center, and other information.",
|
||||
announcements:"M2Pool mining pool announcement center page, providing the latest mining pool announcements, system notifications, service updates and important information, allowing users to stay informed of mining pool dynamics and policy changes.",
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user