国际化修改
parent
595635d93d
commit
f6d46bcf12
|
@ -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));
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue