Changeset 837 for trunk/Modules/Translation/Progress.php
- Timestamp:
- Dec 27, 2015, 5:47:00 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Translation/Progress.php
r826 r837 38 38 $Output .= '<table class="BaseTable">'; 39 39 $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')), 44 44 ); 45 45 … … 58 58 if($Total <> 0) $TotalCount = round($Translated / $Total * 100, 2); 59 59 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>'. 61 61 '</table>'; 62 62 } … … 100 100 101 101 // Show client version selection 102 $Output = 'Verze klienta:';102 $Output = T('Client version:').' '; 103 103 $DbResult = $this->Database->query('SELECT `Version`, `Title` FROM `ClientVersion` WHERE `Imported`=1 ORDER BY `Version`'); 104 104 while($DbRow = $DbResult->fetch_assoc()) … … 107 107 108 108 // 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>'; 111 111 if($_SESSION['language'] == '') $Output .= '<strong>'.$Lang.'</strong> '; 112 112 else $Output .= $Lang; … … 120 120 121 121 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/>'; 124 124 $Output .= $this->ShowStatTable(); 125 125
Note:
See TracChangeset
for help on using the changeset viewer.