Changeset 13224


Ignore:
Timestamp:
02/17/12 20:30:52 (8 years ago)
Author:
mistic100
Message:

feature 2379: option to change comments order: change caption again, fix a bug in config page (induced by r13087)

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r13087 r13224  
    125125  ); 
    126126   
     127$comments_order = array( 
     128  'ASC' => l10n('Show oldest comments first'), 
     129  'DESC' => l10n('Show latest comment first'), 
     130  ); 
     131 
    127132 
    128133//------------------------------ verification and registration of modifications 
     
    360365        'NB_COMMENTS_PAGE'=>$conf['nb_comment_page'], 
    361366        'comments_order'=>$conf['comments_order'], 
    362         'comments_order_options'=> $sort_directions 
     367        'comments_order_options'=> $comments_order 
    363368        ) 
    364369      ); 
  • trunk/include/picture_comment.inc.php

    r13156 r13224  
    135135    $template->assign(array( 
    136136      'COMMENTS_ORDER_URL' => add_url_params( duplicate_picture_url(), array('comments_order'=> ($comments_order == 'ASC' ? 'DESC' : 'ASC') ) ), 
    137       'COMMENTS_ORDER_TITLE' => $comments_order == 'ASC' ? l10n('old → new') : l10n('new → old'), 
     137      'COMMENTS_ORDER_TITLE' => $comments_order == 'ASC' ? l10n('Show latest comment first') : l10n('Show oldest comments first'), 
    138138      )); 
    139139         
  • trunk/language/bg_BG/common.lang.php

    r13209 r13224  
    383383$lang['%d rates'] = '%d оценки'; 
    384384 
    385 $lang['new → old'] = 'ново → старо'; 
    386 $lang['old → new'] = 'старо → ново'; 
    387385?> 
  • trunk/language/de_DE/common.lang.php

    r13119 r13224  
    382382$lang['xxlarge'] = 'xxgroß'; 
    383383$lang['Your username has been successfully changed to : %s'] = 'Dein Benutzername ist jetzt:'; 
    384 $lang['new → old'] = 'neu → alt'; 
    385 $lang['old → new'] = 'alt → neu'; 
    386384$lang['Photo sizes'] = 'Bildgrößen'; 
    387385?> 
  • trunk/language/en_UK/common.lang.php

    r13088 r13224  
    230230$lang['Most visited'] = "Most visited"; 
    231231$lang['N/A'] = "N/A"; 
    232 $lang['old → new'] = 'old → new'; 
    233 $lang['new → old'] = 'new → old'; 
    234232$lang['New on %s'] = "New on %s"; 
    235233$lang['New password'] = "New password"; 
     
    315313$lang['Show number of comments'] = "Show number of comments"; 
    316314$lang['Show number of hits'] = "Show number of hits"; 
     315$lang['Show oldest comments first'] = 'Show oldest comments first'; 
     316$lang['Show latest comment first'] = 'Show latest comment first'; 
    317317$lang['show tag cloud'] = "show tags cloud"; 
    318318$lang['Since'] = "Since"; 
  • trunk/language/fr_CA/common.lang.php

    r13093 r13224  
    376376$lang['Successfully registered, you will soon receive an email with your connection settings. Welcome!'] = 'Inscription réussie, vous recevrez bientôt un email avec vos identifiants. Bienvenue !'; 
    377377$lang['Send my connection settings by email'] = 'Recevoir mes identifiants par email'; 
    378  
    379 $lang['new → old'] = 'nouveau → ancien'; 
    380 $lang['old → new'] = 'ancien → nouveau'; 
    381378?> 
  • trunk/language/uk_UA/common.lang.php

    r13178 r13224  
    381381$lang['Username: %s'] = 'Ім\'я користувача: %s'; 
    382382$lang['If you think you\'ve received this email in error, please contact us at %s'] = 'Якщо Ви думаєте, що Ви отримали цей лист помилково, будь ласка, зв\'яжіться з нами за адресою %s'; 
    383 $lang['new → old'] = 'нові → старі'; 
    384 $lang['old → new'] = 'старі → нові'; 
    385383$lang['Photo sizes'] = 'Розміри фотографій'; 
    386384?> 
  • trunk/language/zh_CN/common.lang.php

    r13112 r13224  
    384384$lang['xxlarge'] = '非常大尺寸'; 
    385385$lang['Your username has been successfully changed to : %s'] = '您的用户名成功修改为:%s'; 
    386 $lang['new → old'] = '新 → 旧'; 
    387 $lang['old → new'] = '旧 → 新'; 
    388386$lang['Photo sizes'] = ''; 
    389387?> 
  • trunk/themes/default/template/picture.tpl

    r13115 r13224  
    275275                <h3>{$pwg->l10n_dec('%d comment', '%d comments',$COMMENT_COUNT)}</h3> 
    276276        {if $COMMENT_COUNT > 2} 
    277                 {'Sort order'|@translate}: <a href="{$COMMENTS_ORDER_URL}#comments" rel="nofollow">{$COMMENTS_ORDER_TITLE}</a> 
     277                <a href="{$COMMENTS_ORDER_URL}#comments" rel="nofollow">{$COMMENTS_ORDER_TITLE}</a> 
    278278        {/if} 
    279279        {/if} 
Note: See TracChangeset for help on using the changeset viewer.