Ignore:
Timestamp:
Dec 27, 2015, 5:47:00 PM (9 years ago)
Author:
chronos
Message:
  • Modified: More interface texts made as translated.
File:
1 edited

Legend:

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

    r826 r837  
    3838      $Output .= '<table class="BaseTable">';
    3939      $TableColumns = array(
    40         array('Name' => 'Name', 'Title' => 'Jméno'),
    41         array('Name' => 'Translated', 'Title' => 'Přeložených'),
    42         array('Name' => 'Total', 'Title' => 'Anglických'),
    43         array('Name' => 'Percent', 'Title' => 'Procenta'),
     40        array('Name' => 'Name', 'Title' => T('Name')),
     41        array('Name' => 'Translated', 'Title' => T('Translated')),
     42        array('Name' => 'Total', 'Title' => T('Original')),
     43        array('Name' => 'Percent', 'Title' => T('Percentage')),
    4444      );
    4545
     
    5858      if($Total <> 0) $TotalCount = round($Translated / $Total * 100, 2);
    5959      else $TotalCount = 0;
    60       $Output .= '<tr><td><strong>Celkem</strong></td><td><strong>'.$Translated.'</strong></td><td><strong>'.$Total.'</strong></td><td><strong>'.ProgressBar(150, $TotalCount).'</strong></td></tr>'.
     60      $Output .= '<tr><td><strong>'.T('Total').'</strong></td><td><strong>'.$Translated.'</strong></td><td><strong>'.$Total.'</strong></td><td><strong>'.ProgressBar(150, $TotalCount).'</strong></td></tr>'.
    6161          '</table>';
    6262    }
     
    100100
    101101    // Show client version selection
    102     $Output = 'Verze klienta: ';
     102    $Output = T('Client version:').' ';
    103103    $DbResult = $this->Database->query('SELECT `Version`, `Title` FROM `ClientVersion` WHERE `Imported`=1 ORDER BY `Version`');
    104104    while($DbRow = $DbResult->fetch_assoc())
     
    107107
    108108    // Show language selection
    109     $Output .= 'Jazyk: ';
    110     $Lang = '<a href="?language=">Všechny</a>';
     109    $Output .= T('Language:').' ';
     110    $Lang = '<a href="?language=">'.T('All').'</a>';
    111111    if($_SESSION['language'] == '') $Output .= '<strong>'.$Lang.'</strong> ';
    112112      else $Output .= $Lang;
     
    120120
    121121    if(is_numeric($_SESSION['language'])) $LanguageName = $LanguageList[$_SESSION['language']]['Name'];
    122       else $LanguageName = 'Všechny';
    123     $Output .= '<br/><br /><h3>Statistika dokončení překladů jazyka '.$LanguageName.' pro verzi '.$_SESSION['StatVersion'].'</h3><br/>';
     122      else $LanguageName = T('All');
     123    $Output .= '<br/><br /><h3>'.sprintf(T('Statistics of translation completion of language %s for version %s'), $LanguageName, $_SESSION['StatVersion']).'</h3><br/>';
    124124    $Output .= $this->ShowStatTable();
    125125
Note: See TracChangeset for help on using the changeset viewer.