From 302ab8ad17008dd41ec07a4b68d3cd655292f2a9 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 28 Feb 2005 19:30:56 +0000 Subject: [PATCH] internationalize template labels a-e --- lib/WebGUI/Asset/Wobject/Collaboration.pm | 32 ++++----- lib/WebGUI/i18n/English/Collaboration.pm | 80 +++++++++++++++++++++++ 2 files changed, 96 insertions(+), 16 deletions(-) diff --git a/lib/WebGUI/Asset/Wobject/Collaboration.pm b/lib/WebGUI/Asset/Wobject/Collaboration.pm index 23f250398..35e9f199a 100644 --- a/lib/WebGUI/Asset/Wobject/Collaboration.pm +++ b/lib/WebGUI/Asset/Wobject/Collaboration.pm @@ -95,22 +95,22 @@ sub appendTemplateLabels { my $self = shift; my $var = shift; my $i18n = WebGUI::International->new("Collaboration"); - $var->{"add.label"} = "Add"; - $var->{"addlink.label"} = "Add a link."; - $var->{"addquestion.label"} = "Add a question."; - $var->{'all.label'} = "All Words"; - $var->{'atleastone.label'} = "At Least One"; - $var->{"approve.label"} = "Approve"; - $var->{'answer.label'} = "Answer"; - $var->{'attachment.label'} = "Attachment"; - $var->{"by.label"} = "By"; - $var->{'body.label'} = "Body"; - $var->{"back.label"} = "Back"; - $var->{'contentType.label'} = "Content Type"; - $var->{"date.label"} = "Date"; - $var->{"delete.label"} = "Delete"; - $var->{'description.label'} = "Description"; - $var->{"deny.label"} = "Deny"; + $var->{"add.label"} = $i18n->get("add"); + $var->{"addlink.label"} = $i18n->get("addlink"); + $var->{"addquestion.label"} = $i18n->get("addquestion"); + $var->{'all.label'} = $i18n->get("all"); + $var->{'atleastone.label'} = $i18n->get("atleastone"); + $var->{"approve.label"} = $i18n->("approve"); + $var->{'answer.label'} = $i18n->("Answer"); + $var->{'attachment.label'} = $i18n->("Attachment"); + $var->{"by.label"} = $i18n->("by"); + $var->{'body.label'} = $i18n->("body"); + $var->{"back.label"} = $i18n->("back"); + $var->{'contentType.label'} = $i18n->("Content Type"); + $var->{"date.label"} = $i18n->("Date"); + $var->{"delete.label"} = $i18n->("Delete"); + $var->{'description.label'} = $i18n->("Description"); + $var->{"deny.label"} = $i18n->("Deny"); $var->{"edit.label"} = "Edit"; $var->{'endDate.label'} = "End Date"; $var->{'exactphrase.label'} = "Exact Phrase"; diff --git a/lib/WebGUI/i18n/English/Collaboration.pm b/lib/WebGUI/i18n/English/Collaboration.pm index dfab63e42..4d81dd676 100644 --- a/lib/WebGUI/i18n/English/Collaboration.pm +++ b/lib/WebGUI/i18n/English/Collaboration.pm @@ -1,6 +1,86 @@ package WebGUI::i18n::English::Collaboration; our $I18N = { + 'add' => { + message => q|Add|, + lastUpdated => 1109618544, + }, + + 'addlink' => { + message => q|Add a link|, + lastUpdated => 1109618544, + }, + + 'addquestion' => { + message => q|Add a question|, + lastUpdated => 1109618544, + }, + + 'all' => { + message => q|All Words|, + lastUpdated => 1109618544, + }, + + 'atleastone' => { + message => q|At Least One|, + lastUpdated => 1109618544, + }, + + 'approve' => { + message => q|Approve|, + lastUpdated => 1109618544, + }, + + 'answer' => { + message => q|Answer|, + lastUpdated => 1109618544, + }, + + 'attachment' => { + message => q|Attachment|, + lastUpdated => 1109618544, + }, + + 'by' => { + message => q|By|, + lastUpdated => 1109618544, + }, + + 'body' => { + message => q|Body|, + lastUpdated => 1109618544, + }, + + 'back' => { + message => q|Back|, + lastUpdated => 1109618544, + }, + + 'contentType' => { + message => q|Content Type|, + lastUpdated => 1109618544, + }, + + 'date' => { + message => q|Date|, + lastUpdated => 1109618544, + }, + + 'delete' => { + message => q|Delete|, + lastUpdated => 1109618544, + }, + + 'description' => { + message => q|Description|, + lastUpdated => 1109618544, + }, + + 'deny' => { + message => q|Deny|, + lastUpdated => 1109618544, + }, + };