Ignore:
Timestamp:
May 19, 2010, 11:26:40 PM (15 years ago)
Author:
rvelices
Message:

rv_gmaps compatibility with 2.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/kml.php

    r3447 r6245  
    6262
    6363if ( !empty($page['items']) )
    64   $dataTpl->assign( 'NB_ITEMS_DESC', sprintf( l10n('%d elements'), count($page['items']) ).'<br/>' );
     64  $dataTpl->assign( 'NB_ITEMS_DESC', sprintf( l10n('%d images'), count($page['items']) ).'<br/>' );
    6565
    6666
     
    112112    if ( isset($bounds['self']) )
    113113    {
    114       $count_desc = l10n_dec('%d element', '%d elements', $bounds['self']['count']);
     114      $count_desc = l10n_dec('%d image', '%d images', $bounds['self']['count']);
    115115      if ( $bounds['self']['count'] == $bounds['count'] )
    116116        $count_desc .= ' '.l10n('images_available_cpl');
    117117      else
    118         $count_desc .= '/'.l10n_dec('%d element', '%d elements', $bounds['count']).' '.l10n_dec('images_available_cat','images_available_cats', $bounds['nb_cats'] );
     118        $count_desc .= '/'.l10n_dec('%d image', '%d images', $bounds['count']).' '.l10n_dec('images_available_cat','images_available_cats', $bounds['nb_cats'] );
    119119    }
    120120    else
    121       $count_desc = l10n_dec('%d element', '%d elements', $bounds['count'])
     121      $count_desc = l10n_dec('%d image', '%d images', $bounds['count'])
    122122        .' '.l10n_dec('images_available_cat','images_available_cats', $bounds['nb_cats'] );
    123123
Note: See TracChangeset for help on using the changeset viewer.