Ignore:
Timestamp:
Feb 23, 2015, 12:56:12 AM (10 years ago)
Author:
chronos
Message:
  • Added: Class for UTF8 to other charset conversion.
  • Fixed: Google translate text conversion to UTF8.
  • Fixed: Correct $System variable reference in TranslateList.
File:
1 edited

Legend:

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

    r818 r819  
    205205          //todo javascript
    206206
    207           $Output .= '<script src="'.$System->Link('/style/jquery.js').'"></script>'.
     207          $Output .= '<script src="'.$this->System->Link('/style/jquery.js').'"></script>'.
    208208             '<script>';
    209209          $Output .=    '$(document).ready(function() {';
     
    237237              $Output .= '</form>';
    238238
    239               $Output .= '<table class="BaseTable">'.
     239              $Output .= '<br/><table class="BaseTable">'.
    240240              '<tr><th>Překladač:</th><th>Nepřeložené</th><th>Přeložené</th>';
    241241              foreach($TranslationTree[$GroupId]['Items'] as $Index => $TextItem)
    242242                if($TextItem['Visible'] == 1)
    243243                  if ($LineAJ[$TextItem['Column']] <> '')
    244                     $Output .= '<tr><td>'.$TextItem['Column'].'</td><td>'.$LineAJ[$TextItem['Column']].'</td><td>'.GetTranslateGoogle($LineAJ[$TextItem['Column']]).'</td></tr>';
     244                    $Output .= '<tr><td>'.$TextItem['Column'].'</td>'.
     245                      '<td>'.$LineAJ[$TextItem['Column']].'</td>'.
     246                      '<td>'.GetTranslateGoogle($LineAJ[$TextItem['Column']]).'</td></tr>';
    245247
    246248
Note: See TracChangeset for help on using the changeset viewer.