Changeset 1172


Ignore:
Timestamp:
Apr 14, 2006, 11:11:56 PM (19 years ago)
Author:
rub
Message:

Issue ID 326:

o Fix none translations "pictures"
o Fix display 0 pictures

Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_recent_cats.inc.php

    r1145 r1172  
    100100          ),
    101101        'NAME' => get_cat_display_name_cache($row['uppercats'], null, false),
    102         'NB_IMAGES' => $row['nb_images'],
     102        'CAPTION_NB_IMAGES' => (($row['nb_images'] == 0) ? '' : sprintf("%d ".l10n('pictures'), $row['nb_images'])),
    103103        'DESCRIPTION' => $comment,
    104104        )
  • trunk/include/category_subcats.inc.php

    r1145 r1172  
    161161            ),
    162162          'NAME' => $category['name'],
    163           'NB_IMAGES' => $category['nb_images'],
     163          'CAPTION_NB_IMAGES' => (($category['nb_images'] == 0) ? '' : sprintf("%d ".l10n('pictures'), $category['nb_images'])),
    164164          'DESCRIPTION' => @$category['comment'],
    165165          )
  • trunk/language/en_UK.iso-8859-1/admin.lang.php

    r1160 r1172  
    318318$lang['permuser_info'] = 'Only private categories are listed. Private/Public category status can be set in screen "Categories > Public / Private"';
    319319$lang['permuser_only_private'] = 'Only private categories are shown';
    320 $lang['pictures'] = 'pictures';
    321320$lang['private'] = 'private';
    322321$lang['properties'] = 'Properties';
  • trunk/language/en_UK.iso-8859-1/common.lang.php

    r1156 r1172  
    345345$lang['yes'] = 'Yes';
    346346$lang['redirect_msg'] = 'Redirection...';
     347$lang['pictures'] = 'pictures';
    347348?>
  • trunk/language/fr_FR.iso-8859-1/admin.lang.php

    r1160 r1172  
    321321$lang['permuser_info'] = 'Seules les catégories privées sont listées.';
    322322$lang['permuser_only_private'] = 'Seules les catégories privées sont listées.';
    323 $lang['pictures'] = 'images';
    324323$lang['private'] = 'privée';
    325324$lang['properties'] = 'Propriétés';
  • trunk/language/fr_FR.iso-8859-1/common.lang.php

    r1156 r1172  
    345345$lang['yes'] = 'Oui';
    346346$lang['redirect_msg'] = 'Redirection...';
     347$lang['pictures'] = 'images';
    347348?>
  • trunk/template/yoga/mainpage_categories.tpl

    r1136 r1172  
    1616          <a href="{categories.category.URL}">{categories.category.NAME}</a>
    1717        </h3>
    18         <p>{categories.category.NB_IMAGES} {lang:pictures}</p>
     18        <p>{categories.category.CAPTION_NB_IMAGES}</p>
    1919        <p>{categories.category.DESCRIPTION}</p>
    2020      </div>
Note: See TracChangeset for help on using the changeset viewer.