Changeset 1615


Ignore:
Timestamp:
Nov 22, 2006, 3:49:58 AM (17 years ago)
Author:
rvelices
Message:

language cleanup (removed duplicate messages and use {lang:} instead of
template->assign_var)

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/identification.php

    r1614 r1615  
    8686$template->assign_vars(
    8787  array(
    88     'L_TITLE' => $lang['identification'],
    89     'L_USERNAME' => $lang['Username'],
    90     'L_PASSWORD' => $lang['password'],
    91     'L_LOGIN' => $lang['submit'],
    92     'L_GUEST' => $lang['ident_guest_visit'],
    93     'L_REGISTER' => $lang['ident_register'],
    94     'L_FORGET' => $lang['ident_forgotten_password'],
    95     'L_REMEMBER_ME'=>$lang['remember_me'],
    9688
    9789    'U_REGISTER' => PHPWG_ROOT_PATH.'register.php',
  • trunk/language/en_UK.iso-8859-1/common.lang.php

    r1614 r1615  
    463463$lang['home'] = 'Home';
    464464$lang['home_hint'] = 'Back to the home page';
    465 $lang['ident_forgotten_password'] = 'Forget your password ?';
    466 $lang['ident_guest_visit'] = 'Go through the gallery as a visitor';
    467 $lang['ident_register'] = 'Register';
    468465$lang['ident_title'] = 'ident_title';
    469466$lang['identification'] = 'Identification';
  • trunk/language/fr_FR.iso-8859-1/common.lang.php

    r1614 r1615  
    462462$lang['home'] = 'Accueil';
    463463$lang['home_hint'] = 'Retour à la page d\'accueil';
    464 $lang['ident_forgotten_password'] = 'Mot de passe oublié ?';
    465 $lang['ident_guest_visit'] = 'Parcourir la galerie en tant que visiteur';
    466 $lang['ident_register'] = 'S\'enregistrer';
    467464$lang['ident_title'] = 'Identification (FIXME)';
    468465$lang['identification'] = 'Identification';
  • trunk/register.php

    r1566 r1615  
    8787$template->set_filenames( array('register'=>'register.tpl') );
    8888$template->assign_vars(array(
    89   'L_TITLE' => $lang['register_title'],
    90   'L_GUEST' => $lang['ident_guest_visit'],
    91   'L_SUBMIT' => $lang['submit'],
    92   'L_USERNAME' => $lang['login'],
    93   'L_PASSWORD' => $lang['password'],
    94   'L_CONFIRM_PASSWORD' => $lang['reg_confirm'],
    95   'L_EMAIL' => $lang['mail_address'],
    96 
    9789  'U_HOME' => make_index_url(),
    9890
  • trunk/template/yoga/identification.tpl

    r1491 r1615  
    3030      <li>
    3131        <span class="property">
    32           <label for="username">{L_USERNAME}</label>
     32          <label for="username">{lang:Username}</label>
    3333        </span>
    3434        <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" value="{USERNAME}" />
     
    3737      <li>
    3838        <span class="property">
    39           <label for="password">{L_PASSWORD}</label>
     39          <label for="password">{lang:password}</label>
    4040        </span>
    4141        <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" />
     
    4545      <li>
    4646        <span class="property">
    47           <label for="remember_me">{L_REMEMBER_ME}</label>
     47          <label for="remember_me">{lang:remember_me}</label>
    4848        </span>
    4949        <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1">
     
    5353  </fieldset>
    5454
    55   <p><input tabindex="4" type="submit" name="login" value="{L_LOGIN}"></p>
     55  <p><input tabindex="4" type="submit" name="login" value="{lang:submit}"></p>
    5656</form>
    5757
     
    6161
    6262  <p>
    63     <a href="{U_REGISTER}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {L_REGISTER}</a>
     63    <a href="{U_REGISTER}"><img src="{themeconf:icon_dir}/register.png" class="button" alt=""> {lang:Register}</a>
    6464    <a href="{U_LOST_PASSWORD}"><img src="{themeconf:icon_dir}/lost_password.png" class="button" alt=""> {lang:Forgot your password?}</a>
    6565  </p>
  • trunk/template/yoga/menubar.tpl

    r1595 r1615  
    7474    <ul>
    7575      <!-- BEGIN register -->
    76       <li><a href="{U_REGISTER}" rel="nofollow">{lang:ident_register}</a></li>
     76      <li><a href="{U_REGISTER}" rel="nofollow">{lang:Register}</a></li>
    7777      <!-- END register -->
    7878      <!-- BEGIN login -->
Note: See TracChangeset for help on using the changeset viewer.