From 2eee8962f77c402dae26b0c4b24e4f678e86ed89 Mon Sep 17 00:00:00 2001 From: liyang Date: Tue, 26 Nov 2024 17:05:07 +0800 Subject: [PATCH] * [task#132864] adjust build lang. --- module/ai/lang/zh-cn.php | 2 +- module/bug/lang/zh-cn.php | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/module/ai/lang/zh-cn.php b/module/ai/lang/zh-cn.php index d726b31ee1..e7624c95ad 100644 --- a/module/ai/lang/zh-cn.php +++ b/module/ai/lang/zh-cn.php @@ -820,7 +820,7 @@ $lang->ai->formSchema['bug']['create']->properties->pri->type = ' $lang->ai->formSchema['bug']['create']->properties->pri->description = 'Bug 的优先级'; $lang->ai->formSchema['bug']['create']->properties->pri->enum = array('1', '2', '3', '4'); $lang->ai->formSchema['bug']['create']->properties->openedBuild->type = 'string'; -$lang->ai->formSchema['bug']['create']->properties->openedBuild->description = 'Bug 影响的构建'; +$lang->ai->formSchema['bug']['create']->properties->openedBuild->description = 'Bug 影响的版本'; $lang->ai->formSchema['bug']['create']->properties->openedBuild->enum = array('trunk'); $lang->ai->formSchema['bug']['create']->required = array('title', 'steps', 'severity', 'pri', 'openedBuild'); $lang->ai->formSchema['bug']['edit'] = $lang->ai->formSchema['bug']['create']; diff --git a/module/bug/lang/zh-cn.php b/module/bug/lang/zh-cn.php index 46b10de5bb..0180cc5e5a 100644 --- a/module/bug/lang/zh-cn.php +++ b/module/bug/lang/zh-cn.php @@ -49,13 +49,13 @@ $lang->bug->notifyEmail = '通知邮箱'; $lang->bug->mailto = '抄送给'; $lang->bug->openedBy = '由谁创建'; $lang->bug->openedDate = '创建日期'; -$lang->bug->openedBuild = '影响构建'; +$lang->bug->openedBuild = '影响版本'; $lang->bug->assignedTo = '指派给'; $lang->bug->assignedToMe = '指派给我'; $lang->bug->assignedDate = '指派日期'; $lang->bug->resolvedBy = '解决者'; $lang->bug->resolution = '解决方案'; -$lang->bug->resolvedBuild = '解决构建'; +$lang->bug->resolvedBuild = '解决版本'; $lang->bug->resolvedDate = '解决日期'; $lang->bug->deadline = '截止日期'; $lang->bug->plan = '所属计划'; @@ -293,7 +293,7 @@ $lang->bug->report->select = '请选择报表类型'; $lang->bug->report->create = '生成报表'; $lang->bug->report->charts['bugsPerExecution'] = $lang->executionCommon . 'Bug数量'; -$lang->bug->report->charts['bugsPerBuild'] = '构建Bug数量'; +$lang->bug->report->charts['bugsPerBuild'] = '版本Bug数量'; $lang->bug->report->charts['bugsPerModule'] = '模块Bug数量'; $lang->bug->report->charts['openedBugsPerDay'] = '每天新增Bug数'; $lang->bug->report->charts['resolvedBugsPerDay'] = '每天解决Bug数'; @@ -356,7 +356,7 @@ $lang->bug->report->bugLiveDays->graph = new stdclass(); $lang->bug->report->bugHistories->graph = new stdclass(); $lang->bug->report->bugsPerExecution->graph->xAxisName = $lang->executionCommon; -$lang->bug->report->bugsPerBuild->graph->xAxisName = '构建'; +$lang->bug->report->bugsPerBuild->graph->xAxisName = '版本'; $lang->bug->report->bugsPerModule->graph->xAxisName = '模块'; $lang->bug->report->openedBugsPerDay->type = 'bar'; @@ -390,8 +390,8 @@ $lang->bug->action->totask = array('main' => '$date, 由 $ $lang->bug->action->converttotask = array('main' => '$date, 由 $actor 转为任务,编号为 $extra。'); $lang->bug->action->linked2plan = array('main' => '$date, 由 $actor 关联到计划 $extra。'); $lang->bug->action->unlinkedfromplan = array('main' => '$date, 由 $actor 从计划 $extra 移除。'); -$lang->bug->action->linked2build = array('main' => '$date, 由 $actor 关联到构建 $extra。'); -$lang->bug->action->unlinkedfrombuild = array('main' => '$date, 由 $actor 从构建 $extra 移除。'); +$lang->bug->action->linked2build = array('main' => '$date, 由 $actor 关联到版本 $extra。'); +$lang->bug->action->unlinkedfrombuild = array('main' => '$date, 由 $actor 从版本 $extra 移除。'); $lang->bug->action->unlinkedfromrelease = array('main' => '$date, 由 $actor 从发布 $extra 移除。'); $lang->bug->action->linked2release = array('main' => '$date, 由 $actor 关联到发布 $extra。'); $lang->bug->action->linked2revision = array('main' => '$date, 由 $actor 关联到代码提交 $extra.'); @@ -417,8 +417,8 @@ $lang->bug->moreSelects['browse']['more']['overduebugs'] = $lang->bug->overdue $lang->bug->moreSelects['browse']['more']['needconfirm'] = $lang->bug->needConfirm; $lang->bug->placeholder = new stdclass(); -$lang->bug->placeholder->chooseBuilds = '选择相关构建...'; -$lang->bug->placeholder->newBuildName = '新构建名称'; +$lang->bug->placeholder->chooseBuilds = '选择相关版本...'; +$lang->bug->placeholder->newBuildName = '新版本名称'; $lang->bug->placeholder->duplicate = '请输入关键字'; /* 交互提示。*/ @@ -431,7 +431,7 @@ $lang->bug->notice->confirmDelete = '您确认要删除该Bug吗?'; $lang->bug->notice->remindTask = '该Bug已经转化为任务,是否更新任务(编号:%s)状态 ?'; $lang->bug->notice->skipClose = 'Bug %s 不是已解决状态,不能关闭,将自动忽略。'; $lang->bug->notice->executionAccessDenied = "您无权访问该Bug所属的{$lang->executionCommon}!"; -$lang->bug->notice->confirmUnlinkBuild = "更换解决构建将取消与旧构建的关联,您确定取消该bug与%s的关联吗?"; +$lang->bug->notice->confirmUnlinkBuild = "更换解决版本将取消与旧版本的关联,您确定取消该bug与%s的关联吗?"; $lang->bug->notice->noSwitchBranch = 'Bug%s所属模块不在当前分支下,将自动忽略。'; $lang->bug->notice->confirmToStory = '转需求后Bug将自动关闭,关闭原因为转为需求。'; $lang->bug->notice->productDitto = "该 bug 与上一 bug 不属于同一{$lang->productCommon}!";