Changeset 393


Ignore:
Timestamp:
10/06/10 19:45:35 (14 years ago)
Author:
misc
Message:
  • fix strings, as reported by Olivier Burger ( ie, we need to use a consistant wording )
Location:
trunk/lib/Epoll/Controller
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Epoll/Controller/Admin.pm

    r376 r393  
    6060                if ($poll->check_date_max($c->req->param('start'))) { 
    6161                    if (! $poll->check_date_max($c->req->param('end'), $c->req->param('start'))) { 
    62                         $c->stash->{dateerror} = $c->localize('The vote finish before starting'); 
     62                        $c->stash->{dateerror} = $c->localize('The poll finish before starting'); 
    6363                        next; 
    6464                    } 
    6565                } else { 
    66                     $c->stash->{dateerror} = $c->('The start of the vote must be in the future'); 
     66                    $c->stash->{dateerror} = $c->('The start of the poll must be in the future'); 
    6767                    next; 
    6868                } 
  • trunk/lib/Epoll/Controller/Ajax.pm

    r369 r393  
    4242            } else { 
    4343 
    44                 $c->response->body( $c->localize('The vote finish before starting')); 
     44                $c->response->body( $c->localize('The poll finish before starting')); 
    4545            } 
    4646        } else { 
    47             $c->response->body( $c->localize('The start of the vote must be in the future')); 
     47            $c->response->body( $c->localize('The start of the poll must be in the future')); 
    4848        } 
    4949    } else { 
  • trunk/lib/Epoll/Controller/Newpoll.pm

    r377 r393  
    3131    my ( $self, $c ) = @_; 
    3232 
    33     $c->stash->{page}{title} = $c->localize('Create a new vote'); 
     33    $c->stash->{page}{title} = $c->localize('Create a new poll'); 
    3434    if ($c->req->param('mail')) { 
    3535        if ($c->config->{newpollpasswd}) { 
     
    8383 
    8484    if (!$c->model('Vote')->poll_request_info($id)) { 
    85         $c->stash->{page}{title} = $c->localize("No vote creation request"); 
     85        $c->stash->{page}{title} = $c->localize("No poll creation request"); 
    8686        $c->stash->{template} = 'newpoll/norequest.tt'; 
    8787        return; 
    8888    } 
    8989 
    90     $c->stash->{page}{title} = $c->localize('Confirm new vote creation'); 
     90    $c->stash->{page}{title} = $c->localize('Confirm new poll creation'); 
    9191    if ($c->req->param('passwd')) { 
    9292        my $pid = $c->model('Vote')->poll_from_request($id, $c->req->param('passwd')); 
Note: See TracChangeset for help on using the changeset viewer.