Ignore:
Timestamp:
Jun 28, 2011, 3:19:44 PM (13 years ago)
Author:
mistic100
Message:

keep category representant if possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/admin/albums.inc.php

    r11392 r11546  
    6565      array_push(
    6666        $page['infos'],
    67         l10n_args(get_l10n_args(
    68           '%d photos associated to album «%s»',
    69           array(
    70             count($associated_images),
    71             trigger_event(
    72               'render_category_name',
    73               $category['name'],
    74               'admin_cat_list'
    75               )
    76             )
    77           ))
     67        sprintf(
     68          l10n('%d photos associated to album %s'),
     69          count($associated_images),
     70          '«'.trigger_event(
     71            'render_category_name',
     72            $category['name'],
     73            'admin_cat_list'
     74            ).'»'
     75          )
    7876        );
    7977    }
     
    8583    array_push(
    8684      $page['infos'],
    87       l10n_args(get_l10n_args(
    88         '%d photos associated to album «%s»',
    89         array(
    90           count($associated_images),
    91           trigger_event(
    92             'render_category_name',
    93             $categories[$_GET['smart_generate']]['name'],
    94             'admin_cat_list'
    95             )
    96           )
    97         ))
     85      sprintf(
     86        l10n('%d photos associated to album %s'),
     87        count($associated_images),
     88        '«'.trigger_event(
     89          'render_category_name',
     90          $categories[$_GET['smart_generate']]['name'],
     91          'admin_cat_list'
     92          ).'»'
     93        )
    9894      );
    9995  }
Note: See TracChangeset for help on using the changeset viewer.