国际化修改

Uat_Study
he 2023-08-28 14:09:08 +08:00
parent 595635d93d
commit f6d46bcf12
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ namespace IRaCIS.Application.Services.BackGroundJob
{
if (!File.Exists(filePath))
{
throw new BusinessValidationFailedException(_localizer["IRaCISCHangfireJob_FileNotFound"]);
throw new BusinessValidationFailedException(StaticData.International("IRaCISCHangfireJob_FileNotFound"));
}
FileSystemWatcher watcher = new FileSystemWatcher(Path.GetDirectoryName(filePath), Path.GetFileName(filePath));

View File

@ -291,7 +291,7 @@ namespace IRaCIS.Core.Application.Contracts
if (currentLatest == null)
{
return ResponseOutput.NotOk("当前site没有调研表可以更新请确认");
return ResponseOutput.NotOk(_localizer["TrialSite_NoSurveyToUpdate"]);
}
if (currentLatest.Email != userInfo.ReplaceUserEmailOrPhone)