修改后端提示语国际化

master
helongjun 2024-01-04 16:32:46 +08:00
parent 91f61e0a1b
commit a5016b2ad5
2 changed files with 5 additions and 5 deletions

View File

@ -25,8 +25,8 @@
"Study_VisitAfterVisitOverError": "The current study batch check time {0} cannot be later than the subject study over time {1} .Please check whether the check data is correct.",
"Study_VisitBeforePrevError": "The current study batch check time {0} cannot be earlier than the previous study batch check time {1}. Please check whether the check data is correct.",
"Study_VisitAfterSubseqError": "The current study batch check time {0} cannot be later than the study batch check time {1} .Please check whether the check data is correct.",
"Study_UploadArchiving": "Someone is currently uploading and archiving this study !",
"Study_VisitEndedNotAllowed": "Subject study is over, and uploading is not allowed!",
"Study_UploadArchiving": "Someone is currently uploading and archiving this study batch !",
"Study_VisitEndedNotAllowed": "Subject study batch is over, and uploading is not allowed!",
"Study_ImgAlreadyUploaded": "Uploading is not allowed above here.The current image study has already been uploaded to {1} of Subject {0}.",

View File

@ -1120,17 +1120,17 @@ namespace IRaCIS.Core.Application.Image.QA
if (dbSubjectVisitList.Any(t => t.SubmitState == SubmitStateEnum.None))
{
return ResponseOutput.NotOk("There's visit which did not upload any image, the submission is not allowed.");
return ResponseOutput.NotOk("There's study batch which did not upload any image, the submission is not allowed.");
}
//单个提交提示信息
if (dbSubjectVisitList.Count() == 1 && dbSubjectVisitList.First().SubmitState == SubmitStateEnum.Submitted)
{
return ResponseOutput.NotOk("Images of the current visit have been submitted by other IC.", 3, ApiResponseCodeEnum.NeedTips);
return ResponseOutput.NotOk("Images of the current study batch have been submitted by other IC.", 3, ApiResponseCodeEnum.NeedTips);
}
else if (dbSubjectVisitList.Any(t => t.SubmitState == SubmitStateEnum.Submitted))
{
return ResponseOutput.NotOk("Images of the visits to be submitted in batch, some of which have been submitted by other IC.", 3, ApiResponseCodeEnum.NeedTips);
return ResponseOutput.NotOk("Images of the study batches to be submitted in batch, some of which have been submitted by other IC.", 3, ApiResponseCodeEnum.NeedTips);
}
//获取确认的临床数据配置