[go: nahoru, domu]

Skip to content

Commit

Permalink
Add Support for Chinese Language (hcengineering#5859)
Browse files Browse the repository at this point in the history
Signed-off-by: dingdayu <dingxiaoyu.ddy@gmail.com>
Co-authored-by: dingdayu <dingxiaoyu.ddy@gmail.com>
  • Loading branch information
dingdayu and dingdayu committed Jun 19, 2024
1 parent ca28ef7 commit ec655fd
Show file tree
Hide file tree
Showing 42 changed files with 2,779 additions and 0 deletions.
66 changes: 66 additions & 0 deletions packages/core/lang/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"string": {
"Id": "Id",
"Space": "空间",
"Spaces": "空间",
"SpacesDescription": "管理所有空间的空间类型",
"TypedSpace": "类型化空间",
"SpaceType": "空间类型",
"Modified": "已修改",
"ModifiedDate": "修改日期",
"ModifiedBy": "修改者",
"Class": "类",
"AttachedTo": "附加到",
"AttachedToClass": "附加到类",
"Name": "名称",
"Description": "描述",
"ShortDescription": "简短描述",
"Descriptor": "描述符",
"TargetClass": "目标类",
"Role": "角色",
"Roles": "角色",
"Private": "私有",
"Archived": "已归档",
"ClassLabel": "类型",
"ClassPropertyLabel": "标签",
"String": "字符串",
"Markup": "标记",
"Number": "数字",
"Boolean": "布尔值",
"Timestamp": "时间戳",
"Date": "日期",
"IntlString": "国际字符串",
"Ref": "引用",
"Collection": "集合",
"Array": "数组",
"Enum": "枚举",
"Members": "成员",
"Hyperlink": "URL",
"Collaborative": "协作",
"Object": "对象",
"System": "系统",
"CreatedBy": "创建者",
"CreatedDate": "创建日期",
"Status": "状态",
"StatusCategory": "状态类别",
"Account": "账户",
"Rank": "排名",
"Owners": "所有者",
"Permission": "权限",
"CreateObject": "创建对象",
"UpdateObject": "更新对象",
"DeleteObject": "删除对象",
"ForbidDeleteObject": "禁止删除对象",
"UpdateSpace": "更新空间",
"ArchiveSpace": "归档空间",
"CreateObjectDescription": "授予用户在空间中创建对象的权限",
"UpdateObjectDescription": "授予用户在空间中更新对象的权限",
"DeleteObjectDescription": "授予用户在空间中删除对象的权限",
"ForbidDeleteObjectDescription": "禁止用户在空间中删除对象",
"UpdateSpaceDescription": "授予用户更新空间的权限",
"ArchiveSpaceDescription": "授予用户归档空间的权限",
"AutoJoin": "自动加入",
"AutoJoinDescr": "自动将新员工加入此空间",
"BlobSize": "大小"
}
}
23 changes: 23 additions & 0 deletions packages/platform/lang/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"status": {
"LoadingPlugin": "正在加载插件 {plugin}...",
"UnknownError": "未知错误: {message}",
"InvalidId": "无效的 Id: {id}",
"BadRequest": "错误的请求",
"Forbidden": "禁止访问",
"ExpiredLink": "此邀请链接已过期",
"Unauthorized": "未授权",
"UnknownMethod": "未知方法: {method}",
"InternalServerError": "内部服务器错误",
"MaintenanceWarning": "计划在 {time, plural, =1 {不到一分钟} other {# 分钟}} 内进行维护",
"AccountNotFound": "账户未找到",
"AccountNotConfirmed": "账户未确认",
"WorkspaceNotFound": "工作区未找到",
"InvalidPassword": "无效的密码",
"AccountAlreadyExists": "账户已存在",
"WorkspaceRateLimit": "服务器繁忙,请稍后再试",
"AccountAlreadyConfirmed": "账户已确认",
"WorkspaceAlreadyExists": "工作区已存在",
"ProductIdMismatch": "产品不匹配"
}
}
5 changes: 5 additions & 0 deletions packages/platform/src/__tests__/lang/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"string": {
"loadingPlugin": "正在加载插件 '<b>'{plugin}'</b>'..."
}
}
41 changes: 41 additions & 0 deletions packages/presentation/lang/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"string": {
"Create": "创建",
"Cancel": "取消",
"Ok": "确定",
"Save": "保存",
"Saved": "已保存...",
"Download": "下载",
"Delete": "删除",
"Close": "关闭",
"NotSelected": "未选择",
"Deselect": "取消选择",
"Archived": "(已归档)",
"AddSocialLinks": "添加社交链接",
"EditSocialLinks": "编辑社交链接",
"Change": "更改",
"Remove": "移除",
"Search": "搜索...",
"Spaces": "空间",
"NumberSpaces": "{count, plural, =0 {在} =1 {在 1 个空间} other {在 # 个空间}}",
"InThis": "在这个 {space}",
"NoMatchesInThis": "在这个 {space} 中未找到匹配项",
"NoMatchesFound": "未找到匹配项",
"NotInThis": "不在这个 {space}",
"Match": "匹配",
"Add": "添加",
"Edit": "编辑",
"DocumentPreview": "预览",
"MakePrivate": "设为私有",
"MakePrivateDescription": "只有成员可以查看",
"Created": "已创建",
"NoResults": "没有可显示结果",
"Next": "下一步",
"FailedToPreview": "预览失败",
"ContentType": "内容类型",
"ContentTypeNotSupported": "内容类型不支持"
},
"status": {
"FileTooLarge": "文件太大"
}
}
55 changes: 55 additions & 0 deletions packages/text-editor/lang/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"string": {
"TableOfContents": "目录",
"Suggested": "推荐",
"NoItems": "没有记录",
"EditorPlaceholder": "开始输入...",
"Edit": "编辑",
"Bold": "加粗",
"Italic": "斜体",
"Strikethrough": "删除线",
"Link": "链接",
"Save": "保存",
"OrderedList": "有序列表",
"BulletedList": "无序列表",
"Blockquote": "引用",
"Code": "代码",
"CodeBlock": "代码块",
"Send": "发送",
"Attach": "附件",
"TextStyle": "文本样式",
"Emoji": "表情",
"GIF": "GIF",
"Mention": "提及",
"Underlined": "下划线",
"AlignCenter": "居中对齐",
"AlignLeft": "左对齐",
"AlignRight": "右对齐",
"ViewImage": "查看图片",
"ViewOriginal": "查看原图",
"MoreActions": "更多操作",
"FullDescription": "完整描述",
"NoFullDescription": "没有详细描述",
"EnableDiffMode": "差异模式",

"AddColumnBefore": "在前面添加",
"AddColumnAfter": "在后面添加",
"DeleteColumn": "删除",
"AddRowBefore": "在前面添加",
"AddRowAfter": "在后面添加",
"DeleteRow": "删除",
"DeleteTable": "删除",
"Duplicate": "重复",

"CategoryRow": "行",
"CategoryColumn": "列",
"Table": "表格",
"InsertTable": "插入表格",
"TableOptions": "自定义表格",
"Width": "宽度",
"Height": "高度",
"Unset": "未设置",
"Image": "图片",
"SeparatorLine": "分隔线"
}
}
94 changes: 94 additions & 0 deletions packages/ui/lang/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"string": {
"EditBoxPlaceholder": "输入文本...",
"Ok": "确定",
"Cancel": "取消",
"Save": "保存",
"Publish": "发布",
"SaveDraft": "保存草稿",
"MinutesAgo": "{minutes, plural, =0 {不到一分钟前} =1 {一分钟前} other {# 分钟前}}",
"HoursAgo": "{hours, plural, =0 {不到一小时前} =1 {一小时前} other {# 小时前}}",
"DaysAgo": "{days, plural, =0 {今天} =1 {昨天} other {# 天前}}",
"MonthsAgo": "{months, plural, =0 {这个月} =1 {一个月前} other {# 个月前}}",
"YearsAgo": "{years, plural, =0 {今年} =1 {一年前} other {# 年前}}",
"Minutes": "{minutes, plural, =0 {不到一分钟} =1 {一分钟} other {# 分钟}}",
"Hours": "{hours, plural, =0 {不到一小时} =1 {一小时} other {# 小时}}",
"Days": "{days, plural, =0 {今天} =1 {1 天} other {# 天}}",
"Weeks": "{weeks, plural, =0 {本周} =1 {1 周} other {# 周}}",
"Months": "{months, plural, =0 {本月} =1 {1 个月} other {# 个月}}",
"Years": "{years, plural, =0 {今年} =1 {一年} other {# 年}}",
"Before": "之前",
"After": "之后",
"MinutesShort": "{value} 分钟",
"HoursShort": "{value} 小时",
"DaysShort": "{value} 天",
"ShowMore": "显示更多",
"ShowLess": "显示更少",
"Search": "搜索",
"SearchDots": "搜索...",
"Suggested": "推荐",
"TimeTooltip": "{value}",
"SelectDate": "选择日期",
"None": "无",
"NotSelected": "未选择",
"Today": "今天",
"NoDate": "无日期",
"StartDate": "开始日期",
"TargetDate": "目标日期",
"Overdue": "过期",
"DueDate": "截止日期",
"AddDueDate": "添加截止日期",
"SetDueDate": "设置截止日期",
"EditDueDate": "编辑截止日期",
"SaveDueDate": "保存截止日期",
"NeedsToBeCompletedByThisDate": "需要在此日期前完成",
"DueDatePopupTitle": "截止于 {value}",
"DueDatePopupOverdueTitle": "原定于 {value}",
"DueDatePopupDescription": "{value, plural, =0 {今天} =1 {明天} other {剩余 # 天}}",
"DueDatePopupOverdueDescription": "{value, plural, =1 {过期 1 天} other {# 天过期}}",
"English": "英语",
"Russian": "俄语",
"Portuguese": "葡萄牙语",
"Spanish": "西班牙语",
"MinutesBefore": "{minutes, plural, =1 {一分钟前} other {# 分钟前}}",
"HoursBefore": "{hours, plural, =1 {一小时前} other {# 小时前}}",
"DaysBefore": "{days, plural, =1 {一天前} other {# 天前}}",
"WeeksBefore": "{weeks, plural, =1 {一周前} other {# 周前}}",
"MonthsBefore": "{months, plural, =1 {一个月前} other {# 个月前}}",
"MinutesAfter": "{minutes, plural, =1 {一分钟后} other {# 分钟后}}",
"HoursAfter": "{hours, plural, =1 {一小时后} other {# 小时后}}",
"DaysAfter": "{days, plural, =1 {一天后} other {# 天后}}",
"WeeksAfter": "{weeks, plural, =1 {一周后} other {# 周后}}",
"MonthsAfter": "{months, plural, =1 {一个月后} other {# 个月后}}",
"NoActionsDefined": "无适用操作",
"Incoming": "传入",
"HoursLabel": "小时",
"Back": "返回",
"Next": "下一步",
"DropdownDefaultLabel": "选择项目",
"DD": "日",
"MM": "月",
"YYYY": "年",
"HH": "小时",
"GettingWorkDone": "完成工作",
"Smileys": "表情符号",
"Nature": "自然",
"Symbols": "符号",
"TravelAndPlaces": "旅行和地点",
"Objects": "物体",
"Food": "食物",
"MoreCount": "还有 {count} 个",
"Spacious": "宽敞",
"Compact": "紧凑",
"ThemeLight": "浅色",
"ThemeDark": "深色",
"ThemeSystem": "系统",
"NoTimeZonesFound": "未找到时区",
"Selected": "已选:",
"Spanish": "西班牙语",
"Portuguese": "葡萄牙语",
"Submit": "提交",
"NextStep": "下一步",
"TypeHere": "在此输入..."
}
}
48 changes: 48 additions & 0 deletions plugins/activity-assets/lang/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"string": {
"Activity": "活动",
"Added": "添加了",
"All": "全部",
"AllActivity": "所有活动",
"Attributes": "属性",
"Changed": "更改了",
"CollectionUpdated": "更新了 {collection}",
"Created": "创建了",
"DocAdded": "添加了 {_class}",
"DocCreated": "创建了 {_class}",
"DocDeleted": "删除了 {_class}",
"Edit": "编辑",
"Edited": "编辑了",
"Emoji": "表情符号",
"For": "为",
"From": "来自",
"In": "在",
"At": "于",
"LastReply": "最后回复",
"New": "新",
"NewestFirst": "最新优先",
"Pinned": "置顶",
"Reacted": "回应了",
"Reactions": "回应",
"Reaction": "回应",
"Removed": "移除了",
"Replies": "回复",
"RepliesCount": "{replies, plural, =1 {# 回复} other {# 回复}}",
"Set": "设置",
"To": "到",
"Unset": "取消设置",
"Update": "更新",
"Updated": "更新了",
"UpdatedCollection": "已更新",
"Message": "消息",
"Mentioned": "提到",
"You": "你",
"Mentions": "提到",
"MentionedYouIn": "在 {title} 中提到了你",
"Messages": "消息",
"Thread": "线程",
"AddReaction": "添加回应",
"SaveForLater": "稍后保存",
"RemoveFromLater": "从保存中移除"
}
}
57 changes: 57 additions & 0 deletions plugins/attachment-assets/lang/zh.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"string": {
"UploadDropFilesHere": "上传或拖放文件到这里",
"NoAttachments": "没有附件",
"NoParticipants": "未添加参与者",
"AddAttachment": "上传了一个附件",
"Attachments": "附件",
"Photos": "照片",
"File": "文件",
"Files": "文件",
"NoFiles": "没有文件",
"ShowMoreAttachments": "显示更多",
"Type": "类型",
"Size": "大小",
"Photo": "照片",
"Date": "日期",
"LastModified": "最后修改",
"Name": "名称",
"FileBrowser": "文件浏览器",
"FileBrowserFileCounter": "{results, plural, =1 {# 个结果} other {# 个结果}}",
"FileBrowserListView": "列表",
"FileBrowserGridView": "网格",
"FileBrowserFilterFrom": "来自",
"FileBrowserFilterIn": "在",
"FileBrowserFilterDate": "日期",
"FileBrowserFilterFileType": "文件类型",
"FileBrowserSort": "排序:",
"FileBrowserSortNewest": "最新文件",
"FileBrowserSortOldest": "最旧文件",
"FileBrowserSortAZ": "A 到 Z",
"FileBrowserSortZA": "Z 到 A",
"FileBrowserSortSmallest": "最小文件",
"FileBrowserSortBiggest": "最大文件",
"FileBrowserDateFilterAny": "任何时间",
"FileBrowserDateFilterToday": "今天",
"FileBrowserDateFilterYesterday": "昨天",
"FileBrowserDateFilter7Days": "最近 7 天",
"FileBrowserDateFilter30Days": "最近 30 天",
"FileBrowserDateFilter3Months": "最近 3 个月",
"FileBrowserDateFilter12Months": "最近 12 个月",
"FileBrowserTypeFilterAny": "任何文件类型",
"FileBrowserTypeFilterImages": "图片",
"FileBrowserTypeFilterAudio": "音频",
"FileBrowserTypeFilterVideos": "视频",
"FileBrowserTypeFilterPDFs": "PDF",
"AddAttachmentToSaved": "添加附件到已保存",
"RemoveAttachmentFromSaved": "从已保存中移除附件",
"DeleteFile": "删除文件",
"Description": "描述",
"Pinned": "重要",
"PinAttachment": "标记为重要",
"UnPinAttachment": "标记为不重要",
"FilterAttachments": "附件",
"RemovedAttachment": "移除附件",
"ContentType": "内容类型"
}
}
Loading

0 comments on commit ec655fd

Please sign in to comment.