Annotation of loncom/localize/localize/en.pm, revision 1.5
1.1 albertel 1: # The LearningOnline Network with CAPA
2: # Hebrew Localization Lexicon
3: #
1.5 ! albertel 4: # $Id: en.pm,v 1.4 2006/12/23 06:16:30 albertel Exp $
1.1 albertel 5: #
6: # Copyright Michigan State University Board of Trustees
7: #
8: # This file is part of the LearningOnline Network with CAPA (LON-CAPA).
9: #
10: # LON-CAPA is free software; you can redistribute it and/or modify
11: # it under the terms of the GNU General Public License as published by
12: # the Free Software Foundation; either version 2 of the License, or
13: # (at your option) any later version.
14: #
15: # LON-CAPA is distributed in the hope that it will be useful,
16: # but WITHOUT ANY WARRANTY; without even the implied warranty of
17: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18: # GNU General Public License for more details.
19: #
20: # You should have received a copy of the GNU General Public License
21: # along with LON-CAPA; if not, write to the Free Software
22: # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23: #
24: # /home/httpd/html/adm/gpl.txt
25: #
26: # http://www.lon-capa.org/
27: #
28: ######################################################################
29: ######################################################################
30:
1.3 albertel 31: use strict;
1.1 albertel 32: package Apache::localize::en;
33: use base qw(Apache::localize);
34:
1.4 albertel 35: %Apache::localize::en::Lexicon=
36: (
37: '_AUTO' => 1,
1.1 albertel 38:
1.4 albertel 39: 'char_encoding'=> 'UTF-8',
40: 'language_code'=> 'en',
1.1 albertel 41:
1.4 albertel 42: '_empty_mail_folder'
43: => sub {
44: my (undef,$status,$description) = @_;
45: if ($status eq '') {
46: return 'Empty Folder';
47: } elsif ($status eq 'replied') {
48: return 'You have not replied to any messages in this folder.';
49: } else {
50: return 'There are no '.lc($description).' messages in this folder.';
51: }
52: },
53:
54: '_location_in_mail_folder'
55: => sub {
56: my (undef,$status,$description,$first,$finish,$total) = @_;
1.5 ! albertel 57: if ($status eq '') { $description = 'All'; }
1.4 albertel 58:
59: return '<b>'.$description.' messages</b>: showing messages '.$first.
60: ' through '.$finish.' of '.$total.'.';
61: },
1.1 albertel 62:
63: #SYNCMARKER
64: );
65:
66: 1;
67:
68:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>