From 52accf1614247177f7f28205e15a092b6d875fa7 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Mon, 6 May 2024 15:23:21 +0800 Subject: [PATCH] * Add error lang. --- module/story/lang/de.php | 5 +++-- module/story/lang/en.php | 5 +++-- module/story/lang/fr.php | 5 +++-- module/story/lang/zh-cn.php | 5 +++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/module/story/lang/de.php b/module/story/lang/de.php index 4bdab660bc..f8286275be 100644 --- a/module/story/lang/de.php +++ b/module/story/lang/de.php @@ -341,8 +341,9 @@ $lang->story->confirmDelete = "Möchten Sie diese Story löschen?"; $lang->story->confirmRecall = "Do you want to recall this story?"; $lang->story->errorEmptyChildStory = '『Unterteilte Story』 darf nicht leer sein.'; $lang->story->errorNotSubdivide = "If the status is not active, or the stage is not wait, or a sub story, it cannot be subdivided."; -$lang->story->errorMaxGradeSubdivide = "The current story's grade exceeds the system setting, so it cannot be subdivided."; -$lang->story->errorCannotSplit = "This requirement has been subdivided into sub-requirements of the same type and cannot be split into other types of requirements."; +$lang->story->errorMaxGradeSubdivide = "The current story's grade exceeds the system setting, so it cannot be subdivided same type story."; +$lang->story->errorStepwiseSubdivide = "This requirement type does not allow cross-system splitting. This setting can be changed in the admin."; +$lang->story->errorCannotSplit = "This requirement has been split into sub-requirements of this type and cannot be split into requirements of other types."; $lang->story->errorEmptyReviewedBy = "『{$lang->story->reviewers}』darf nicht leer sein."; $lang->story->mustChooseResult = 'Ergebnis wählen'; $lang->story->mustChoosePreVersion = 'Version wählen um es umzukhren.'; diff --git a/module/story/lang/en.php b/module/story/lang/en.php index ca880d0b47..9a49406d83 100644 --- a/module/story/lang/en.php +++ b/module/story/lang/en.php @@ -341,8 +341,9 @@ $lang->story->confirmDelete = "Do you want to delete this story?"; $lang->story->confirmRecall = "Do you want to recall this story?"; $lang->story->errorEmptyChildStory = '『Decomposed Stories』canot be blank.'; $lang->story->errorNotSubdivide = "If the status is not active, or the stage is not wait, or a sub story, it cannot be subdivided."; -$lang->story->errorMaxGradeSubdivide = "The current story's grade exceeds the system setting, so it cannot be subdivided."; -$lang->story->errorCannotSplit = "This requirement has been subdivided into sub-requirements of the same type and cannot be split into other types of requirements."; +$lang->story->errorMaxGradeSubdivide = "The current story's grade exceeds the system setting, so it cannot be subdivided same type story."; +$lang->story->errorStepwiseSubdivide = "This requirement type does not allow cross-system splitting. This setting can be changed in the admin."; +$lang->story->errorCannotSplit = "This requirement has been split into sub-requirements of this type and cannot be split into requirements of other types."; $lang->story->errorEmptyReviewedBy = "『{$lang->story->reviewers}』canot be blank."; $lang->story->mustChooseResult = 'Select Result'; $lang->story->mustChoosePreVersion = 'Select a version to revert to.'; diff --git a/module/story/lang/fr.php b/module/story/lang/fr.php index 27bc262b09..a07e521c8d 100644 --- a/module/story/lang/fr.php +++ b/module/story/lang/fr.php @@ -341,8 +341,9 @@ $lang->story->confirmDelete = "Voulez-vous vraiment supprimer cette sto $lang->story->confirmRecall = "Do you want to recall this story?"; $lang->story->errorEmptyChildStory = '『Decomposed Stories』ne peuvent être vides.'; $lang->story->errorNotSubdivide = "Si le statut n'est pas actif, ou l'étape n'est pas en attente, ou si c'est une sous-story, elle ne peut pas être subdivisée."; -$lang->story->errorMaxGradeSubdivide = "The current story's grade exceeds the system setting, so it cannot be subdivided."; -$lang->story->errorCannotSplit = "This requirement has been subdivided into sub-requirements of the same type and cannot be split into other types of requirements."; +$lang->story->errorMaxGradeSubdivide = "The current story's grade exceeds the system setting, so it cannot be subdivided same type story."; +$lang->story->errorStepwiseSubdivide = "This requirement type does not allow cross-system splitting. This setting can be changed in the admin."; +$lang->story->errorCannotSplit = "This requirement has been split into sub-requirements of this type and cannot be split into requirements of other types."; $lang->story->errorEmptyReviewedBy = "『{$lang->story->reviewers}』canot be blank."; $lang->story->mustChooseResult = 'Sélect Résultat'; $lang->story->mustChoosePreVersion = 'Sélect une version pour revenir en arrière.'; diff --git a/module/story/lang/zh-cn.php b/module/story/lang/zh-cn.php index 0052f5d20e..2f1ae5b1af 100644 --- a/module/story/lang/zh-cn.php +++ b/module/story/lang/zh-cn.php @@ -341,8 +341,9 @@ $lang->story->confirmDelete = "您确认删除该{$lang->SRCommon}吗?" $lang->story->confirmRecall = "您确认撤销该{$lang->SRCommon}吗?"; $lang->story->errorEmptyChildStory = "『拆分{$lang->SRCommon}』不能为空。"; $lang->story->errorNotSubdivide = "状态不是激活,或者阶段不是未开始的{$lang->SRCommon},或者是子需求,则不能拆分。"; -$lang->story->errorMaxGradeSubdivide = "该需求的层级已经达到系统设置的最大层级,不能拆分。"; -$lang->story->errorCannotSplit = "该需求已拆分同类型的子需求,不能拆分为其他类型需求。"; +$lang->story->errorMaxGradeSubdivide = "该需求的层级已经达到系统设置的最大层级,不能拆分同类型需求。"; +$lang->story->errorStepwiseSubdivide = "该需求类型不允许跨层级拆分,后台可以更改此设置。"; +$lang->story->errorCannotSplit = "该需求已拆分此类型的子需求,不能拆分为其他类型需求。"; $lang->story->errorEmptyReviewedBy = "『{$lang->story->reviewers}』不能为空。"; $lang->story->mustChooseResult = '必须选择评审意见'; $lang->story->mustChoosePreVersion = '必须选择回溯的版本';