Ignore:
Timestamp:
Jan 15, 2016, 10:24:05 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Now translation groups are also localized.
  • Modified: Translated team page.
File:
1 edited

Legend:

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

    r845 r846  
    5959      if($Filter['Group'] != 0)
    6060      {
    61         if(isset($TranslationTree[$Filter['Group']]) == false) ErrorMessage('Překladová skupina dle zadaného Id neexistuje.');
     61        if(isset($TranslationTree[$Filter['Group']]) == false)
     62          ErrorMessage('Překladová skupina dle zadaného Id neexistuje.');
    6263        $Table = $TranslationTree[$Filter['Group']]['TablePrefix'];
    6364      }
     
    7778      if($Group['Id'] == $Filter['Group']) $Selected = ' selected="selected"';
    7879      else $Selected = '';
    79       $Output .= '<option value="'.$Group['Id'].'"'.$Selected.'>'.$Group['Name'].'</option>';
     80      $Output .= '<option value="'.$Group['Id'].'"'.$Selected.'>'.T($Group['Name']).'</option>';
    8081    }
    8182    $Output .= '</select></td>';
     
    414415   while($Group = $DbResult->fetch_assoc())
    415416   {
    416      $Output .= '<tr><td><a href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&amp;action=filter').'">'.$Group['Name'].'</a></td>'.
     417     $Output .= '<tr><td><a href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&amp;action=filter').'">'.T($Group['Name']).'</a></td>'.
    417418       '<td>'.$Group['SourceType'].'</td><td>';
    418419     if($Group['MangosTable'] != '') $Output .= $Group['MangosTable'].'.sql ';
     
    503504    if($this->System->User->Licence(LICENCE_ADMIN))
    504505    {
    505       $DbResult = $this->System->Database->select('Group', '*', 'Id='.$_GET['id']);
     506      $DbResult = $this->System->Database->select('Group', '*', '`Id`='.$_GET['id']);
    506507      if($DbResult->num_rows == 1)
    507508      {
Note: See TracChangeset for help on using the changeset viewer.