- Timestamp:
- Jan 20, 2016, 11:16:40 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UpdateTrace.php
r849 r857 2926 2926 } 2927 2927 2928 function UpdateTo857($Manager) 2929 { 2930 // Group item names 2931 $Manager->Execute('UPDATE `LogType` SET `Name` = "Translations" WHERE `Name` = "Překlady"'); 2932 $Manager->Execute('UPDATE `LogType` SET `Name` = "Download" WHERE `Name` = "Stažení"'); 2933 $Manager->Execute('UPDATE `LogType` SET `Name` = "Users" WHERE `Name` = "Uživatelé"'); 2934 $Manager->Execute('UPDATE `LogType` SET `Name` = "Moderator" WHERE `Name` = "Moderátor"'); 2935 $Manager->Execute('UPDATE `LogType` SET `Name` = "Errors" WHERE `Name` = "Chyby"'); 2936 $Manager->Execute('UPDATE `LogType` SET `Name` = "Administration" WHERE `Name` = "Administrace"'); 2937 $Manager->Execute('UPDATE `LogType` SET `Name` = "Missing" WHERE `Name` = "Nenalezené"'); 2938 } 2928 2939 2929 2940 $Updates = array( … … 2958 2969 846 => array('Revision' => 848, 'Function' => 'UpdateTo848'), 2959 2970 848 => array('Revision' => 849, 'Function' => 'UpdateTo849'), 2971 849 => array('Revision' => 857, 'Function' => 'UpdateTo857'), 2960 2972 ); -
trunk/Application/Version.php
r856 r857 7 7 8 8 $Version = '1.0-alfa'; 9 $Revision = 85 6; // Subversion revision10 $DatabaseRevision = 8 49; // Database structure revision9 $Revision = 857; // Subversion revision 10 $DatabaseRevision = 857; // Database structure revision 11 11 $ReleaseTime = '2016-01-19'; -
trunk/Modules/Admin/Admin.php
r842 r857 18 18 $this->System->RegisterMenuItem(array( 19 19 'Title' => T('Administration'), 20 'Hint' => 'Volby pro správu',20 'Hint' => T('Administration tools'), 21 21 'Link' => $this->System->Link('/admin/'), 22 22 'Permission' => LICENCE_ADMIN, … … 31 31 function ShowMenu() 32 32 { 33 $Output = '<h3> Volby pro správu</h3>';33 $Output = '<h3>'.T('Administration tools').'</h3>'; 34 34 35 35 $Output .= '<br />'. 36 '<a href="https://'.$this->System->Config['Web']['Host'].'/phpmyadmin/"> Správa databáze</a><br/>'.36 '<a href="https://'.$this->System->Config['Web']['Host'].'/phpmyadmin/">'.T('Database management').'</a><br/>'. 37 37 '<small>Rozhraní phpMyAdmin pro přímou správu databáze</small><br/><br/>'. 38 '<a href="'.$this->System->Link('/import/').'"> Import textů</a><br/>'.38 '<a href="'.$this->System->Link('/import/').'">'.T('Text import').'</a><br/>'. 39 39 '<small>Načtení zdrojových textů do databáze</small><br/><br/>'. 40 '<a href="'.$this->System->Link('/log/').'"> Záznamy událostí</a><br/>'.40 '<a href="'.$this->System->Link('/log/').'">'.T('Event log').'</a><br/>'. 41 41 '<small>Procházení všech systémových záznamů akcí a událostí</small><br/><br/>'. 42 '<a href="'.$this->System->Link('/admin/?action=testing').'"> Testování</a><br/>'.42 '<a href="'.$this->System->Link('/admin/?action=testing').'">'.T('Testing').'</a><br/>'. 43 43 '<small>Testovací funkce</small><br/><br/>'. 44 '<a href="'.$this->System->Link('/admin/?action=locale').'"> Exportovat překlad rozhraní</a><br/>'.44 '<a href="'.$this->System->Link('/admin/?action=locale').'">'.T('Export of the web interface translation').'</a><br/>'. 45 45 '<small>Exportovat texty z PHP souborů pro překlad rozhraní</small><br/><br/>'. 46 46 '<a href="'.$this->System->Link('/admin/?action=uncomplete').'">Nastavit nekompletní texty</a><br/>'. -
trunk/Modules/Log/Log.php
r843 r857 140 140 if($this->System->User->Licence(LICENCE_MODERATOR)) 141 141 { 142 $Output = '<strong> Filtr:</strong>';143 $Item = '<a href="'.$this->System->Link('/log/?type=').'" title="Bez filtrování"> Všechny</a>';142 $Output = '<strong>'.T('Filter').':</strong>'; 143 $Item = '<a href="'.$this->System->Link('/log/?type=').'" title="Bez filtrování">'.T('All').'</a>'; 144 144 if($_SESSION['type'] == '') $Item = '<strong>'.$Item.'</strong>'; 145 145 $Output .= ' '.$Item; … … 148 148 { 149 149 $Item = '<a href="'.$this->System->Link('/log/?type='.$LogType['Id']).'" style="color:'. 150 $LogType['Color'].'" title="'.$LogType['Name'].'">'. $LogType['Name'].'</a>';150 $LogType['Color'].'" title="'.$LogType['Name'].'">'.T($LogType['Name']).'</a>'; 151 151 if($_SESSION['type'] == $LogType['Id']) $Item = '<strong>'.$Item.'</strong>'; 152 152 $Output .= ' '.$Item; … … 170 170 171 171 $TableColumns = array( 172 array('Name' => 'Date', 'Title' => 'Čas'),172 array('Name' => 'Date', 'Title' => T('Time')), 173 173 ); 174 174 if($_SESSION['type'] == '') $TableColumns[] = 175 array('Name' => 'LogName', 'Title' => 'Typ');175 array('Name' => 'LogName', 'Title' => T('Type')); 176 176 $TableColumns = array_merge($TableColumns, array( 177 array('Name' => 'Text', 'Title' => 'Text'),178 array('Name' => 'UserName', 'Title' => 'Uživatel'),179 array('Name' => 'IP', 'Title' => 'Adresa'),180 array('Name' => 'URL', 'Title' => 'URL'),177 array('Name' => 'Text', 'Title' => T('Content')), 178 array('Name' => 'UserName', 'Title' => T('User')), 179 array('Name' => 'IP', 'Title' => T('Address')), 180 array('Name' => 'URL', 'Title' => T('URL')), 181 181 )); 182 182 $Order = GetOrderTableHeader($TableColumns, 'date', 1); … … 190 190 { 191 191 if($Line['Type'] == LOG_TYPE_ERROR) $Line['Text'] = htmlspecialchars($Line['Text']); 192 $Line['Text'] = str_replace("\n", '<br >', $Line['Text']);192 $Line['Text'] = str_replace("\n", '<br/>', $Line['Text']); 193 193 $Output .= '<tr><td>'.$Line['Date'].'</td>'; 194 if($_SESSION['type'] == '') $Output .= '<td>'. $Line['LogName'].'</td>';194 if($_SESSION['type'] == '') $Output .= '<td>'.T($Line['LogName']).'</td>'; 195 195 $Output .= '<td><span style="color: '.$Line['LogColor'].'">'.$Line['Text'].'</span></td>'. 196 196 '<td><a href="'.$this->System->Link('/user/?user='.$Line['User']).'">'.$Line['UserName'].'</a></td>'. … … 202 202 if($this->System->User->Licence(LICENCE_ADMIN)) 203 203 { 204 $Output .= '<div> Vymazat: <a href="'.$this->System->Link('/log/?a=delerrlog&type='.LOG_TYPE_ERROR).'">Chybové záznamy</a> '.205 '<a href="'.$this->System->Link('/log/?a=delerrlog&type='.LOG_TYPE_PAGE_NOT_FOUND).'"> Neznámé stránky</a></div>';204 $Output .= '<div>'.T('Remove').': <a href="'.$this->System->Link('/log/?a=delerrlog&type='.LOG_TYPE_ERROR).'">'.T('Error logs').'</a> '. 205 '<a href="'.$this->System->Link('/log/?a=delerrlog&type='.LOG_TYPE_PAGE_NOT_FOUND).'">'.T('Missing').'</a></div>'; 206 206 } 207 207 } else $Output .= ShowMessage(T('Access denied'), MESSAGE_CRITICAL); -
trunk/Modules/Redirection/Redirection.php
r853 r857 24 24 Header($_SERVER['SERVER_PROTOCOL'].' 301 Moved Permanently'); 25 25 Header('Location: '.$Location); 26 return('<h3 align="center"> Požadovaná stránka byla přesunuta do nového umístění.</h3>');26 return('<h3 align="center">'.T('').'</h3>'); 27 27 } 28 28 … … 44 44 if($this->System->PathItems[0] == 'download.php') $Output = $this->Redirect($this->System->Link('/download/')); 45 45 if($this->System->PathItems[0] == 'serverlist.php') $Output = $this->Redirect($this->System->Link('/server/')); 46 if($this->System->PathItems[0] == 'info.php') $Output = $this->Redirect($this->System->Link('/info/')); 47 if($this->System->PathItems[0] == 'userlist.php') $Output = $this->Redirect($this->System->Link('/users/')); 48 if($this->System->PathItems[0] == 'promotion.php') $Output = $this->Redirect($this->System->Link('/promotion/')); 49 if($this->System->PathItems[0] == 'log.php') $Output = $this->Redirect($this->System->Link('/log/')); 46 50 if(count($this->System->PathItems) > 1) 47 51 { -
trunk/Modules/ShoutBox/ShoutBox.php
r854 r857 30 30 31 31 if($this->System->User->Licence(LICENCE_USER)) 32 $Output .= ' <a href="'.$this->System->Link('/shoutbox/?a=add').'">'.T('Add').'</a>';32 $Output .= ' <a href="'.$this->System->Link('/shoutbox/?a=add').'">'.T('Add').'</a>'; 33 33 $Output .= '<div class="box"><div class="shoutbox"><table>'; 34 34 $DbResult = $this->Database->query('SELECT * FROM `ShoutBox` ORDER BY `ID` DESC LIMIT 30'); -
trunk/locale/cs.php
r854 r857 500 500 'Export %s of translator %s' => 'Export %s překladatele %s', 501 501 'Revision' => 'Revize', 502 'Requested page was moved to new location' => 'Požadovaná stránka byla přesunuta do nového umístění', 503 'Administration tools' => 'Nástroje pro správu', 504 'Event log' => 'Záznamy událostí', 505 'Testing' => 'Testování', 506 'Database management' => 'Správa databáze', 507 'Text import' => 'Import textů', 508 'Export of the web interface translation' => 'Exportovat překlad rozhraní webu', 509 'Type' => 'Typ', 510 'Error logs' => 'Chybové záznamy', 511 'Time' => 'Čas', 512 'Errors' => 'Chyby', 513 'Missing' => 'Chybějící', 514 'Users' => 'Uživatelé', 515 'Moderator' => 'Moderátor', 502 516 ), 503 517 'URL' => array( … … 522 536 'shoutbox' => 'kecatko', 523 537 'promotion' => 'propagace', 538 'log' => 'zaznamy', 524 539 ), 525 540 );
Note:
See TracChangeset
for help on using the changeset viewer.