Added POD to 4 macros.

Internationalized Error messages for Include and LastModified
This commit is contained in:
Colin Kuskie 2005-12-19 05:34:13 +00:00
parent 01816cd806
commit d085152304
6 changed files with 111 additions and 3 deletions

View file

@ -14,6 +14,31 @@ use strict;
use WebGUI::International;
use WebGUI::Session;
=head1 NAME
Package WebGUI::Macro::International
=head1 DESCRIPTION
Macro for displaying an internationalized label from WebGUI's internationalization system.
=head2 process ( label, namespace )
Note that a particular language cannot be specified. It uses either the
current User's setting or the default language for the site. English is
always used as a fallback.
=head3 label
The label to pull.
=head3 namespace
The namespace to pull the label from.
=cut
#-------------------------------------------------------------------
sub process {
return WebGUI::International::get(shift,shift);