Changeset 82839 in spip-zone


Ignore:
Timestamp:
Jun 3, 2014, 9:32:31 AM (5 years ago)
Author:
brunobergot@…
Message:

utiliser la bonne chaîne de langue dans les boîtes infos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/sites/sites_pipelines.php

    r79783 r82839  
    258258          AND $id_rubrique = $flux['args']['id']){
    259259                if ($nb = sql_countsel('spip_syndic',"statut='publie' AND id_rubrique=".intval($id_rubrique))){
    260                         $nb = "<div>". singulier_ou_pluriel($nb, "info_1_site", "info_nb_sites") . "</div>";
     260                        $nb = "<div>". singulier_ou_pluriel($nb, "sites:info_1_site", "sites:info_nb_sites") . "</div>";
    261261                        if ($p = strpos($flux['data'],"<!--nb_elements-->"))
    262262                                $flux['data'] = substr_replace($flux['data'],$nb,$p,0);
Note: See TracChangeset for help on using the changeset viewer.