Changeset 1083


Ignore:
Timestamp:
Mar 16, 2006, 3:22:58 AM (18 years ago)
Author:
rvelices
Message:

language: cleanup unused, uniformization and no more L_ variables in
category.php and tpl

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/category.php

    r1082 r1083  
    146146      )
    147147    );
    148  
     148
    149149  $template->assign_block_vars(
    150150    'mode_posted',
     
    192192    'MENU_CATEGORIES_CONTENT' => get_categories_menu(),
    193193
    194     'L_CATEGORIES' => $lang['categories'],
    195     'L_HINT_CATEGORY' => $lang['hint_category'],
    196     'L_SUBCAT' => $lang['sub-cat'],
    197     'L_IMG_AVAILABLE' => $lang['images_available'],
    198     'L_TOTAL' => $lang['total'],
    199     'L_SPECIAL_CATEGORIES' => $lang['special_categories'],
    200     'L_SUMMARY' => $lang['title_menu'],
    201     'L_UPLOAD' => $lang['upload_picture'],
    202     'L_COMMENT' => $lang['comments'],
    203     'L_IDENTIFY' => $lang['identification'],
    204     'L_PASSWORD' => $lang['password'],
    205     'L_HELLO' => $lang['hello'],
    206     'L_REGISTER' => $lang['ident_register'],
    207     'L_LOGOUT' => $lang['logout'],
    208     'L_ADMIN' => $lang['admin'],
    209     'L_ADMIN_HINT' => $lang['hint_admin'],
    210     'L_PROFILE' => $lang['customize'],
    211     'L_PROFILE_HINT' => $lang['hint_customize'],
    212     'L_REMEMBER_ME' => $lang['remember_me'],
    213    
    214194    'F_IDENTIFY' => PHPWG_ROOT_PATH.'identification.php',
    215195    'T_RECENT' => $icon_recent,
    216    
     196
    217197    'U_HOME' => make_index_URL(),
    218198    'U_REGISTER' => PHPWG_ROOT_PATH.'register.php',
     
    480460      );
    481461  }
    482  
     462
    483463  // category comment
    484464  if (isset($page['comment']) and $page['comment'] != '')
  • trunk/language/en_UK.iso-8859-1/common.lang.php

    r1069 r1083  
    138138$lang['calendar_view'] = 'View';
    139139$lang['calendar_weekly_l'] = 'Weekly list';
    140 $lang['categories'] = 'Categories';
    141140$lang['click_to_redirect'] = 'Click here if your browser does not automatically forward you';
    142141$lang['comment date'] = 'comment date';
     
    178177$lang['excluded'] = 'excluded';
    179178$lang['favorite_cat'] = 'My favorites';
    180 $lang['favorite_cat_hint'] = 'display my favorites pictures';
     179$lang['favorite_cat_hint'] = 'displays my favorites pictures';
    181180$lang['favorites'] = 'Favorites';
    182181$lang['first_page'] = 'First';
     
    253252$lang['previous_page'] = 'Previous';
    254253$lang['random_cat'] = 'Random pictures';
    255 $lang['random_cat_hint'] = 'Displays a set of random pictures';
     254$lang['random_cat_hint'] = 'displays a set of random pictures';
    256255$lang['recent_cats_cat'] = 'Last categories';
    257 $lang['recent_cats_cat_hint'] = 'Displays recently updated categories';
     256$lang['recent_cats_cat_hint'] = 'displays recently updated categories';
    258257$lang['recent_image'] = 'Image within the';
    259258$lang['recent_period'] = 'Recent period';
    260259$lang['recent_pics_cat'] = 'Last pictures';
    261 $lang['recent_pics_cat_hint'] = 'Displays most recent pictures';
     260$lang['recent_pics_cat_hint'] = 'displays most recent pictures';
    262261$lang['reg_confirm'] = 'Confirm password';
    263262$lang['reg_err_login1'] = 'Please, enter a login';
     
    301300$lang['special_categories'] = 'Specials';
    302301$lang['sql_queries_in'] = 'SQL queries in';
    303 $lang['sub-cat'] = 'subcategories';
    304302$lang['submit'] = 'Submit';
    305303$lang['the beginning'] = 'the beginning';
  • trunk/language/fr_FR.iso-8859-1/common.lang.php

    r1069 r1083  
    127127$lang['became available on %s'] = 'mis à disposition le %s';
    128128$lang['best_rated_cat'] = 'Mieux notées';
    129 $lang['best_rated_cat_hint'] = 'affiche les images les mieux notées';
     129$lang['best_rated_cat_hint'] = 'afficher les images les mieux notées';
    130130$lang['caddie'] = 'Panier';
    131131$lang['calendar'] = 'Calendrier';
     
    134134$lang['calendar_monthly_l'] = 'Liste mensuelle';
    135135$lang['calendar_monthly_c'] = 'Calendrier mensuel';
    136 $lang['calendar_picture_hint'] = 'affiche les images du ';
     136$lang['calendar_picture_hint'] = 'afficher les images du ';
    137137$lang['calendar_view'] = 'Vue';
    138138$lang['calendar_weekly_l'] = 'Liste hebdomadaire';
    139 $lang['categories'] = 'Catégories';
    140139$lang['click_to_redirect'] = 'Cliquez ici si votre navigateur ne vous redirige pas.';
    141140$lang['comment date'] = 'date du commentaire';
     
    212211$lang['maxwidth_error'] = 'La largeur des images doit être supérieure à 50';
    213212$lang['mode_normal_hint'] = 'retourne à la vue normale';
    214 $lang['mode_created_hint'] = 'affiche un calendrier par date de création';
    215 $lang['mode_posted_hint'] = 'affiche un calendrier par date d\'ajout';
     213$lang['mode_created_hint'] = 'afficher un calendrier par date de création';
     214$lang['mode_posted_hint'] = 'afficher un calendrier par date d\'ajout';
    216215$lang['month'][10] = 'Octobre';
    217216$lang['month'][11] = 'Novembre';
     
    252251$lang['previous_page'] = 'Précédent';
    253252$lang['random_cat'] = 'Images au hasard';
    254 $lang['random_cat_hint'] = 'Affiche un ensemble aléatoire d\'images';
     253$lang['random_cat_hint'] = 'afficher un ensemble aléatoire d\'images';
    255254$lang['recent_cats_cat'] = 'Dernières catégories';
    256 $lang['recent_cats_cat_hint'] = 'Affiche les catégories récemment mises à jour ou créées';
     255$lang['recent_cats_cat_hint'] = 'afficher les catégories récemment mises à jour ou créées';
    257256$lang['recent_image'] = 'Image de moins de';
    258257$lang['recent_period'] = 'Période récente';
    259258$lang['recent_pics_cat'] = 'Dernières images';
    260 $lang['recent_pics_cat_hint'] = 'Affiche les images les plus récentes';
     259$lang['recent_pics_cat_hint'] = 'afficher les images les plus récentes';
    261260$lang['reg_confirm'] = 'Confirmer le mot de passe';
    262261$lang['reg_err_login1'] = 'S\'il vous plaît, entrer un nom utilisateur';
     
    301300$lang['special_categories'] = 'Spéciales';
    302301$lang['sql_queries_in'] = 'requêtes SQL en';
    303 $lang['sub-cat'] = 'sous-catégories';
    304302$lang['submit'] = 'Valider';
    305303$lang['the beginning'] = 'le début';
  • trunk/search_rules.php

    r1071 r1083  
    111111    'categories',
    112112    array(
    113       'LIST_INTRO' => l10n('categories'),
     113      'LIST_INTRO' => l10n('Categories'),
    114114      )
    115115    );
  • trunk/template/yoga/admin.tpl

    r1058 r1083  
    3232    </dd>
    3333
    34     <dt>{lang:categories}</dt>
     34    <dt>{lang:Categories}</dt>
    3535    <dd>
    3636      <ul>
  • trunk/template/yoga/admin/site_manager.tpl

    r1058 r1083  
    2121  <!-- BEGIN site -->
    2222  <tr align="left"><td>
    23     <a href="{sites.site.NAME}" target="_blank">{sites.site.NAME}</a><br>({sites.site.TYPE}, {sites.site.CATEGORIES} {lang:categories}, {sites.site.IMAGES} {lang:picture}s)
    24   </td><td> 
     23    <a href="{sites.site.NAME}" target="_blank">{sites.site.NAME}</a><br>({sites.site.TYPE}, {sites.site.CATEGORIES} {lang:Categories}, {sites.site.IMAGES} {lang:picture}s)
     24  </td><td>
    2525    [<a href="{sites.site.U_SYNCHRONIZE}" title="{lang:site_synchronize_hint}">{lang:site_synchronize}</a>]
    2626    <!-- BEGIN delete -->
    27       [<a href="{sites.site.delete.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');" 
     27      [<a href="{sites.site.delete.U_DELETE}" onclick="return confirm('{lang:Are you sure?}');"
    2828                title="{lang:site_delete_hint}">{lang:site_delete}</a>]
    2929    <!-- END delete -->
     
    4141<form action="{F_ACTION}" method="post">
    4242  <p>
    43     <label for="galleries_url" >{lang:site_create}</label> 
     43    <label for="galleries_url" >{lang:site_create}</label>
    4444    <input type="text" name="galleries_url" id="galleries_url" />
    4545  </p>
  • trunk/template/yoga/category.tpl

    r1062 r1083  
    1414<!-- END links -->
    1515<dl>
    16   <dt><a href="{U_HOME}">{L_CATEGORIES}</a></dt>
     16  <dt><a href="{U_HOME}">{lang:Categories}</a></dt>
    1717  <dd>
    1818    {MENU_CATEGORIES_CONTENT}
    19     <p class="totalImages">{NB_PICTURE} {L_TOTAL}</p>
    20   </dd>
    21 </dl>
    22 <dl>
    23   <dt>{L_SPECIAL_CATEGORIES}</dt>
     19    <p class="totalImages">{NB_PICTURE} {lang:total}</p>
     20  </dd>
     21</dl>
     22<dl>
     23  <dt>{lang:special_categories}</dt>
    2424  <dd>
    2525    <ul>
     
    3131</dl>
    3232<dl>
    33   <dt>{L_SUMMARY}</dt>
     33  <dt>{lang:title_menu}</dt>
    3434  <dd>
    3535    <ul>
     
    3838      <!-- END summary -->
    3939      <!-- BEGIN upload -->
    40       <li><a href="{upload.U_UPLOAD}">{L_UPLOAD}</a></li>
     40      <li><a href="{upload.U_UPLOAD}">{lang:upload_picture}</a></li>
    4141      <!-- END upload -->
    4242    </ul>
     
    4444</dl>
    4545<dl>
    46   <dt>{L_IDENTIFY}</dt>
     46  <dt>{lang:identification}</dt>
    4747  <dd>
    4848    <!-- BEGIN hello -->
    49     <p>{L_HELLO}&nbsp;{USERNAME}&nbsp;!</p>
     49    <p>{lang:hello}&nbsp;{USERNAME}&nbsp;!</p>
    5050    <!-- END hello -->
    5151    <ul>
    5252      <!-- BEGIN register -->
    53       <li><a href="{U_REGISTER}" rel="nofollow">{L_REGISTER}</a></li>
     53      <li><a href="{U_REGISTER}" rel="nofollow">{lang:ident_register}</a></li>
    5454      <!-- END register -->
    5555      <!-- BEGIN login -->
     
    5757      <!-- END login -->
    5858      <!-- BEGIN logout -->
    59       <li><a href="{U_LOGOUT}">{L_LOGOUT}</a></li>
     59      <li><a href="{U_LOGOUT}">{lang:logout}</a></li>
    6060      <!-- END logout -->
    6161      <!-- BEGIN profile -->
    62       <li><a href="{U_PROFILE}" title="{L_PROFILE_HINT}">{L_PROFILE}</a></li>
     62      <li><a href="{U_PROFILE}" title="{lang:hint_customize}">{lang:customize}</a></li>
    6363      <!-- END profile -->
    6464      <!-- BEGIN admin -->
    65       <li><a href="{U_ADMIN}" title="{L_ADMIN_HINT}">{L_ADMIN}</a></li>
     65      <li><a href="{U_ADMIN}" title="{lang:hint_admin}">{lang:admin}</a></li>
    6666      <!-- END admin -->
    6767    </ul>
     
    7777
    7878        <label>
    79           {L_PASSWORD}
     79          {lang:password}
    8080          <input type="password" name="password" size="15">
    8181        </label>
     
    8383        <!-- BEGIN remember_me -->
    8484        <label>
    85           {L_REMEMBER_ME}
     85          {lang:remember_me}
    8686          <input type="checkbox" name="remember_me" value="1">
    8787        </label>
     
    204204      {thumbnails.line.thumbnail.IMAGE_TS}
    205205      <!-- BEGIN nb_comments -->
    206       <br />{thumbnails.line.thumbnail.nb_comments.NB_COMMENTS} {L_COMMENT}
     206      <br />{thumbnails.line.thumbnail.nb_comments.NB_COMMENTS} {lang:comments}
    207207      <!-- END nb_comments -->
    208208      </span>
Note: See TracChangeset for help on using the changeset viewer.