Changeset 1456

Show
Ignore:
Timestamp:
12/14/07 11:54:52 (9 months ago)
Author:
bwerdmuller
Message:

A small language fix.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel

    • Property svn:ignore changed from
      data
      to
      data
      config.php
  • devel/mod/pages/lib.php

    r1447 r1456  
    214214                $page_name = get_field('pages', 'uri', 'ident', $id, 'owner', $owner); 
    215215                if (empty($page_name)) { 
    216                     trigger_error(__FUNCTION__.": page does not exists (page id: $id, owner: $owner)", E_USER_WARNING); 
     216                    trigger_error(__FUNCTION__.": page does not exist (page id: $id, owner: $owner)", E_USER_WARNING); 
    217217                    return null; 
    218218                } 
  • devel/mod/pages/lib/pages.inc.php

    r1411 r1456  
    4343            if (empty($messages)) { 
    4444                if ($page->name == 'New page' || $page->title == 'New page') { 
    45                     $messages[] = __gettext('You could not use "New page" as page title or menu title.'); 
     45                    $messages[] = __gettext('You cannot use "New page" as page title or menu title.'); 
    4646                }  
    4747                 
     
    9999                    // last chance to verify integrity 
    100100                    if (!pages_exists((int)$page->ident, $owner)) { 
    101                         $messages[] = __gettext('Error on update. That page does not exists.'); 
     101                        $messages[] = __gettext('Error on update. That page does not exist.'); 
    102102                        $rs = true; 
    103103                    } else { 
     
    620620    $page = new StdClass; 
    621621    $page->title = __gettext('Page Not Found'); 
    622     $page->content = pages_html_wrap('p', __gettext('The page that you requested does no exists.')); 
     622    $page->content = pages_html_wrap('p', __gettext('The page that you requested does not exist.')); 
    623623 
    624624    return $page;