feat(localization): add and update translations for multiple languages
- Introduced new localization files for Albanian, German, Spanish, Portuguese, and Chinese, enhancing the application's multilingual support. - Added new keys and updated existing translations in project-view, task-list-table, and settings files to improve user experience across different languages. - Enhanced error handling and empty state messages in task management components to provide clearer feedback to users. - Updated tooltip texts and button labels for better clarity and consistency in the user interface.
This commit is contained in:
14
worklenz-frontend/public/locales/zh/project-view.json
Normal file
14
worklenz-frontend/public/locales/zh/project-view.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"taskList": "任务列表",
|
||||
"board": "看板",
|
||||
"insights": "数据洞察",
|
||||
"files": "文件",
|
||||
"members": "成员",
|
||||
"updates": "动态更新",
|
||||
"projectView": "项目视图",
|
||||
"loading": "正在加载项目...",
|
||||
"error": "加载项目时出错",
|
||||
"pinnedTab": "已固定为默认标签页",
|
||||
"pinTab": "固定为默认标签页",
|
||||
"unpinTab": "取消固定默认标签页"
|
||||
}
|
||||
@@ -1,13 +1,29 @@
|
||||
{
|
||||
"importTasks": "导入任务",
|
||||
"createTask": "创建任务",
|
||||
"settings": "设置",
|
||||
"subscribe": "订阅",
|
||||
"unsubscribe": "取消订阅",
|
||||
"deleteProject": "删除项目",
|
||||
"startDate": "开始日期",
|
||||
"endDate": "结束日期",
|
||||
"projectSettings": "项目设置",
|
||||
"projectSummary": "项目摘要",
|
||||
"receiveProjectSummary": "每晚接收项目摘要。"
|
||||
"importTasks": "导入任务",
|
||||
"importTask": "导入任务",
|
||||
"createTask": "创建任务",
|
||||
"settings": "设置",
|
||||
"subscribe": "订阅",
|
||||
"unsubscribe": "取消订阅",
|
||||
"deleteProject": "删除项目",
|
||||
"startDate": "开始日期",
|
||||
"endDate": "结束日期",
|
||||
"projectSettings": "项目设置",
|
||||
"projectSummary": "项目摘要",
|
||||
"receiveProjectSummary": "每晚接收项目摘要。",
|
||||
"refreshProject": "刷新项目",
|
||||
"saveAsTemplate": "保存为模板",
|
||||
"invite": "邀请",
|
||||
"subscribeTooltip": "订阅项目通知",
|
||||
"unsubscribeTooltip": "取消订阅项目通知",
|
||||
"refreshTooltip": "刷新项目数据",
|
||||
"settingsTooltip": "打开项目设置",
|
||||
"saveAsTemplateTooltip": "将此项目保存为模板",
|
||||
"inviteTooltip": "邀请团队成员加入此项目",
|
||||
"createTaskTooltip": "创建新任务",
|
||||
"importTaskTooltip": "从模板导入任务",
|
||||
"navigateBackTooltip": "返回项目列表",
|
||||
"projectStatusTooltip": "项目状态",
|
||||
"projectDatesInfo": "项目时间安排信息",
|
||||
"projectCategoryTooltip": "项目类别"
|
||||
}
|
||||
@@ -9,5 +9,6 @@
|
||||
"saveChanges": "保存更改",
|
||||
"profileJoinedText": "一个月前加入",
|
||||
"profileLastUpdatedText": "一个月前更新",
|
||||
"avatarTooltip": "点击上传头像"
|
||||
"avatarTooltip": "点击上传头像",
|
||||
"title": "个人资料设置"
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"profile": "个人资料",
|
||||
"appearance": "外观",
|
||||
"notifications": "通知",
|
||||
"clients": "客户",
|
||||
"job-titles": "职位",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"title": "团队成员",
|
||||
"nameColumn": "名称",
|
||||
"projectsColumn": "项目",
|
||||
"emailColumn": "电子邮件",
|
||||
@@ -40,5 +41,7 @@
|
||||
"ownerText": "团队所有者",
|
||||
"addedText": "已添加",
|
||||
"updatedText": "已更新",
|
||||
"noResultFound": "输入电子邮件地址并按回车键..."
|
||||
"noResultFound": "输入电子邮件地址并按回车键...",
|
||||
"jobTitlesFetchError": "获取职位失败",
|
||||
"invitationResent": "邀请重新发送成功!"
|
||||
}
|
||||
16
worklenz-frontend/public/locales/zh/settings/teams.json
Normal file
16
worklenz-frontend/public/locales/zh/settings/teams.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"title": "团队",
|
||||
"team": "团队",
|
||||
"teams": "团队",
|
||||
"name": "名称",
|
||||
"created": "创建时间",
|
||||
"ownsBy": "所有者",
|
||||
"edit": "编辑",
|
||||
"editTeam": "编辑团队",
|
||||
"pinTooltip": "点击将此项固定到主菜单",
|
||||
"editTeamName": "编辑团队名称",
|
||||
"updateName": "更新名称",
|
||||
"namePlaceholder": "名称",
|
||||
"nameRequired": "请输入名称",
|
||||
"updateFailed": "团队名称更改失败!"
|
||||
}
|
||||
@@ -50,5 +50,17 @@
|
||||
"selectCategory": "选择类别",
|
||||
"pleaseEnterAName": "请输入名称",
|
||||
"pleaseSelectACategory": "请选择类别",
|
||||
"create": "创建"
|
||||
"create": "创建",
|
||||
"searchTasks": "搜索任务...",
|
||||
"searchPlaceholder": "搜索...",
|
||||
"fieldsText": "字段",
|
||||
"loadingFilters": "加载筛选器...",
|
||||
"noOptionsFound": "未找到选项",
|
||||
"filtersActive": "个筛选器已激活",
|
||||
"filterActive": "个筛选器已激活",
|
||||
"clearAll": "清除全部",
|
||||
"clearing": "清除中...",
|
||||
"cancel": "取消",
|
||||
"search": "搜索",
|
||||
"groupedBy": "分组依据"
|
||||
}
|
||||
@@ -36,6 +36,7 @@
|
||||
"addTaskText": "+ 添加任务",
|
||||
"addSubTaskText": "+ 添加子任务",
|
||||
"addTaskInputPlaceholder": "输入任务并按回车键",
|
||||
"noTasksInGroup": "此组中没有任务",
|
||||
"openButton": "打开",
|
||||
"okButton": "确定",
|
||||
"noLabelsFound": "未找到标签",
|
||||
@@ -52,5 +53,74 @@
|
||||
"convertToTask": "转换为任务",
|
||||
"delete": "删除",
|
||||
"searchByNameInputPlaceholder": "按名称搜索"
|
||||
},
|
||||
"setDueDate": "设置截止日期",
|
||||
"setStartDate": "设置开始日期",
|
||||
"clearDueDate": "清除截止日期",
|
||||
"clearStartDate": "清除开始日期",
|
||||
"dueDatePlaceholder": "截止日期",
|
||||
"startDatePlaceholder": "开始日期",
|
||||
|
||||
"emptyStates": {
|
||||
"noTaskGroups": "未找到任务组",
|
||||
"noTaskGroupsDescription": "创建任务或应用筛选器后,任务将显示在此处。",
|
||||
"errorPrefix": "错误:",
|
||||
"dragTaskFallback": "任务"
|
||||
},
|
||||
|
||||
"customColumns": {
|
||||
"addCustomColumn": "添加自定义列",
|
||||
"customColumnHeader": "自定义列",
|
||||
"customColumnSettings": "自定义列设置",
|
||||
"noCustomValue": "无值",
|
||||
"peopleField": "人员字段",
|
||||
"noDate": "无日期",
|
||||
"unsupportedField": "不支持的字段类型",
|
||||
|
||||
"modal": {
|
||||
"addFieldTitle": "添加字段",
|
||||
"editFieldTitle": "编辑字段",
|
||||
"fieldTitle": "字段标题",
|
||||
"fieldTitleRequired": "字段标题为必填项",
|
||||
"columnTitlePlaceholder": "列标题",
|
||||
"type": "类型",
|
||||
"deleteConfirmTitle": "确定要删除此自定义列吗?",
|
||||
"deleteConfirmDescription": "此操作无法撤销。与此列关联的所有数据将被永久删除。",
|
||||
"deleteButton": "删除",
|
||||
"cancelButton": "取消",
|
||||
"createButton": "创建",
|
||||
"updateButton": "更新",
|
||||
"createSuccessMessage": "自定义列创建成功",
|
||||
"updateSuccessMessage": "自定义列更新成功",
|
||||
"deleteSuccessMessage": "自定义列删除成功",
|
||||
"deleteErrorMessage": "删除自定义列失败",
|
||||
"createErrorMessage": "创建自定义列失败",
|
||||
"updateErrorMessage": "更新自定义列失败"
|
||||
},
|
||||
|
||||
"fieldTypes": {
|
||||
"people": "人员",
|
||||
"number": "数字",
|
||||
"date": "日期",
|
||||
"selection": "选择",
|
||||
"checkbox": "复选框",
|
||||
"labels": "标签",
|
||||
"key": "键",
|
||||
"formula": "公式"
|
||||
}
|
||||
},
|
||||
|
||||
"indicators": {
|
||||
"tooltips": {
|
||||
"subtasks": "{{count}} 个子任务",
|
||||
"subtasks_plural": "{{count}} 个子任务",
|
||||
"comments": "{{count}} 条评论",
|
||||
"comments_plural": "{{count}} 条评论",
|
||||
"attachments": "{{count}} 个附件",
|
||||
"attachments_plural": "{{count}} 个附件",
|
||||
"subscribers": "任务有订阅者",
|
||||
"dependencies": "任务有依赖项",
|
||||
"recurring": "重复任务"
|
||||
}
|
||||
}
|
||||
}
|
||||
35
worklenz-frontend/public/locales/zh/task-management.json
Normal file
35
worklenz-frontend/public/locales/zh/task-management.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"noTasksInGroup": "此组中没有任务",
|
||||
"noTasksInGroupDescription": "添加任务开始使用",
|
||||
"addFirstTask": "添加你的第一个任务",
|
||||
"openTask": "打开",
|
||||
"subtask": "子任务",
|
||||
"subtasks": "子任务",
|
||||
"comment": "评论",
|
||||
"comments": "评论",
|
||||
"attachment": "附件",
|
||||
"attachments": "附件",
|
||||
"enterSubtaskName": "输入子任务名称...",
|
||||
"add": "添加",
|
||||
"cancel": "取消",
|
||||
"renameGroup": "重命名组",
|
||||
"renameStatus": "重命名状态",
|
||||
"renamePhase": "重命名阶段",
|
||||
"changeCategory": "更改类别",
|
||||
"clickToEditGroupName": "点击编辑组名称",
|
||||
"enterGroupName": "输入组名称",
|
||||
|
||||
"indicators": {
|
||||
"tooltips": {
|
||||
"subtasks": "{{count}} 个子任务",
|
||||
"subtasks_plural": "{{count}} 个子任务",
|
||||
"comments": "{{count}} 条评论",
|
||||
"comments_plural": "{{count}} 条评论",
|
||||
"attachments": "{{count}} 个附件",
|
||||
"attachments_plural": "{{count}} 个附件",
|
||||
"subscribers": "任务有订阅者",
|
||||
"dependencies": "任务有依赖项",
|
||||
"recurring": "重复任务"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user