Changeset 3824


Ignore:
Timestamp:
09/05/09 13:35:20 (10 years ago)
Author:
patdenice
Message:

merge r3716-3717 from trunk to branch 2.0
Allow to add description.txt file in language directory for plugin description.
Add multilingual descriptions for plugins.

Location:
branches/2.0
Files:
5 edited
24 copied

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/include/plugins.class.php

    r3206 r3824  
    214214            $plugin['uri'] = trim($val[1]); 
    215215          } 
    216           if ( preg_match("|Description: (.*)|", $plg_data, $val) ) 
     216          if ($desc = load_language('description.txt', $path.'/', array('return' => true))) 
     217          { 
     218            $plugin['description'] = trim($desc); 
     219          } 
     220          elseif ( preg_match("|Description: (.*)|", $plg_data, $val) ) 
    217221          { 
    218222            $plugin['description'] = trim($val[1]); 
  • branches/2.0/plugins/LocalFilesEditor/main.inc.php

    r3664 r3824  
    2525Plugin Name: LocalFiles Editor 
    2626Version: 2.0.3 
    27 Description: Edit local files from administration panel / Editeur de fichiers locaux 
     27Description: Edit local files from administration panel 
    2828Plugin URI: http://piwigo.org/ext/extension_view.php?eid=144 
    2929Author: Piwigo team 
  • branches/2.0/plugins/add_index/main.inc.php

    r3274 r3824  
    2525Plugin Name: Add Index 
    2626Version: 2.0.2 
    27 Description: Add file index.php file on all sub-directories of local galleries pictures. / Ajoute le fichier index.php sur les sous-répertoires de galeries d'images locales. 
     27Description: Add index.php file on all sub-directories of local galleries pictures. 
    2828Plugin URI: http://piwigo.org/ext/extension_view.php?eid=284 
    2929Author: Piwigo team 
  • branches/2.0/plugins/admin_multi_view/main.inc.php

    r3274 r3824  
    2525Plugin Name: Multi view 
    2626Version: 2.0.2 
    27 Description: Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes ... 
     27Description: Allows administrators to view gallery as guests and/or change the language and/or theme on the fly. Practical to debug changes... 
    2828Plugin URI: http://piwigo.org/ext/extension_view.php?eid=286 
    2929Author: Piwigo team 
  • branches/2.0/plugins/c13y_upgrade/main.inc.php

    r3274 r3824  
    2525Plugin Name: Check upgrades 
    2626Version: 2.0.2 
    27 Description: Check integrity of upgrades / Contrôle d'intégrité des mises à jour 
     27Description: Check integrity of upgrades. 
    2828Plugin URI: http://piwigo.org/ext/extension_view.php?eid=287 
    2929Author: Piwigo team 
Note: See TracChangeset for help on using the changeset viewer.