Files
worklenz/worklenz-frontend/public/locales/zh/task-list-table.json
chamikaJ 5cce3bc613 feat(localization): add timer conflict handling and update translations
- Introduced a new hook `useTaskTimerWithConflictCheck` to manage timer conflicts, prompting users when a timer is already running for a different task.
- Updated localization files for Albanian, German, English, Spanish, Portuguese, and Chinese to include new translation keys related to timer conflict handling and cancellation.
- Refactored components to utilize the new timer hook, enhancing user experience by preventing overlapping timers.
2025-07-30 10:13:08 +05:30

139 lines
4.8 KiB
JSON

{
"keyColumn": "ID",
"taskColumn": "任务",
"descriptionColumn": "描述",
"progressColumn": "进度",
"membersColumn": "成员",
"assigneesColumn": "受托人",
"labelsColumn": "标签",
"phasesColumn": "阶段",
"phaseColumn": "阶段",
"statusColumn": "状态",
"priorityColumn": "优先级",
"timeTrackingColumn": "时间追踪",
"timetrackingColumn": "时间追踪",
"estimationColumn": "估算",
"startDateColumn": "开始日期",
"startdateColumn": "开始日期",
"dueDateColumn": "截止日期",
"duedateColumn": "截止日期",
"completedDateColumn": "完成日期",
"completeddateColumn": "完成日期",
"createdDateColumn": "创建日期",
"createddateColumn": "创建日期",
"lastUpdatedColumn": "最后更新",
"lastupdatedColumn": "最后更新",
"reporterColumn": "报告人",
"dueTimeColumn": "截止时间",
"todoSelectorText": "待办",
"doingSelectorText": "进行中",
"doneSelectorText": "已完成",
"lowSelectorText": "低",
"mediumSelectorText": "中",
"highSelectorText": "高",
"selectText": "选择",
"labelsSelectorInputTip": "按回车键创建!",
"addTaskText": "+ 添加任务",
"addSubTaskText": "+ 添加子任务",
"addTaskInputPlaceholder": "输入任务并按回车键",
"noTasksInGroup": "此组中没有任务",
"dropTaskHere": "将任务拖到这里",
"openButton": "打开",
"okButton": "确定",
"noLabelsFound": "未找到标签",
"searchInputPlaceholder": "搜索或创建",
"assigneeSelectorInviteButton": "通过电子邮件邀请新成员",
"labelInputPlaceholder": "搜索或创建",
"searchLabelsPlaceholder": "搜索标签...",
"createLabelButton": "创建 \"{{name}}\"",
"manageLabelsPath": "设置 → 标签",
"pendingInvitation": "待处理邀请",
"contextMenu": {
"assignToMe": "分配给我",
"copyLink": "复制任务链接",
"linkCopied": "链接已复制到剪贴板",
"linkCopyFailed": "复制链接失败",
"moveTo": "移动到",
"unarchive": "取消归档",
"archive": "归档",
"convertToSubTask": "转换为子任务",
"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": "重复任务"
}
},
"timer": {
"conflictTitle": "计时器已在运行",
"conflictMessage": "您在项目\"{{projectName}}\"中的\"{{taskName}}\"任务正在运行计时器。您是否要停止该计时器并为此任务启动新的计时器?",
"stopAndStart": "停止并启动新计时器"
}
}