Changeset 2014 for trunk


Ignore:
Timestamp:
May 15, 2007, 10:23:09 PM (18 years ago)
Author:
rub
Message:

Replace some $lang by l10n

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/about.php

    r1898 r2014  
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    5 // | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
     5// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
    8 // | file          : $RCSfile$
     7// | file          : $Id$
    98// | last update   : $Date$
    109// | last modifier : $Author$
     
    3938// Start output of page
    4039//
    41 $title= $lang['about_page_title'];
     40$title= l10n('about_page_title');
    4241$page['body_id'] = 'theAboutPage';
    4342include(PHPWG_ROOT_PATH.'include/page_header.php');
  • trunk/identification.php

    r1900 r2014  
    33// | PhpWebGallery - a PHP based picture gallery                           |
    44// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
    5 // | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
     5// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
    8 // | file          : $RCSfile$
     7// | file          : $Id$
    98// | last update   : $Date$
    109// | last modifier : $Author$
     
    4443  if ( $user['is_the_guest'] )
    4544  {
    46     array_push($errors, $lang['access_forbiden']);
     45    array_push($errors, l10n('access_forbiden'));
    4746  }
    4847}
     
    5857  else
    5958  {
    60     array_push( $errors, $lang['invalid_pwd'] );
     59    array_push( $errors, l10n('invalid_pwd') );
    6160  }
    6261}
     
    6665// Start output of page
    6766//
    68 $title = $lang['identification'];
     67$title = l10n('identification');
    6968$page['body_id'] = 'theIdentificationPage';
    7069include(PHPWG_ROOT_PATH.'include/page_header.php');
  • trunk/nbm.php

    r1912 r2014  
    66// | Copyright (C) 2006-2007   Ruben ARNAUD - team@phpwebgallery.net       |
    77// +-----------------------------------------------------------------------+
    8 // | branch        : BSF (Best So Far)
    9 // | file          : $RCSfile$
     8// | file          : $Id$
    109// | last update   : $Date$
    1110// | last modifier : $Author$
     
    6261else
    6362{
    64 /*  echo l10n('nbm_unknown_identifier');
    65   exit();*/
    6663  array_push($page['errors'], l10n('nbm_unknown_identifier'));
    6764}
     
    7067// | template initialization                                               |
    7168// +-----------------------------------------------------------------------+
    72 $title = $lang['nbm_item_notification'];
     69$title = l10n('nbm_item_notification');
    7370$page['body_id'] = 'theNBMPage';
    7471include(PHPWG_ROOT_PATH.'include/page_header.php');
  • trunk/picture.php

    r1900 r2014  
    55// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
    87// | file          : $Id$
    98// | last update   : $Date$
     
    599598        'FAVORITE_IMG'  =>
    600599          get_root_url().get_themeconf('icon_dir').'/favorite.png',
    601         'FAVORITE_HINT' => $lang['add_favorites_hint'],
    602         'FAVORITE_ALT'  => $lang['add_favorites_alt'],
     600        'FAVORITE_HINT' => l10n('add_favorites_hint'),
     601        'FAVORITE_ALT'  => l10n('add_favorites_alt'),
    603602        'U_FAVORITE'    => add_url_params(
    604603          $url_self,
     
    615614        'FAVORITE_IMG'  =>
    616615          get_root_url().get_themeconf('icon_dir').'/del_favorite.png',
    617         'FAVORITE_HINT' => $lang['del_favorites_hint'],
    618         'FAVORITE_ALT'  => $lang['del_favorites_alt'],
     616        'FAVORITE_HINT' => l10n('del_favorites_hint'),
     617        'FAVORITE_ALT'  => l10n('del_favorites_alt'),
    619618        'U_FAVORITE'    => add_url_params(
    620619          $url_self,
  • trunk/plugins

    • Property svn:ignore
      •  

        old new  
        22phpmv
        33rv_gmaps
         4dotclear_easy
  • trunk/profile.php

    r1926 r2014  
    55// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
    87// | file          : $Id$
    98// | last update   : $Date$
     
    4544  save_profile_from_post($userdata, $errors);
    4645
    47   $title= $lang['customize_page_title'];
     46  $title= l10n('customize_page_title');
    4847  $page['body_id'] = 'theProfilePage';
    4948  include(PHPWG_ROOT_PATH.'include/page_header.php');
  • trunk/register.php

    r1985 r2014  
    4646  if ($_POST['password'] != $_POST['password_conf'])
    4747  {
    48     array_push($errors, $lang['reg_err_pass']);
     48    array_push($errors, l10n('reg_err_pass'));
    4949  }
    5050
     
    9292// Start output of page
    9393//
    94 $title= $lang['register_page_title'];
     94$title= l10n('register_page_title');
    9595$page['body_id'] = 'theRegisterPage';
    9696include(PHPWG_ROOT_PATH.'include/page_header.php');
  • trunk/search.php

    r1903 r2014  
    55// | Copyright (C) 2003-2007 PhpWebGallery Team - http://phpwebgallery.net |
    66// +-----------------------------------------------------------------------+
    7 // | branch        : BSF (Best So Far)
    8 // | file          : $RCSfile$
     7// | file          : $Id$
    98// | last update   : $Date$
    109// | last modifier : $Author$
     
    145144  else
    146145  {
    147     array_push($errors, $lang['search_one_clause_at_least']);
     146    array_push($errors, l10n('search_one_clause_at_least'));
    148147  }
    149148}
     
    172171// Start output of page
    173172//
    174 $title= $lang['search_title'];
     173$title= l10n('search_title');
    175174$page['body_id'] = 'theSearchPage';
    176175
Note: See TracChangeset for help on using the changeset viewer.