Ignore:
Timestamp:
Jan 21, 2016, 10:20:04 AM (9 years ago)
Author:
chronos
Message:
  • Modified: Function GetTranslationTree moved from global to Translation module where it belongs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Translation/LoadNames.php

    r843 r859  
    5858  function LoadNames()
    5959  {
    60     global $TranslationTree;
     60    $TranslationTree = $this->System->ModuleManager->Modules['Translation']->GetTranslationTree();
    6161
    6262    $Output = '';
     
    7979          } else {
    8080            if(($GroupId == 13)) {
    81               $names = GetTranslatNames($Text, 0, array('Dictionary' => 'Text', 'TextGlobalString' => 'Text', 'TextArea' => 'Name', 'TextItemSubClass' => 'Name', 'TextCharacterRace' => 'Name1',),false);
     81              $names = GetTranslatNames($Text, 0, array('Dictionary' => 'Text',
     82                'TextGlobalString' => 'Text', 'TextArea' => 'Name',
     83                'TextItemSubClass' => 'Name', 'TextCharacterRace' => 'Name1',), false);
    8284            } else {
    8385              $names = GetTranslatNames($Text, 0, GetTranslatNamesArray());
Note: See TracChangeset for help on using the changeset viewer.