Browse Source

feat: add missing localizer text

pull/624/head
cKey 4 years ago
parent
commit
6f291d7087
  1. 3
      aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/en.json
  2. 3
      aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.Activities/LINGYUN/Abp/BackgroundTasks/Activities/Localization/Resources/zh-Hans.json
  3. 16
      aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/JobExecutedFailedProvider.cs
  4. 14
      aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/en.json
  5. 14
      aspnet-core/modules/task-management/LINGYUN.Abp.BackgroundTasks.ExceptionHandling/LINGYUN/Abp/BackgroundTasks/ExceptionHandling/Localization/Resources/zh-Hans.json

3
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"
}
}

3
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": "移除作业步骤"
}
}

16
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<JobActionParamter> Paramters = new List<JobActionParamter>
{
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";

14
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",

14
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": "作业名称",

Loading…
Cancel
Save