Update the actual activities themselves to call out the i18n key
activityName instead of topicName. Add a note to the i18n skeleton about activityName
This commit is contained in:
parent
7ec8da234d
commit
e3f65811bb
14 changed files with 14 additions and 13 deletions
|
|
@ -52,7 +52,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_ArchiveOldThreads");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> {}
|
||||
});
|
||||
return $class->SUPER::definition($session,$definition);
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_CacheEMSPrereqs");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get('topicName'),
|
||||
name=>$i18n->get('activityName'),
|
||||
properties=> { }
|
||||
});
|
||||
return $class->SUPER::definition($session,$definition);
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_CleanDatabaseCache");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> {
|
||||
sizeLimit => {
|
||||
fieldType=>"integer",
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_CleanFileCache");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> {
|
||||
sizeLimit => {
|
||||
fieldType=>"integer",
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_CleanLoginHistory");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> {
|
||||
ageToDelete => {
|
||||
fieldType=>"interval",
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_CleanTempStorage");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> {
|
||||
storageTimeout => {
|
||||
fieldType=>"interval",
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_DecayKarma");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> {
|
||||
minimumKarma => {
|
||||
fieldType=>"integer",
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_DeleteExpiredSessions");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> { }
|
||||
});
|
||||
return $class->SUPER::definition($session,$definition);
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_NotifyAboutUser");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> {
|
||||
to => {
|
||||
fieldType=>"text",
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_RunCommandAsUser");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> {
|
||||
commandLine => {
|
||||
fieldType=>"text",
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_SendQueuedMailMessages");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> { }
|
||||
});
|
||||
return $class->SUPER::definition($session,$definition);
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_SummarizePassiveProfileLog");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> { }
|
||||
});
|
||||
return $class->SUPER::definition($session,$definition);
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ sub definition {
|
|||
my $definition = shift;
|
||||
my $i18n = WebGUI::International->new($session, "Workflow_Activity_TrashClipboard");
|
||||
push(@{$definition}, {
|
||||
name=>$i18n->get("topicName"),
|
||||
name=>$i18n->get("activityName"),
|
||||
properties=> {
|
||||
trashAfter => {
|
||||
fieldType=>"interval",
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ our $I18N = { ##hashref of hashes
|
|||
|
||||
#If the help file documents an Asset, it must include an assetName key
|
||||
#If the help file documents an Macro, it must include an macroName key
|
||||
#If the help file documents a Workflow Activity, it must include an activityName key
|
||||
#For all other types, use topicName
|
||||
'assetName' => {
|
||||
message => q|My Asset|,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue