Changeset 393
- Timestamp:
- 10/06/10 19:45:35 (14 years ago)
- Location:
- trunk/lib/Epoll/Controller
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Epoll/Controller/Admin.pm
r376 r393 60 60 if ($poll->check_date_max($c->req->param('start'))) { 61 61 if (! $poll->check_date_max($c->req->param('end'), $c->req->param('start'))) { 62 $c->stash->{dateerror} = $c->localize('The votefinish before starting');62 $c->stash->{dateerror} = $c->localize('The poll finish before starting'); 63 63 next; 64 64 } 65 65 } else { 66 $c->stash->{dateerror} = $c->('The start of the votemust be in the future');66 $c->stash->{dateerror} = $c->('The start of the poll must be in the future'); 67 67 next; 68 68 } -
trunk/lib/Epoll/Controller/Ajax.pm
r369 r393 42 42 } else { 43 43 44 $c->response->body( $c->localize('The votefinish before starting'));44 $c->response->body( $c->localize('The poll finish before starting')); 45 45 } 46 46 } else { 47 $c->response->body( $c->localize('The start of the votemust be in the future'));47 $c->response->body( $c->localize('The start of the poll must be in the future')); 48 48 } 49 49 } else { -
trunk/lib/Epoll/Controller/Newpoll.pm
r377 r393 31 31 my ( $self, $c ) = @_; 32 32 33 $c->stash->{page}{title} = $c->localize('Create a new vote');33 $c->stash->{page}{title} = $c->localize('Create a new poll'); 34 34 if ($c->req->param('mail')) { 35 35 if ($c->config->{newpollpasswd}) { … … 83 83 84 84 if (!$c->model('Vote')->poll_request_info($id)) { 85 $c->stash->{page}{title} = $c->localize("No votecreation request");85 $c->stash->{page}{title} = $c->localize("No poll creation request"); 86 86 $c->stash->{template} = 'newpoll/norequest.tt'; 87 87 return; 88 88 } 89 89 90 $c->stash->{page}{title} = $c->localize('Confirm new votecreation');90 $c->stash->{page}{title} = $c->localize('Confirm new poll creation'); 91 91 if ($c->req->param('passwd')) { 92 92 my $pid = $c->model('Vote')->poll_from_request($id, $c->req->param('passwd'));
Note: See TracChangeset
for help on using the changeset viewer.