mirror of
https://github.com/docmost/docmost.git
synced 2025-11-22 13:21:09 +10:00
feat: support i18n
This commit is contained in:
11
apps/client/public/locales/en/invite-signup.json
Normal file
11
apps/client/public/locales/en/invite-signup.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"Join the workspace": "Join the workspace",
|
||||
"Name": "Name",
|
||||
"enter your full name": "enter your full name",
|
||||
"Email": "Email",
|
||||
"Password": "Password",
|
||||
"Your password": "Your password",
|
||||
"Sign Up": "Sign Up",
|
||||
"invalid invitation link": "invalid invitation link",
|
||||
"Invitation signup": "Invitation signup"
|
||||
}
|
||||
7
apps/client/public/locales/en/login.json
Normal file
7
apps/client/public/locales/en/login.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"Login": "Login",
|
||||
"Email": "Email",
|
||||
"Password": "Password",
|
||||
"Your password": "Your password",
|
||||
"Sign In": "Sign In"
|
||||
}
|
||||
138
apps/client/public/locales/en/settings.json
Normal file
138
apps/client/public/locales/en/settings.json
Normal file
@ -0,0 +1,138 @@
|
||||
{
|
||||
"account": {
|
||||
"My Profile": "My Profile",
|
||||
"Change photo": "Change photo",
|
||||
"Name": "Name",
|
||||
"Your name": "Your name",
|
||||
"Save": "Save",
|
||||
"Updated successfully": "Updated successfully",
|
||||
"Failed to update data": "Failed to update data",
|
||||
"Email": "Email",
|
||||
"Change email": "Change email",
|
||||
"To change your email, you have to enter your password and new email.": "To change your email, you have to enter your password and new email.",
|
||||
"Password": "Password",
|
||||
"Enter your password": "Enter your password",
|
||||
"Enter your new preferred email": "Enter your new preferred email",
|
||||
"New email": "New email",
|
||||
"You can change your password here.": "You can change your password here.",
|
||||
"Change password": "Change password",
|
||||
"Your password must be a minimum of 8 characters.": "Your password must be a minimum of 8 characters.",
|
||||
"Current password": "Current password",
|
||||
"Enter your current password": "Enter your current password",
|
||||
"New password": "New password",
|
||||
"Enter your new password": "Enter your new password",
|
||||
"Password changed successfully": "Password changed successfully"
|
||||
},
|
||||
"preference": {
|
||||
"Preferences": "Preferences",
|
||||
"Theme": "Theme",
|
||||
"Choose your preferred color scheme.": "Choose your preferred color scheme.",
|
||||
"Select theme": "Select theme",
|
||||
"Light": "Light",
|
||||
"Dark": "Dark",
|
||||
"System settings": "System settings",
|
||||
"Language": "Language",
|
||||
"Choose your preferred interface language.": "Choose your preferred interface language.",
|
||||
"Select language": "Select language",
|
||||
"Full page width": "Full page width",
|
||||
"Choose your preferred page width.": "Choose your preferred page width.",
|
||||
"Toggle full page width": "Toggle full page width"
|
||||
},
|
||||
"workspace": {
|
||||
"general": {
|
||||
"General": "General",
|
||||
"Name": "Name",
|
||||
"e.g ACME": "e.g ACME",
|
||||
"Save": "Save",
|
||||
"Updated successfully": "Updated successfully",
|
||||
"Failed to update data": "Failed to update data"
|
||||
},
|
||||
"member": {
|
||||
"Members": "Members",
|
||||
"Invite members": "Invite members",
|
||||
"Invite new members": "Invite new members",
|
||||
"Pending": "Pending",
|
||||
"User": "User",
|
||||
"Status": "Status",
|
||||
"Role": "Role",
|
||||
"Active": "Active",
|
||||
"Email": "Email",
|
||||
"Date": "Date",
|
||||
"Invited members who are yet to accept their invitation will appear here.": "Invited members who are yet to accept their invitation will appear here.",
|
||||
"Invite by email": "Invite by email",
|
||||
"Enter valid email addresses separated by comma or space max_50": "Enter valid email addresses separated by comma or space [max: 50]",
|
||||
"enter valid emails addresses": "enter valid emails addresses",
|
||||
"Select role": "Select role",
|
||||
"Select role to assign to all invited members": "Select role to assign to all invited members",
|
||||
"Choose a role": "Choose a role",
|
||||
"Add to groups": "Add to groups",
|
||||
"Invited members will be granted access to spaces the groups can access": "Invited members will be granted access to spaces the groups can access",
|
||||
"Send invitation": "Send invitation"
|
||||
},
|
||||
"group": {
|
||||
"Groups": "Groups",
|
||||
"Create group": "Create group",
|
||||
"Group": "Group",
|
||||
"Members": "Members",
|
||||
"member": "member",
|
||||
"members": "members",
|
||||
"Manage Group": "Manage Group",
|
||||
"addGroupMembers": "addGroupMembers",
|
||||
"add": "add",
|
||||
"Edit group": "Edit group",
|
||||
"Group name": "Group name",
|
||||
"e.g Developers": "e.g Developers",
|
||||
"Group description": "Group description",
|
||||
"e.g Group for developers": "e.g Group for developers",
|
||||
"Edit": "Edit",
|
||||
"Delete group": "Delete group",
|
||||
"Are you sure you want to delete this group? Members will lose access to resources this group has access to.": "Are you sure you want to delete this group? Members will lose access to resources this group has access to.",
|
||||
"Delete": "Delete",
|
||||
"Cancel": "Cancel",
|
||||
"Remove group member": "Remove group member",
|
||||
"Are you sure you want to remove this user from the group? The user will lose access to resources this group has access to.": "Are you sure you want to remove this user from the group? The user will lose access to resources this group has access to.",
|
||||
"Add group members": "Add group members",
|
||||
"Create": "Create",
|
||||
"User": "User",
|
||||
"Status": "Status",
|
||||
"Active": "Active",
|
||||
"Add members": "Add members",
|
||||
"Search for users": "Search for users",
|
||||
"No user found": "No user found"
|
||||
},
|
||||
"space": {
|
||||
"Spaces": "Spaces",
|
||||
"Create space": "Create space",
|
||||
"Space": "Space",
|
||||
"Members": "Members",
|
||||
"Settings": "Settings",
|
||||
"Details": "Details",
|
||||
"Name": "Name",
|
||||
"e.g Sales": "e.g Sales",
|
||||
"Slug": "Slug",
|
||||
"Description": "Description",
|
||||
"e.g Space for sales team to collaborate": "e.g Space for sales team to collaborate",
|
||||
"Save": "Save",
|
||||
"Space name": "Space name",
|
||||
"e.g Product Team": "e.g Product Team",
|
||||
"Space slug": "Space slug",
|
||||
"e.g product": "e.g product",
|
||||
"Space description": "Space description",
|
||||
"e.g Space for product team": "e.g Space for product team",
|
||||
"Create": "Create",
|
||||
"addSpaceMembers": "addSpaceMembers",
|
||||
"add": "add",
|
||||
"selectRole": "selectRole",
|
||||
"Remove space member": "Remove space member",
|
||||
"Are you sure you want to remove this user from the space? The user will lose all access to this space.": "Are you sure you want to remove this user from the space? The user will lose all access to this space.",
|
||||
"Remove": "Remove",
|
||||
"Cancel": "Cancel",
|
||||
"Member": "Member",
|
||||
"Role": "Role",
|
||||
"Failed to load page. An error occurred.": "Failed to load page. An error occurred.",
|
||||
"Add members": "Add members",
|
||||
"Search for users and groups": "Search for users and groups",
|
||||
"No user found": "No user found"
|
||||
}
|
||||
}
|
||||
}
|
||||
11
apps/client/public/locales/en/setup-workspace.json
Normal file
11
apps/client/public/locales/en/setup-workspace.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"Setup workspace": "Setup workspace",
|
||||
"Create workspace": "Create workspace",
|
||||
"Workspace Name": "Workspace Name",
|
||||
"e.g ACME Inc": "e.g ACME Inc",
|
||||
"Your Name": "Your Name",
|
||||
"enter your full name": "enter your full name",
|
||||
"Your Email": "Your Email",
|
||||
"Password": "Password",
|
||||
"Enter a strong password": "Enter a strong password"
|
||||
}
|
||||
55
apps/client/public/locales/en/translation.json
Normal file
55
apps/client/public/locales/en/translation.json
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
"common": {
|
||||
"Failed to fetch recent pages": "Failed to fetch recent pages",
|
||||
"Untitled": "Untitled",
|
||||
"No pages yet": "No pages yet",
|
||||
"Failed to load page. An error occurred.": "Failed to load page. An error occurred."
|
||||
},
|
||||
"layout": {
|
||||
"Home": "Home",
|
||||
"Workspace": "Workspace",
|
||||
"Workspace settings": "Workspace settings",
|
||||
"Manage members": "Manage members",
|
||||
"Account": "Account",
|
||||
"My profile": "My profile",
|
||||
"My preferences": "My preferences",
|
||||
"Logout": "Logout",
|
||||
"Settings": "Settings",
|
||||
"Profile": "Profile",
|
||||
"Preferences": "Preferences",
|
||||
"General": "General",
|
||||
"Members": "Members",
|
||||
"Groups": "Groups",
|
||||
"Spaces": "Spaces"
|
||||
},
|
||||
"home": {
|
||||
"Recently updated": "Recently updated"
|
||||
},
|
||||
"space": {
|
||||
"Spaces you belong to": "Spaces you belong to",
|
||||
"Recently updated": "Recently updated"
|
||||
},
|
||||
"page": {
|
||||
"Error fetching page data.": "Error fetching page data.",
|
||||
"untitled": "untitled",
|
||||
"Link copied": "Link copied",
|
||||
"Copy link": "Copy link",
|
||||
"Full width": "Full width",
|
||||
"Page history": "Page history",
|
||||
"Export": "Export",
|
||||
"Print PDF": "Print PDF",
|
||||
"Delete": "Delete"
|
||||
},
|
||||
"page-history": {
|
||||
"Page history": "Page history",
|
||||
"Error loading page history.": "Error loading page history.",
|
||||
"No page history saved yet.": "No page history saved yet.",
|
||||
"Please confirm your action": "Please confirm your action",
|
||||
"Are you sure you want to restore this version? Any changes not versioned will be lost.": "Are you sure you want to restore this version? Any changes not versioned will be lost.",
|
||||
"Confirm": "Confirm",
|
||||
"Cancel": "Cancel",
|
||||
"Successfully restored": "Successfully restored",
|
||||
"Restore": "Restore",
|
||||
"Error fetching page data.": "Error fetching page data."
|
||||
}
|
||||
}
|
||||
11
apps/client/public/locales/zh/invite-signup.json
Normal file
11
apps/client/public/locales/zh/invite-signup.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"Join the workspace": "加入工作空间",
|
||||
"Name": "姓名",
|
||||
"enter your full name": "输入您的全名",
|
||||
"Email": "电子邮箱",
|
||||
"Password": "密码",
|
||||
"Your password": "您的密码",
|
||||
"Sign Up": "注册",
|
||||
"invalid invitation link": "无效的邀请链接",
|
||||
"Invitation signup": "邀请注册"
|
||||
}
|
||||
7
apps/client/public/locales/zh/login.json
Normal file
7
apps/client/public/locales/zh/login.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"Login": "登录",
|
||||
"Email": "电子邮箱",
|
||||
"Password": "密码",
|
||||
"Your password": "您的密码",
|
||||
"Sign In": "登录"
|
||||
}
|
||||
138
apps/client/public/locales/zh/settings.json
Normal file
138
apps/client/public/locales/zh/settings.json
Normal file
@ -0,0 +1,138 @@
|
||||
{
|
||||
"account": {
|
||||
"My Profile": "我的个人资料",
|
||||
"Change photo": "更改照片",
|
||||
"Name": "姓名",
|
||||
"Your name": "您的姓名",
|
||||
"Save": "保存",
|
||||
"Updated successfully": "更新成功",
|
||||
"Failed to update data": "数据更新失败",
|
||||
"Email": "电子邮箱",
|
||||
"Change email": "更改电子邮箱",
|
||||
"To change your email, you have to enter your password and new email.": "要更改您的电子邮箱,您需要输入密码和新的电子邮箱地址。",
|
||||
"Password": "密码",
|
||||
"Enter your password": "输入您的密码",
|
||||
"Enter your new preferred email": "输入您新的首选电子邮箱",
|
||||
"New email": "新电子邮箱",
|
||||
"You can change your password here.": "您可以在这里更改密码。",
|
||||
"Change password": "更改密码",
|
||||
"Your password must be a minimum of 8 characters.": "您的密码必须至少包含8个字符。",
|
||||
"Current password": "当前密码",
|
||||
"Enter your current password": "输入您的当前密码",
|
||||
"New password": "新密码",
|
||||
"Enter your new password": "输入您的新密码",
|
||||
"Password changed successfully": "密码更改成功"
|
||||
},
|
||||
"preference": {
|
||||
"Preferences": "偏好设置",
|
||||
"Theme": "主题",
|
||||
"Choose your preferred color scheme.": "选择您喜欢的配色方案。",
|
||||
"Select theme": "选择主题",
|
||||
"Light": "浅色",
|
||||
"Dark": "深色",
|
||||
"System settings": "系统设置",
|
||||
"Language": "语言",
|
||||
"Choose your preferred interface language.": "选择您喜欢的界面语言。",
|
||||
"Select language": "选择语言",
|
||||
"Full page width": "全页宽度",
|
||||
"Choose your preferred page width.": "选择您喜欢的页面宽度。",
|
||||
"Toggle full page width": "切换全页宽度"
|
||||
},
|
||||
"workspace": {
|
||||
"general": {
|
||||
"General": "常规",
|
||||
"Name": "名称",
|
||||
"e.g ACME": "例如:ACME",
|
||||
"Save": "保存",
|
||||
"Updated successfully": "更新成功",
|
||||
"Failed to update data": "数据更新失败"
|
||||
},
|
||||
"member": {
|
||||
"Members": "成员",
|
||||
"Invite members": "邀请成员",
|
||||
"Invite new members": "邀请新成员",
|
||||
"Pending": "待定",
|
||||
"User": "用户",
|
||||
"Status": "状态",
|
||||
"Role": "角色",
|
||||
"Active": "活跃",
|
||||
"Email": "电子邮箱",
|
||||
"Date": "日期",
|
||||
"Invited members who are yet to accept their invitation will appear here.": "尚未接受邀请的成员将显示在这里。",
|
||||
"Invite by email": "通过电子邮箱邀请",
|
||||
"Enter valid email addresses separated by comma or space max_50": "输入有效的电子邮箱地址,用逗号或空格分隔 [最多:50个]",
|
||||
"enter valid emails addresses": "输入有效的电子邮箱地址",
|
||||
"Select role": "选择角色",
|
||||
"Select role to assign to all invited members": "选择要分配给所有被邀请成员的角色",
|
||||
"Choose a role": "选择一个角色",
|
||||
"Add to groups": "添加到群组",
|
||||
"Invited members will be granted access to spaces the groups can access": "被邀请的成员将被授予访问群组可以访问的空间的权限",
|
||||
"Send invitation": "发送邀请"
|
||||
},
|
||||
"group": {
|
||||
"Groups": "群组",
|
||||
"Create group": "创建群组",
|
||||
"Group": "群组",
|
||||
"Members": "成员",
|
||||
"member": "成员",
|
||||
"members": "成员",
|
||||
"Manage Group": "管理群组",
|
||||
"addGroupMembers": "添加群组成员",
|
||||
"add": "添加",
|
||||
"Edit group": "编辑群组",
|
||||
"Group name": "群组名称",
|
||||
"e.g Developers": "例如:开发人员",
|
||||
"Group description": "群组描述",
|
||||
"e.g Group for developers": "例如:开发人员群组",
|
||||
"Edit": "编辑",
|
||||
"Delete group": "删除群组",
|
||||
"Are you sure you want to delete this group? Members will lose access to resources this group has access to.": "您确定要删除这个群组吗?成员将失去对该群组可访问资源的访问权限。",
|
||||
"Delete": "删除",
|
||||
"Cancel": "取消",
|
||||
"Remove group member": "移除群组成员",
|
||||
"Are you sure you want to remove this user from the group? The user will lose access to resources this group has access to.": "您确定要从群组中移除这个用户吗?该用户将失去对该群组可访问资源的访问权限。",
|
||||
"Add group members": "添加群组成员",
|
||||
"Create": "创建",
|
||||
"User": "用户",
|
||||
"Status": "状态",
|
||||
"Active": "活跃",
|
||||
"Add members": "添加成员",
|
||||
"Search for users": "搜索用户",
|
||||
"No user found": "未找到用户"
|
||||
},
|
||||
"space": {
|
||||
"Spaces": "空间",
|
||||
"Create space": "创建空间",
|
||||
"Space": "空间",
|
||||
"Members": "成员",
|
||||
"Settings": "设置",
|
||||
"Details": "详情",
|
||||
"Name": "名称",
|
||||
"e.g Sales": "例如:销售",
|
||||
"Slug": "短链接",
|
||||
"Description": "描述",
|
||||
"e.g Space for sales team to collaborate": "例如:销售团队协作的空间",
|
||||
"Save": "保存",
|
||||
"Space name": "空间名称",
|
||||
"e.g Product Team": "例如:产品团队",
|
||||
"Space slug": "空间短链接",
|
||||
"e.g product": "例如:product",
|
||||
"Space description": "空间描述",
|
||||
"e.g Space for product team": "例如:产品团队的空间",
|
||||
"Create": "创建",
|
||||
"addSpaceMembers": "添加空间成员",
|
||||
"add": "添加",
|
||||
"selectRole": "选择角色",
|
||||
"Remove space member": "移除空间成员",
|
||||
"Are you sure you want to remove this user from the space? The user will lose all access to this space.": "您确定要从空间中移除这个用户吗?该用户将失去对这个空间的所有访问权限。",
|
||||
"Remove": "移除",
|
||||
"Cancel": "取消",
|
||||
"Member": "成员",
|
||||
"Role": "角色",
|
||||
"Failed to load page. An error occurred.": "页面加载失败。发生了一个错误。",
|
||||
"Add members": "添加成员",
|
||||
"Search for users and groups": "搜索用户和群组",
|
||||
"No user found": "未找到用户"
|
||||
}
|
||||
}
|
||||
}
|
||||
11
apps/client/public/locales/zh/setup-workspace.json
Normal file
11
apps/client/public/locales/zh/setup-workspace.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"Setup workspace": "设置工作空间",
|
||||
"Create workspace": "创建工作空间",
|
||||
"Workspace Name": "工作空间名称",
|
||||
"e.g ACME Inc": "例如:ACME Inc",
|
||||
"Your Name": "您的姓名",
|
||||
"enter your full name": "输入您的全名",
|
||||
"Your Email": "您的电子邮箱",
|
||||
"Password": "密码",
|
||||
"Enter a strong password": "输入一个强密码"
|
||||
}
|
||||
55
apps/client/public/locales/zh/translation.json
Normal file
55
apps/client/public/locales/zh/translation.json
Normal file
@ -0,0 +1,55 @@
|
||||
{
|
||||
"common": {
|
||||
"Failed to fetch recent pages": "获取最近页面失败",
|
||||
"Untitled": "无标题",
|
||||
"No pages yet": "暂无页面",
|
||||
"Failed to load page. An error occurred.": "加载页面失败。发生错误。"
|
||||
},
|
||||
"layout": {
|
||||
"Home": "首页",
|
||||
"Workspace": "工作区",
|
||||
"Workspace settings": "工作区设置",
|
||||
"Manage members": "管理成员",
|
||||
"Account": "账户",
|
||||
"My profile": "我的个人资料",
|
||||
"My preferences": "我的偏好设置",
|
||||
"Logout": "退出登录",
|
||||
"Settings": "设置",
|
||||
"Profile": "个人资料",
|
||||
"Preferences": "偏好设置",
|
||||
"General": "常规",
|
||||
"Members": "成员",
|
||||
"Groups": "群组",
|
||||
"Spaces": "空间"
|
||||
},
|
||||
"home": {
|
||||
"Recently updated": "最近更新"
|
||||
},
|
||||
"space": {
|
||||
"Spaces you belong to": "您所属的空间",
|
||||
"Recently updated": "最近更新"
|
||||
},
|
||||
"page": {
|
||||
"Error fetching page data.": "获取页面数据时出错。",
|
||||
"untitled": "无标题",
|
||||
"Link copied": "链接已复制",
|
||||
"Copy link": "复制链接",
|
||||
"Full width": "全宽",
|
||||
"Page history": "页面历史",
|
||||
"Export": "导出",
|
||||
"Print PDF": "打印 PDF",
|
||||
"Delete": "删除"
|
||||
},
|
||||
"page-history": {
|
||||
"Page history": "页面历史",
|
||||
"Error loading page history.": "加载页面历史时出错。",
|
||||
"No page history saved yet.": "尚未保存页面历史。",
|
||||
"Please confirm your action": "请确认您的操作",
|
||||
"Are you sure you want to restore this version? Any changes not versioned will be lost.": "您确定要恢复此版本吗?任何未版本化的更改将会丢失。",
|
||||
"Confirm": "确认",
|
||||
"Cancel": "取消",
|
||||
"Successfully restored": "恢复成功",
|
||||
"Restore": "恢复",
|
||||
"Error fetching page data.": "获取页面数据时出错。"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user