From d1c12a1e08e0051b9fb90e3f15bbf4ff231c3828 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 22 Mar 2005 04:10:35 +0000 Subject: [PATCH] handle post status "archived" --- lib/WebGUI/Asset/Post.pm | 2 ++ lib/WebGUI/i18n/English/Post.pm | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/WebGUI/Asset/Post.pm b/lib/WebGUI/Asset/Post.pm index bea0a269e..08069e6e9 100644 --- a/lib/WebGUI/Asset/Post.pm +++ b/lib/WebGUI/Asset/Post.pm @@ -336,6 +336,8 @@ sub getStatus { return WebGUI::International::get('denied','Post'); } elsif ($status eq "pending") { return WebGUI::International::get('pending','Post'); + } elsif ($status eq "archived") { + return WebGUI::International::get('archived','Post'); } } diff --git a/lib/WebGUI/i18n/English/Post.pm b/lib/WebGUI/i18n/English/Post.pm index 144722084..efc940037 100644 --- a/lib/WebGUI/i18n/English/Post.pm +++ b/lib/WebGUI/i18n/English/Post.pm @@ -196,7 +196,7 @@ A URL to edit this Post.

status
-The status of this Post, typically "Approved", "Denied", or "Pending". +The status of this Post, typically "Approved", "Denied", "Pending" or "Archived".

approve.url
@@ -280,7 +280,7 @@ The name of this attachment. |, - lastUpdated => 1111447237, + lastUpdated => 1111465141, }, 'approved' => { @@ -298,6 +298,10 @@ The name of this attachment. lastUpdated => 1031514049 }, + 'archived' => { + message => q|Archived|, + lastUpdated => 1111464988, + }, };