diff --git a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/en.json b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/en.json index a9c8dcc3f..f518de91b 100644 --- a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/en.json +++ b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/en.json @@ -1,5 +1,8 @@ { "culture": "en", "texts": { + "Job:Actions": "Actions", + "Job:AddAction": "Add Action", + "Job:DeleteAction": "Delete Action" } } \ No newline at end of file diff --git a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/zh-Hans.json b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/zh-Hans.json index c5ad81326..6684c8f98 100644 --- a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/zh-Hans.json +++ b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/zh-Hans.json @@ -1,5 +1,8 @@ { "culture": "zh-Hans", "texts": { + "Job:Actions": "执行后操作", + "Job:AddAction": "增加作业步骤", + "Job:DeleteAction": "移除作业步骤" } } \ No newline at end of file diff --git a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/JobExecutedFailedProvider.cs b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/JobExecutedFailedProvider.cs index 15928d549..93109f646 100644 --- a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/JobExecutedFailedProvider.cs +++ b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/JobExecutedFailedProvider.cs @@ -22,14 +22,14 @@ public class JobExecutedFailedProvider : JobExecutedProvider, ITransientDependen public const string Name = "JobExecutedFailedProvider"; public readonly static IList Paramters = new List { - new JobActionParamter(PropertyTo, L("DisplayName:PropertyTo"), L("Description:PropertyTo"), true), - - new JobActionParamter(PropertySubject, L("DisplayName:PropertySubject"), L("Description:PropertySubject")), - new JobActionParamter(PropertyFrom, L("DisplayName:PropertyFrom"), L("Description:PropertyFrom")), - new JobActionParamter(PropertyBody, L("DisplayName:PropertyBody"), L("Description:PropertyBody")), - new JobActionParamter(PropertyTemplate, L("DisplayName:PropertyTemplate"), L("Description:PropertyTemplate")), - new JobActionParamter(PropertyContext, L("DisplayName:PropertyContext"), L("Description:PropertyContext")), - new JobActionParamter(PropertyCulture, L("DisplayName:PropertyCulture"), L("Description:PropertyCulture")), + new JobActionParamter(PropertyTo, L("DisplayName:To"), L("Description:To"), true), + + new JobActionParamter(PropertySubject, L("DisplayName:Subject"), L("Description:PropertySubject")), + new JobActionParamter(PropertyFrom, L("DisplayName:From"), L("Description:From")), + new JobActionParamter(PropertyBody, L("DisplayName:Body"), L("Description:Body")), + new JobActionParamter(PropertyTemplate, L("DisplayName:Template"), L("Description:Template")), + new JobActionParamter(PropertyContext, L("DisplayName:Context"), L("Description:Context")), + new JobActionParamter(PropertyCulture, L("DisplayName:Culture"), L("Description:Culture")), }; public const string JobGroup = "ExceptionNotifier"; diff --git a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/en.json b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/en.json index 15dff07ad..268a689cf 100644 --- a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/en.json +++ b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/en.json @@ -3,6 +3,20 @@ "texts": { "TextTemplate:JobExceptionNotifier": "Background job exception pushes template", "JobExceptionNotifier": "Background job exception push", + "DisplayName:To": "To", + "Description:To": "demo@example.com, multiple recipients by symbol(,)", + "DisplayName:Subject": "Subject", + "Description:Subject": "Send the subject of the message", + "DisplayName:From": "From", + "Description:From": "Name of the email sender", + "DisplayName:Body": "Body", + "Description:Body": "The text content sent.", + "DisplayName:Template": "Template", + "Description:Template": "If the template content needs to be specified.", + "DisplayName:Context": "Context", + "Description:Context": "Specified when formatting template content.", + "DisplayName:Culture": "Culture", + "Description:Culture": "Need to localize the message content specification", "TenantName": "TenantName", "JobGroup": "Job Group", "JobName": "Job Name", diff --git a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/zh-Hans.json b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/zh-Hans.json index 4975448b6..f3dd99963 100644 --- a/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/zh-Hans.json +++ b/aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/zh-Hans.json @@ -3,6 +3,20 @@ "texts": { "TextTemplate:JobExceptionNotifier": "后台作业异常推送模板", "JobExceptionNotifier": "后台作业异常推送", + "DisplayName:To": "收件方", + "Description:To": "demo@example.com, 多个接收者以逗号分隔.", + "DisplayName:Subject": "邮件标题", + "Description:Subject": "发送邮件的标题", + "DisplayName:From": "发送方", + "Description:From": "邮件发送方名称", + "DisplayName:Body": "内容", + "Description:Body": "发送的文本内容.", + "DisplayName:Template": "模板名称", + "Description:Template": "如需指定模板内容则指定.", + "DisplayName:Context": "上下文参数", + "Description:Context": "格式化模板内容时指定.", + "DisplayName:Culture": "文化名称", + "Description:Culture": "需要本地化邮件内容指定", "TenantName": "租户名称", "JobGroup": "作业分组", "JobName": "作业名称",