rename i18n/English/ArchiveOldPosts to ArchiveOldThreads to match workflow activity name

Add simple docs for Archive Old Threads and CacheEMSPrereqs
This commit is contained in:
Colin Kuskie 2006-07-01 21:11:59 +00:00
parent bc3054c56d
commit 38bcbbc406
6 changed files with 64 additions and 17 deletions

View file

@ -0,0 +1,29 @@
package WebGUI::Help::Workflow_Activity;
our $HELP = {
'add/edit workflow activity' => {
title => 'add/edit workflow activity',
body => 'add/edit workflow activity body',
isa => [
],
fields => [
{
title => 'title',
description => 'title help',
namespace => 'Workflow_Activity',
},
{
title => 'description',
description => 'description help',
namespace => 'Workflow_Activity',
},
],
variables => [
],
related => [
],
},
};
1; ##All perl modules must return true

View file

@ -21,11 +21,11 @@ use WebGUI::Asset;
=head1 NAME
Package WebGUI::Workflow::Activity::ArchiveOldPosts
Package WebGUI::Workflow::Activity::ArchiveOldThreads
=head1 DESCRIPTION
Uses the settings in the collaboration systems to determine whether the posts in those collaboration systems should be archived.
Uses the settings in the collaboration systems to determine whether the threads in those collaboration systems should be archived.
=head1 SYNOPSIS
@ -50,7 +50,7 @@ sub definition {
my $class = shift;
my $session = shift;
my $definition = shift;
my $i18n = WebGUI::International->new($session, "Workflow_Activity_ArchiveOldPosts");
my $i18n = WebGUI::International->new($session, "Workflow_Activity_ArchiveOldThreads");
push(@{$definition}, {
name=>$i18n->get("topicName"),
properties=> {}

View file

@ -52,8 +52,9 @@ sub definition {
my $class = shift;
my $session = shift;
my $definition = shift;
my $i18n = WebGUI::International->new($session, "Workflow_Activity_CacheEMSPrereqs");
push(@{$definition}, {
name=>'cacheEMSEvents',
name=>$i18n->get('topicName'),
properties=> { }
});
return $class->SUPER::definition($session,$definition);

View file

@ -25,8 +25,20 @@ our $I18N = {
lastUpdated => 0,
},
'add/edit workflow activity' => {
message => q|Add/Edit Workflow Activity|,
context => q|Title for the add and edit workflow activity screen|,
lastUpdated => 0,
},
'add/edit workflow activity body' => {
message => q|Add/Edit Workflow Activity|,
context => q|<p>Most Workflow Activities have these basic fields and properties:</p>|,
lastUpdated => 0,
},
'topicName' => {
message => q|Unnamed|,
message => q|Base Workflow Activity|,
context => q|The name of this workflow activity.|,
lastUpdated => 0,
},

View file

@ -1,12 +0,0 @@
package WebGUI::i18n::English::Workflow_Activity_ArchiveOldPosts;
our $I18N = {
'topicName' => {
message => q|Archive Old Posts|,
context => q|The name of this workflow activity.|,
lastUpdated => 0,
},
};
1;

View file

@ -0,0 +1,17 @@
package WebGUI::i18n::English::Workflow_Activity_ArchiveOldThreads;
our $I18N = {
'topicName' => {
message => q|Archive Old Threads|,
context => q|The name of this workflow activity.|,
lastUpdated => 0,
},
'archive old threads body' => {
message => q|<p>This workflow activity will go through all Collaboration Systems (CS) in your site and, based on the settings of that CS, archive old posts.</p>|,
lastUpdated => 0,
},
};
1;