mirror of
https://github.com/wgh136/nysoure.git
synced 2025-09-27 12:17:24 +00:00
Initial commit
This commit is contained in:
275
frontend/src/i18n.ts
Normal file
275
frontend/src/i18n.ts
Normal file
@@ -0,0 +1,275 @@
|
||||
export const i18nData = {
|
||||
"en": {
|
||||
translation: {
|
||||
"My Profile": "My Profile",
|
||||
"Publish": "Publish",
|
||||
"Log out": "Log out",
|
||||
"Are you sure you want to log out?": "Are you sure you want to log out?",
|
||||
"Cancel": "Cancel",
|
||||
"Confirm": "Confirm",
|
||||
"Search": "Search",
|
||||
"Login": "Login",
|
||||
"Register": "Register",
|
||||
"Username": "Username",
|
||||
"Password": "Password",
|
||||
"Confirm Password": "Confirm Password",
|
||||
"Username and password cannot be empty": "Username and password cannot be empty",
|
||||
"Passwords do not match": "Passwords do not match",
|
||||
"Continue": "Continue",
|
||||
"Don't have an account? Register": "Don't have an account? Register",
|
||||
"Already have an account? Login": "Already have an account? Login",
|
||||
"Publish Resource": "Publish Resource",
|
||||
"All information, images, and files can be modified after publishing": "All information, images, and files can be modified after publishing",
|
||||
"Title": "Title",
|
||||
"Alternative Titles": "Alternative Titles",
|
||||
"Add Alternative Title": "Add Alternative Title",
|
||||
"Tags": "Tags",
|
||||
"Description": "Description",
|
||||
"Use Markdown format": "Use Markdown format",
|
||||
"Images": "Images",
|
||||
"Images will not be displayed automatically, you need to reference them in the description": "Images will not be displayed automatically, you need to reference them in the description",
|
||||
"Preview": "Preview",
|
||||
"Link": "Link",
|
||||
"Action": "Action",
|
||||
"Upload Image": "Upload Image",
|
||||
"Error": "Error",
|
||||
"Title cannot be empty": "Title cannot be empty",
|
||||
"Alternative title cannot be empty": "Alternative title cannot be empty",
|
||||
"At least one tag required": "At least one tag required",
|
||||
"Description cannot be empty": "Description cannot be empty",
|
||||
"Loading": "Loading",
|
||||
"Enter a search keyword to continue": "Enter a search keyword to continue",
|
||||
|
||||
// Management page translations
|
||||
"Manage": "Manage",
|
||||
"Storage": "Storage",
|
||||
"Users": "Users",
|
||||
"You are not logged in. Please log in to access this page.": "You are not logged in. Please log in to access this page.",
|
||||
"You are not authorized to access this page.": "You are not authorized to access this page.",
|
||||
|
||||
// Storage management
|
||||
"No storage found. Please create a new storage.": "No storage found. Please create a new storage.",
|
||||
"Name": "Name",
|
||||
"Created At": "Created At",
|
||||
"Actions": "Actions",
|
||||
"Delete Storage": "Delete Storage",
|
||||
"Are you sure you want to delete this storage? This action cannot be undone.": "Are you sure you want to delete this storage? This action cannot be undone.",
|
||||
"Delete": "Delete",
|
||||
"Storage deleted successfully": "Storage deleted successfully",
|
||||
"New Storage": "New Storage",
|
||||
"Type": "Type",
|
||||
"Local": "Local",
|
||||
"S3": "S3",
|
||||
"Path": "Path",
|
||||
"Max Size (MB)": "Max Size (MB)",
|
||||
"Endpoint": "Endpoint",
|
||||
"Access Key ID": "Access Key ID",
|
||||
"Secret Access Key": "Secret Access Key",
|
||||
"Bucket Name": "Bucket Name",
|
||||
"All fields are required": "All fields are required",
|
||||
"Storage created successfully": "Storage created successfully",
|
||||
"Close": "Close",
|
||||
"Submit": "Submit",
|
||||
|
||||
// User management
|
||||
"Admin": "Admin",
|
||||
"Can Upload": "Can Upload",
|
||||
"Yes": "Yes",
|
||||
"No": "No",
|
||||
"Delete User": "Delete User",
|
||||
"Are you sure you want to delete user": "Are you sure you want to delete user",
|
||||
"This action cannot be undone.": "This action cannot be undone.",
|
||||
"User deleted successfully": "User deleted successfully",
|
||||
"Set as user": "Set as user",
|
||||
"Set as admin": "Set as admin",
|
||||
"Remove upload permission": "Remove upload permission",
|
||||
"Grant upload permission": "Grant upload permission",
|
||||
"User set as admin successfully": "User set as admin successfully",
|
||||
"User set as user successfully": "User set as user successfully",
|
||||
"User set as upload permission successfully": "User set as upload permission successfully",
|
||||
"User removed upload permission successfully": "User removed upload permission successfully",
|
||||
}
|
||||
},
|
||||
"zh-CN": {
|
||||
translation: {
|
||||
"My Profile": "我的资料",
|
||||
"Publish": "发布",
|
||||
"Log out": "退出登录",
|
||||
"Are you sure you want to log out?": "您确定要退出登录吗?",
|
||||
"Cancel": "取消",
|
||||
"Confirm": "确认",
|
||||
"Search": "搜索",
|
||||
"Login": "登录",
|
||||
"Register": "注册",
|
||||
"Username": "用户名",
|
||||
"Password": "密码",
|
||||
"Confirm Password": "确认密码",
|
||||
"Username and password cannot be empty": "用户名和密码不能为空",
|
||||
"Passwords do not match": "两次输入的密码不匹配",
|
||||
"Continue": "继续",
|
||||
"Don't have an account? Register": "没有账号?注册",
|
||||
"Already have an account? Login": "已有账号?登录",
|
||||
"Publish Resource": "发布资源",
|
||||
"All information, images, and files can be modified after publishing": "所有的信息, 图片, 文件均可在发布后修改",
|
||||
"Title": "标题",
|
||||
"Alternative Titles": "其他标题",
|
||||
"Add Alternative Title": "新增标题",
|
||||
"Tags": "标签",
|
||||
"Description": "介绍",
|
||||
"Use Markdown format": "使用Markdown格式",
|
||||
"Images": "图片",
|
||||
"Images will not be displayed automatically, you need to reference them in the description": "图片不会被自动显示, 你需要在介绍中引用它们",
|
||||
"Preview": "预览",
|
||||
"Link": "链接",
|
||||
"Action": "操作",
|
||||
"Upload Image": "上传图片",
|
||||
"Error": "错误",
|
||||
"Title cannot be empty": "标题不能为空",
|
||||
"Alternative title cannot be empty": "不能存在空标题",
|
||||
"At least one tag required": "至少选择一个标签",
|
||||
"Description cannot be empty": "介绍不能为空",
|
||||
"Loading": "加载中",
|
||||
"Enter a search keyword to continue": "输入搜索关键词以继续",
|
||||
|
||||
// Management page translations
|
||||
"Manage": "管理",
|
||||
"Storage": "存储",
|
||||
"Users": "用户",
|
||||
"You are not logged in. Please log in to access this page.": "您尚未登录。请登录以访问此页面。",
|
||||
"You are not authorized to access this page.": "您无权访问此页面。",
|
||||
|
||||
// Storage management
|
||||
"No storage found. Please create a new storage.": "未找到存储。请创建新的存储。",
|
||||
"Name": "名称",
|
||||
"Created At": "创建于",
|
||||
"Actions": "操作",
|
||||
"Delete Storage": "删除存储",
|
||||
"Are you sure you want to delete this storage? This action cannot be undone.": "您确定要删除此存储吗?此操作不可撤销。",
|
||||
"Delete": "删除",
|
||||
"Storage deleted successfully": "存储已成功删除",
|
||||
"New Storage": "新建存储",
|
||||
"Type": "类型",
|
||||
"Local": "本地",
|
||||
"S3": "S3",
|
||||
"Path": "路径",
|
||||
"Max Size (MB)": "最大大小 (MB)",
|
||||
"Endpoint": "终端节点",
|
||||
"Access Key ID": "访问密钥 ID",
|
||||
"Secret Access Key": "私有访问密钥",
|
||||
"Bucket Name": "桶名称",
|
||||
"All fields are required": "所有字段都是必填的",
|
||||
"Storage created successfully": "存储创建成功",
|
||||
"Close": "关闭",
|
||||
"Submit": "提交",
|
||||
|
||||
// User management
|
||||
"Admin": "管理员",
|
||||
"Can Upload": "可上传",
|
||||
"Yes": "是",
|
||||
"No": "否",
|
||||
"Delete User": "删除用户",
|
||||
"Are you sure you want to delete user": "您确定要删除用户",
|
||||
"This action cannot be undone.": "此操作不可撤销。",
|
||||
"User deleted successfully": "用户已成功删除",
|
||||
"Set as user": "设为普通用户",
|
||||
"Set as admin": "设为管理员",
|
||||
"Remove upload permission": "移除上传权限",
|
||||
"Grant upload permission": "授予上传权限",
|
||||
"User set as admin successfully": "用户已成功设为管理员",
|
||||
"User set as user successfully": "用户已成功设为普通用户",
|
||||
"User set as upload permission successfully": "用户已成功授予上传权限",
|
||||
"User removed upload permission successfully": "用户已成功移除上传权限",
|
||||
}
|
||||
},
|
||||
"zh-TW": {
|
||||
translation: {
|
||||
"My Profile": "我的資料",
|
||||
"Publish": "發布",
|
||||
"Log out": "登出",
|
||||
"Are you sure you want to log out?": "您確定要登出嗎?",
|
||||
"Cancel": "取消",
|
||||
"Confirm": "確認",
|
||||
"Search": "搜尋",
|
||||
"Login": "登入",
|
||||
"Register": "註冊",
|
||||
"Username": "用戶名",
|
||||
"Password": "密碼",
|
||||
"Confirm Password": "確認密碼",
|
||||
"Username and password cannot be empty": "用戶名和密碼不能為空",
|
||||
"Passwords do not match": "兩次輸入的密碼不匹配",
|
||||
"Continue": "繼續",
|
||||
"Don't have an account? Register": "沒有賬號?註冊",
|
||||
"Already have an account? Login": "已有賬號?登入",
|
||||
"Publish Resource": "發布資源",
|
||||
"All information, images, and files can be modified after publishing": "所有資訊、圖片、檔案均可於發布後修改",
|
||||
"Title": "標題",
|
||||
"Alternative Titles": "其他標題",
|
||||
"Add Alternative Title": "新增標題",
|
||||
"Tags": "標籤",
|
||||
"Description": "介紹",
|
||||
"Use Markdown format": "使用Markdown格式",
|
||||
"Images": "圖片",
|
||||
"Images will not be displayed automatically, you need to reference them in the description": "圖片不會自動顯示,需在介紹中引用",
|
||||
"Preview": "預覽",
|
||||
"Link": "連結",
|
||||
"Action": "操作",
|
||||
"Upload Image": "上傳圖片",
|
||||
"Error": "錯誤",
|
||||
"Title cannot be empty": "標題不能為空",
|
||||
"Alternative title cannot be empty": "不能有空的標題",
|
||||
"At least one tag required": "至少選擇一個標籤",
|
||||
"Description cannot be empty": "介紹不能為空",
|
||||
"Loading": "載入中",
|
||||
"Enter a search keyword to continue": "輸入搜尋關鍵字以繼續",
|
||||
|
||||
// Management page translations
|
||||
"Manage": "管理",
|
||||
"Storage": "儲存",
|
||||
"Users": "用戶",
|
||||
"You are not logged in. Please log in to access this page.": "您尚未登入。請登入以訪問此頁面。",
|
||||
"You are not authorized to access this page.": "您無權訪問此頁面。",
|
||||
|
||||
// Storage management
|
||||
"No storage found. Please create a new storage.": "未找到儲存。請創建新的儲存。",
|
||||
"Name": "名稱",
|
||||
"Created At": "建立於",
|
||||
"Actions": "操作",
|
||||
"Delete Storage": "刪除儲存",
|
||||
"Are you sure you want to delete this storage? This action cannot be undone.": "您確定要刪除此儲存嗎?此操作不可撤銷。",
|
||||
"Delete": "刪除",
|
||||
"Storage deleted successfully": "儲存已成功刪除",
|
||||
"New Storage": "新建儲存",
|
||||
"Type": "類型",
|
||||
"Local": "本地",
|
||||
"S3": "S3",
|
||||
"Path": "路徑",
|
||||
"Max Size (MB)": "最大大小 (MB)",
|
||||
"Endpoint": "端點",
|
||||
"Access Key ID": "訪問密鑰 ID",
|
||||
"Secret Access Key": "私有訪問密鑰",
|
||||
"Bucket Name": "儲存桶名稱",
|
||||
"All fields are required": "所有欄位都是必填的",
|
||||
"Storage created successfully": "儲存創建成功",
|
||||
"Close": "關閉",
|
||||
"Submit": "提交",
|
||||
|
||||
// User management
|
||||
"Admin": "管理員",
|
||||
"Can Upload": "可上傳",
|
||||
"Yes": "是",
|
||||
"No": "否",
|
||||
"Delete User": "刪除用戶",
|
||||
"Are you sure you want to delete user": "您確定要刪除用戶",
|
||||
"This action cannot be undone.": "此操作不可撤銷。",
|
||||
"User deleted successfully": "用戶已成功刪除",
|
||||
"Set as user": "設為普通用戶",
|
||||
"Set as admin": "設為管理員",
|
||||
"Remove upload permission": "移除上傳權限",
|
||||
"Grant upload permission": "授予上傳權限",
|
||||
"User set as admin successfully": "用戶已成功設為管理員",
|
||||
"User set as user successfully": "用戶已成功設為普通用戶",
|
||||
"User set as upload permission successfully": "用戶已成功授予上傳權限",
|
||||
"User removed upload permission successfully": "用戶已成功移除上傳權限",
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user