Dotclear

Changeset 1129:6041311d1408 for plugins


Ignore:
Timestamp:
03/25/13 14:10:04 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

No reason found to limit edition of locales files to main.po

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/themeEditor/class.themeEditor.php

    r1037 r1129  
    243243          foreach ($langs as $k => $v) { 
    244244               if ($this->parent_theme) { 
    245                     $this->po = array_merge($this->po,$this->getFilesInDir($this->parent_theme.'/locales/'.$v,'po',$v.'/','main.po')); 
    246                } 
    247                $this->po = array_merge($this->po,$this->getFilesInDir($this->user_theme.'/locales/'.$v,'po',$v.'/','main.po')); 
     245                    $this->po = array_merge($this->po,$this->getFilesInDir($this->parent_theme.'/locales/'.$v,'po',$v.'/')); 
     246               } 
     247               $this->po = array_merge($this->po,$this->getFilesInDir($this->user_theme.'/locales/'.$v,'po',$v.'/')); 
    248248          } 
    249249     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map