Changeset 5206


Ignore:
Timestamp:
03/20/10 21:28:35 (10 years ago)
Author:
rvelices
Message:

less warnings + language fixes

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/group_perm.php

    r5196 r5206  
    133133    'TITLE' => 
    134134      sprintf( 
    135         l10n('Manage permissions for group \"%s\"'), 
     135        l10n('Manage permissions for group "%s"'), 
    136136        get_groupname($page['group'] 
    137137          ) 
  • trunk/admin/themes/default/template/element_set_global.tpl

    r5198 r5206  
    8383  </fieldset> 
    8484 
    85   {if $show_delete_form} 
     85  {if isset($show_delete_form) } 
    8686  <fieldset> 
    8787    <legend>{'Deletions'|@translate}</legend> 
     
    129129        <td> 
    130130<select id="tags" name="add_tags"> 
    131 {foreach from=$tags item=tag} 
    132   <option value="{$tag.value}" class="selected">{$tag.caption}</option> 
    133 {/foreach} 
    134131</select> 
    135132        </td> 
  • trunk/admin/user_perm.php

    r5196 r5206  
    127127    'TITLE' => 
    128128      sprintf( 
    129         l10n('Manage permissions for user \"%s\"'), 
     129        l10n('Manage permissions for user "%s"'), 
    130130        get_username($page['user'] 
    131131          ) 
  • trunk/include/filter.inc.php

    r5196 r5206  
    124124  if (get_filter_page_value('add_notes')) 
    125125  { 
    126     $header_notes[] = l10n_dec('note_filter_day', 'note_filter_days', $filter['recent_period']); 
     126    $header_notes[] = l10n_dec('Elements posted within the last %d day.', 'Elements posted within the last %d days.', $filter['recent_period']); 
    127127  } 
    128128  include_once(PHPWG_ROOT_PATH.'include/functions_filter.inc.php'); 
  • trunk/include/functions_notification.inc.php

    r5196 r5206  
    392392  { 
    393393    add_news_line( $news, 
    394       nb_new_elements($start, $end), '%d new element', '%d new elements', 
     394      nb_new_elements($start, $end), '%d new image', '%d new images', 
    395395      make_index_url(array('section'=>'recent_pics')), $add_url ); 
    396396  } 
     
    527527  $description .= 
    528528        '<li>' 
    529         .l10n_dec('%d new element', '%d new elements', $date_detail['nb_elements']) 
     529        .l10n_dec('%d new image', '%d new images', $date_detail['nb_elements']) 
    530530        .' (' 
    531531        .'<a href="'.make_index_url(array('section'=>'recent_pics')).'">' 
     
    559559          .get_cat_display_name_cache($cat['uppercats']) 
    560560          .' ('. 
    561           l10n_dec('%d new element', 
    562                    '%d new elements', $cat['img_count']).')' 
     561          l10n_dec('%d new image', 
     562                   '%d new images', $cat['img_count']).')' 
    563563          .'</li>'; 
    564564  } 
     
    602602  $exploded_date = explode_mysqldt($date); 
    603603 
    604   $title = l10n_dec('%d new element', '%d new elements', $date_detail['nb_elements']); 
     604  $title = l10n_dec('%d new image', '%d new images', $date_detail['nb_elements']); 
    605605  $title .= ' ('.$lang['month'][(int)$exploded_date['month']].' '.$exploded_date['day'].')'; 
    606606 
  • trunk/profile.php

    r5196 r5206  
    6262  save_profile_from_post($userdata, $errors); 
    6363 
    64   $title= l10n('Your Gallery Customization '); 
     64  $title= l10n('Your Gallery Customization'); 
    6565  $page['body_id'] = 'theProfilePage'; 
    6666  include(PHPWG_ROOT_PATH.'include/page_header.php'); 
     
    164164  ;'; 
    165165      list($current_password) = pwg_db_fetch_row(pwg_query($query)); 
    166    
     166 
    167167      if ($conf['pass_convert']($_POST['password']) != $current_password) 
    168168      { 
     
    221221 
    222222    trigger_action( 'save_profile_from_post', $userdata['id'] ); 
    223      
     223 
    224224    if (!empty($_POST['redirect'])) 
    225225    { 
     
    278278  // allow plugins to add their own form data to content 
    279279  trigger_action( 'load_profile_in_template', $userdata ); 
    280    
     280 
    281281  $template->assign_var_from_handle('PROFILE_CONTENT', 'profile_content'); 
    282282} 
Note: See TracChangeset for help on using the changeset viewer.