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/Export/Page.php

    r843 r846  
    380380    {
    381381      $Output .= '<input type="submit" value="'.T('Save').'" '.$DisabledInput[$Editable].'/>'.
    382           '<input type="hidden" name="Operation" value="Save"/>'.
    383           '<br />'.
    384           T('Select languades from list witch you want to export from. And edit theirs order.').'<br />'.
    385           T('Order is done by numeric value which is can be edit to desirable order. Lines with same number will be renumbered in ascending order.');
     382        '<input type="hidden" name="Operation" value="Save"/>'.
     383        '<br />'.
     384        T('Select languades from list witch you want to export from. And edit theirs order.').'<br />'.
     385        T('Order is done by numeric value which is can be edit to desirable order. Lines with same number will be renumbered in ascending order.');
    386386    }
    387387
     
    399399      $Sequence = '<input type="text" name="seq'.$Langugage['Id'].'" style="text-align: center; width: 40px;" value="'.$Langugage['Sequence2'].'"'.$DisabledInput[$Editable].'/>';
    400400      $Output .= '<tr>
    401       <td>'.$Langugage['Name'].'</td>
     401      <td>'.T($Langugage['Name']).'</td>
    402402      <td>'.$Selection.'</td><td>'.$Sequence.'</td></tr>';
    403403    }
     
    448448      foreach($TranslationTree as $Group)
    449449      {
    450       //  echo $Group['Id'].' ';
    451450        foreach($TranslationTree[$Group['Id']]['Items'] as $Column) {
    452451          if(array_key_exists('item'.$Column['Id'], $_POST)) $Selected = true;
     
    486485    $Order = GetOrderTableHeader($TableColumns, 'Name');
    487486    $Output .= '<form action="?Action=View&amp;ExportId='.$_GET['ExportId'].'" method="post">'.
    488         '<h3>Překladové skupiny</h3>';
     487        '<h3>'.T('Translation groups').'</h3>';
    489488    if($Editable)
    490489    {
     
    518517      $Output .= '<tr>'.
    519518          '<td>'.$Selection.'<input type="hidden" name="seq'.$Group['Id'].'"/></td>'.
    520           '<td>'.$Group['Name'].'</td><td>';
     519          '<td>'.T($Group['Name']).'</td><td>';
    521520          if ($Group['MangosTable'] <> '')
    522521            $Output .= $Group['MangosTable'].'.sql ';
     
    526525            $Output .= $Group['DBCFileName'].'.dbc ';
    527526
    528       $Output .=    '</td><td>';
    529       $Output .=  $Columns. '</td>';
    530       $Output .=     '</tr>';
     527      $Output .= '</td><td>';
     528      $Output .= $Columns. '</td>';
     529      $Output .= '</tr>';
    531530    }
    532531    $Output .= '</table>'.
    533         '</form>'.
    534         $PageList['Output'];
     532      '</form>'.
     533      $PageList['Output'];
    535534    return($Output);
    536535  }
     
    726725        while($Group = $ID->fetch_assoc())
    727726        {
    728           $Output .= '<tr><td>'.$Group['Name'].'</td><td>'.$Group['Translated'].'</td><td>'.$Group['Total'].'</td><td>'.ProgressBar(150, $Group['Percent']).'</td></tr>';
     727          $Output .= '<tr><td>'.T($Group['Name']).'</td><td>'.$Group['Translated'].'</td><td>'.$Group['Total'].'</td><td>'.ProgressBar(150, $Group['Percent']).'</td></tr>';
    729728          $Translated += $Group['Translated'];
    730729          $Total += $Group['Total'];
Note: See TracChangeset for help on using the changeset viewer.