- Timestamp:
- Jan 15, 2016, 10:24:05 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Dictionary/Dictionary.php
r843 r846 92 92 { 93 93 $Output .= '<form action="?action=save" method="post">'. 94 '<fieldset><legend> Vložení nového slova</legend>'.94 '<fieldset><legend>'.T('New word insertion').'</legend>'. 95 95 '<table><tr><td>'. 96 'Původní anglické slovo:</td><td><input type="text" name="Original" /></td></tr>'.96 T('Original word').':</td><td><input type="text" name="Original" /></td></tr>'. 97 97 '<tr><td>'.T('Translated').':</td><td><input type="text" name="Translated" /></td></tr>'. 98 98 '<tr><td>'.T('Language').':</td><td>'.WriteLanguages($_SESSION['language']).'</td></tr>'. … … 238 238 if($Language['Enabled'] == 1) 239 239 { 240 $Lang = ' <a href="?language='.$Language['Id'].'">'. $Language['Name'].'</a>';240 $Lang = ' <a href="?language='.$Language['Id'].'">'.T($Language['Name']).'</a>'; 241 241 if($Language['Id'] == $_SESSION['language']) $Output .= '<strong>'.$Lang.'</strong> '; 242 242 else $Output .= $Lang; … … 290 290 '<td>'.$Line['Original'].'</td>'. 291 291 '<td><strong>'.$Line['Translated'].'</strong></td>'; 292 if(!is_numeric($_SESSION['language'])) $Output .= '<td>'. $Line['LangName'].'</td>';292 if(!is_numeric($_SESSION['language'])) $Output .= '<td>'.T($Line['LangName']).'</td>'; 293 293 $Output .= '<td>'.$Line['Description'].'</td>'. 294 294 '<td><a href="'.$this->System->Link('/user/?user='.$Line['UserId']).'">'. -
trunk/Modules/Export/Page.php
r843 r846 380 380 { 381 381 $Output .= '<input type="submit" value="'.T('Save').'" '.$DisabledInput[$Editable].'/>'. 382 383 384 385 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.'); 386 386 } 387 387 … … 399 399 $Sequence = '<input type="text" name="seq'.$Langugage['Id'].'" style="text-align: center; width: 40px;" value="'.$Langugage['Sequence2'].'"'.$DisabledInput[$Editable].'/>'; 400 400 $Output .= '<tr> 401 <td>'. $Langugage['Name'].'</td>401 <td>'.T($Langugage['Name']).'</td> 402 402 <td>'.$Selection.'</td><td>'.$Sequence.'</td></tr>'; 403 403 } … … 448 448 foreach($TranslationTree as $Group) 449 449 { 450 // echo $Group['Id'].' ';451 450 foreach($TranslationTree[$Group['Id']]['Items'] as $Column) { 452 451 if(array_key_exists('item'.$Column['Id'], $_POST)) $Selected = true; … … 486 485 $Order = GetOrderTableHeader($TableColumns, 'Name'); 487 486 $Output .= '<form action="?Action=View&ExportId='.$_GET['ExportId'].'" method="post">'. 488 '<h3> Překladové skupiny</h3>';487 '<h3>'.T('Translation groups').'</h3>'; 489 488 if($Editable) 490 489 { … … 518 517 $Output .= '<tr>'. 519 518 '<td>'.$Selection.'<input type="hidden" name="seq'.$Group['Id'].'"/></td>'. 520 '<td>'. $Group['Name'].'</td><td>';519 '<td>'.T($Group['Name']).'</td><td>'; 521 520 if ($Group['MangosTable'] <> '') 522 521 $Output .= $Group['MangosTable'].'.sql '; … … 526 525 $Output .= $Group['DBCFileName'].'.dbc '; 527 526 528 $Output .= 529 $Output .= 530 $Output .= 527 $Output .= '</td><td>'; 528 $Output .= $Columns. '</td>'; 529 $Output .= '</tr>'; 531 530 } 532 531 $Output .= '</table>'. 533 534 532 '</form>'. 533 $PageList['Output']; 535 534 return($Output); 536 535 } … … 726 725 while($Group = $ID->fetch_assoc()) 727 726 { 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>'; 729 728 $Translated += $Group['Translated']; 730 729 $Total += $Group['Total']; -
trunk/Modules/Forum/Forum.php
r838 r846 199 199 $Output .= '<form action="?Thread='.$_GET['Thread'].'" method="post">'. 200 200 '<fieldset><legend>'.T('New Forum Message').'</legend>'. 201 'Uživatel: ';201 T('User').': '; 202 202 if($this->System->User->Licence(LICENCE_USER)) $Output .= '<b>'.$this->System->User->Name.'</b><br />'; 203 203 else $Output .= '<input type="text" name="user" /><br />'; … … 218 218 $Output .= '<form action="?" method="post">'. 219 219 '<fieldset><legend>'.T('New thread').'</legend>'. 220 'Uživatel: ';220 T('User').': '; 221 221 if($this->System->User->Licence(LICENCE_USER)) $Output .= '<b>'.$this->System->User->Name.'</b><br />'; 222 222 else $Output .= '<input type="text" name="user" /><br />'; -
trunk/Modules/FrontPage/FrontPage.php
r843 r846 123 123 '<td><a href="'.$this->System->Link('/form.php?group='.$DbRow['Group'].'&ID='.$DbRow['ID']).'">'.$DbRow['ID'].'</a></td>'. 124 124 '<td><a href="'.$this->System->Link('/form.php?group='.$DbRow['Group'].'&ID='.$DbRow['Take']).'">'.$DbRow['Take'].'</a></td>'. 125 '<td><a href="'.$this->System->Link('/TranslationList.php?group='.$DbRow['Group'].'&action=filter').'">'. $DbRow['GroupName'].'</a></td></tr>';125 '<td><a href="'.$this->System->Link('/TranslationList.php?group='.$DbRow['Group'].'&action=filter').'">'.T($DbRow['GroupName']).'</a></td></tr>'; 126 126 } 127 127 $Output .= '</table>'; -
trunk/Modules/Import/Manage.php
r842 r846 71 71 while($Group = $DbResult->fetch_assoc()) 72 72 { 73 $Output .= '<tr><td>'. $Group['Name'].'</td>'.73 $Output .= '<tr><td>'.T($Group['Name']).'</td>'. 74 74 '<td>'.$Group['SourceType'].'</td><td>'; 75 75 if($Group['MangosTable'] != '') $Output .= $Group['MangosTable'].'.sql '; -
trunk/Modules/Search/Search.php
r838 r846 17 17 } 18 18 19 function doStart()19 function DoStart() 20 20 { 21 21 $this->System->RegisterPage('search', 'PageSearch'); -
trunk/Modules/Team/Team.php
r843 r846 230 230 } else $Leader = array('Name' => '', 'Id' => 0); 231 231 232 $Output .='<h3> Překladatelský tým'.$Team['Name'].'</h3><br />'.233 'Webové stránky: <a href="http://'.$Team['URL'].'">'.$Team['URL'].'</a><br/>'.234 'Vedoucí: <a href="'.$this->System->Link('/user/?user='.$Leader['Id']).'">'.$Leader['Name'].'</a><br/>';232 $Output .='<h3>'.T('Translation team').' '.$Team['Name'].'</h3><br />'. 233 T('Web pages').': <a href="http://'.$Team['URL'].'">'.$Team['URL'].'</a><br/>'. 234 T('Leader').': <a href="'.$this->System->Link('/user/?user='.$Leader['Id']).'">'.$Leader['Name'].'</a><br/>'; 235 235 if($Team['Description'] != '') 236 $Output .= 'Popis: '.$Team['Description'].'<br />';236 $Output .= T('Description').': '.$Team['Description'].'<br />'; 237 237 $Output .= '<br />'; 238 238 //$Output .= '<a href="export/?team='.$Team['Id'].'">Exportovat překlad týmu</a> '; 239 239 if($this->System->User->Licence(LICENCE_USER)) 240 $Output .='<a href="?action=gointeam&id='.$Team['Id'].'"> Vstoupit do týmu</a><br /><br />';240 $Output .='<a href="?action=gointeam&id='.$Team['Id'].'">'.T('Enter to team').'</a><br /><br />'; 241 241 $XP = GetLevelMinMax($Team['AverageXP']); 242 $Output .='<fieldset><legend> Statistika</legend>'.243 'Počet členů týmu: <a href="'.$this->System->Link('/userlist.php?team='.$Team['Id']).'" title="Zobrazit členy týmu">'.$Team['NumberUser'].'</a><br />'.244 'Počet přeložených textů týmu: <strong>'.$Team['NumberTranslate'].'</strong><br />'.245 'Průměrná úroveň překladatelů v týmu: <strong>'.$XP['Level'].'</strong> zkušenost: '.ProgressBar(150, round($XP['XP'] / $XP['MaxXP'] * 100, 2), $XP['XP'].' / '.$XP['MaxXP']).'<br />'.242 $Output .='<fieldset><legend>'.T('Statistics').'</legend>'. 243 T('Team member count').': <a href="'.$this->System->Link('/userlist/?team='.$Team['Id']).'" title="Zobrazit členy týmu">'.$Team['NumberUser'].'</a><br />'. 244 T('Team number of translated texts').': <strong>'.$Team['NumberTranslate'].'</strong><br />'. 245 T('Average level of team members').': <strong>'.$XP['Level'].'</strong> '.T('experience').': '.ProgressBar(150, round($XP['XP'] / $XP['MaxXP'] * 100, 2), $XP['XP'].' / '.$XP['MaxXP']).'<br />'. 246 246 '<br />'. 247 '<strong> Stav dokončení týmu pro verzi'.$this->System->Config['Web']['GameVersion'].'</strong><br />';247 '<strong>'.T('Team completion state for version').' '.$this->System->Config['Web']['GameVersion'].'</strong><br />'; 248 248 249 249 $BuildNumber = GetBuildNumber($this->System->Config['Web']['GameVersion']); … … 277 277 $Output .='<table class="BaseTable">'; 278 278 $TableColumns = array( 279 array('Name' => 'Name', 'Title' => 'Jméno'),280 array('Name' => 'Translated', 'Title' => 'Přeložených'),281 array('Name' => 'Total', 'Title' => 'Anglických'),282 array('Name' => 'Percent', 'Title' => 'Procenta'),279 array('Name' => 'Name', 'Title' => T('Name')), 280 array('Name' => 'Translated', 'Title' => T('Translated')), 281 array('Name' => 'Total', 'Title' => T('Original')), 282 array('Name' => 'Percent', 'Title' => T('Percent')), 283 283 ); 284 284 … … 291 291 while($Group = $DbResult->fetch_assoc()) 292 292 { 293 $Output .='<tr><td>'.$Group['Name'].'</td><td>'.$Group['Translated'].'</td><td>'.$Group['Total'].'</td><td>'.ProgressBar(150, $Group['Percent']).'</td></tr>'; 293 $Output .='<tr><td>'.T($Group['Name']).'</td><td>'.$Group['Translated']. 294 '</td><td>'.$Group['Total'].'</td><td>'.ProgressBar(150, $Group['Percent']).'</td></tr>'; 294 295 $Translated += $Group['Translated']; 295 296 $Total += $Group['Total']; … … 297 298 if($Total > 0) $Progress = round($Translated / $Total * 100, 2); 298 299 else $Progress = 0; 299 $Output .='<tr><td><strong>Celkem</strong></td><td><strong>'.$Translated.'</strong></td><td><strong>'.$Total.'</strong></td><td><strong>'.ProgressBar(150, $Progress).'</strong></td></tr>'; 300 $Output .='<tr><td><strong>'.T('Total').'</strong></td><td><strong>'. 301 $Translated.'</strong></td><td><strong>'.$Total.'</strong></td><td><strong>'. 302 ProgressBar(150, $Progress).'</strong></td></tr>'; 300 303 $Output .='</table>'; 301 304 } -
trunk/Modules/Translation/Progress.php
r837 r846 52 52 while($Group = $DbResult->fetch_assoc()) 53 53 { 54 $Output .= '<tr><td>'. $Group['Name'].'</td><td>'.$Group['Translated'].'</td><td>'.$Group['Total'].'</td><td>'.ProgressBar(150, $Group['Percent']).'</td></tr>';54 $Output .= '<tr><td>'.T($Group['Name']).'</td><td>'.$Group['Translated'].'</td><td>'.$Group['Total'].'</td><td>'.ProgressBar(150, $Group['Percent']).'</td></tr>'; 55 55 $Translated += $Group['Translated']; 56 56 $Total += $Group['Total']; … … 114 114 if($Language['Enabled'] == 1) 115 115 { 116 $Lang = ' <a href="?language='.$Language['Id'].'">'. $Language['Name'].'</a>';116 $Lang = ' <a href="?language='.$Language['Id'].'">'.T($Language['Name']).'</a>'; 117 117 if($Language['Id'] == $_SESSION['language']) $Output .= '<strong>'.$Lang.'</strong> '; 118 118 else $Output .= $Lang; … … 121 121 if(is_numeric($_SESSION['language'])) $LanguageName = $LanguageList[$_SESSION['language']]['Name']; 122 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/>';123 $Output .= '<br/><br /><h3>'.sprintf(T('Statistics of translation completion of language %s for version %s'), T($LanguageName), $_SESSION['StatVersion']).'</h3><br/>'; 124 124 $Output .= $this->ShowStatTable(); 125 125 -
trunk/Modules/Translation/Translation.php
r843 r846 19 19 $this->License = 'GNU/GPL'; 20 20 $this->Description = 'Translation of text items and groups from original language to other languages.'; 21 $this->Dependencies = array('News' );21 $this->Dependencies = array('News', 'Search'); 22 22 } 23 23 … … 49 49 'Icon' => '', 50 50 )); 51 /* 51 52 if(array_key_exists('Search', $this->System->ModuleManager->Modules)) 52 53 { … … 62 63 63 64 $this->System->ModuleManager->Modules['Search']->RegisterSearch('group'.$Group['Id'], 64 sprintf(T('Translation group "%s"'), $Group['Name']), $Columns, '`'.$Table.'`', $this->System->Link('/TranslationList.php?group='. 65 $Group['Id'].'&user=0&state=0&entry=&text=')); 65 sprintf(T('Translation group "%s"'), $Group['Name']), $Columns, '`'.$Table.'`', 66 $this->System->Link('/TranslationList.php?group='. 67 $Group['Id'].'&user=0&state=0&entry=&text=')); 66 68 } 67 69 } 70 */ 68 71 } 69 72 -
trunk/Modules/Translation/TranslationList.php
r845 r846 59 59 if($Filter['Group'] != 0) 60 60 { 61 if(isset($TranslationTree[$Filter['Group']]) == false) ErrorMessage('Překladová skupina dle zadaného Id neexistuje.'); 61 if(isset($TranslationTree[$Filter['Group']]) == false) 62 ErrorMessage('Překladová skupina dle zadaného Id neexistuje.'); 62 63 $Table = $TranslationTree[$Filter['Group']]['TablePrefix']; 63 64 } … … 77 78 if($Group['Id'] == $Filter['Group']) $Selected = ' selected="selected"'; 78 79 else $Selected = ''; 79 $Output .= '<option value="'.$Group['Id'].'"'.$Selected.'>'. $Group['Name'].'</option>';80 $Output .= '<option value="'.$Group['Id'].'"'.$Selected.'>'.T($Group['Name']).'</option>'; 80 81 } 81 82 $Output .= '</select></td>'; … … 414 415 while($Group = $DbResult->fetch_assoc()) 415 416 { 416 $Output .= '<tr><td><a href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&action=filter').'">'. $Group['Name'].'</a></td>'.417 $Output .= '<tr><td><a href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&action=filter').'">'.T($Group['Name']).'</a></td>'. 417 418 '<td>'.$Group['SourceType'].'</td><td>'; 418 419 if($Group['MangosTable'] != '') $Output .= $Group['MangosTable'].'.sql '; … … 503 504 if($this->System->User->Licence(LICENCE_ADMIN)) 504 505 { 505 $DbResult = $this->System->Database->select('Group', '*', ' Id='.$_GET['id']);506 $DbResult = $this->System->Database->select('Group', '*', '`Id`='.$_GET['id']); 506 507 if($DbResult->num_rows == 1) 507 508 { -
trunk/Modules/User/Profile.php
r844 r846 109 109 { 110 110 $Output .= '<tr><td>'.HumanDate($DbRow['ModifyTime']).'</td>'. 111 '<td><a href=" form.php?group='.$DbRow['Group'].'&ID='.$DbRow['ID'].'">'.$DbRow['ID'].'</a></td>'.112 '<td><a href=" form.php?group='.$DbRow['Group'].'&ID='.$DbRow['Take'].'">'.$DbRow['Take'].'</a></td>'.113 '<td><a href=" TranslationList.php?group='.$DbRow['Group'].'&action=filter">'.$DbRow['GroupName'].'</a></td></tr>';111 '<td><a href="'.$this->System->Link('/form.php?group='.$DbRow['Group'].'&ID='.$DbRow['ID']).'">'.$DbRow['ID'].'</a></td>'. 112 '<td><a href="'.$this->System->Link('/form.php?group='.$DbRow['Group'].'&ID='.$DbRow['Take']).'">'.$DbRow['Take'].'</a></td>'. 113 '<td><a href="'.$this->System->Link('/TranslationList.php?group='.$DbRow['Group'].'&action=filter').'">'.T($DbRow['GroupName']).'</a></td></tr>'; 114 114 } 115 115 $Output .= '</table>'; … … 153 153 $Output .= 154 154 '<h3>'.T('Translator').' '.$UserLine['Name'].'</h3>'. 155 T('Default language:').' <strong>'. $UserLine['LanguageName'].'</strong><br />'.155 T('Default language:').' <strong>'.T($UserLine['LanguageName']).'</strong><br />'. 156 156 T('Default client version:').' <a href="'.$this->System->Link('/client-version/?action=item&id='.$UserLine['PreferredVersion']).'"><strong>'.$UserLine['Version'].'</strong></a><br />'. 157 157 T('Last logged in:').' <strong>'.HumanDateTime($UserLine['LastLogin']).'</strong><br />'. -
trunk/admin/UpdateTrace.php
r816 r846 2816 2816 } 2817 2817 2818 function UpdateTo846($Manager) 2819 { 2820 $Manager->Execute('UPDATE `Language` SET `Name` = "English", `Code` = "en" WHERE `Language`.`Name` = "Angličtina";'); 2821 $Manager->Execute('UPDATE `Language` SET `Name` = "Czech" WHERE `Language`.`Name` = "Čeština";'); 2822 $Manager->Execute('UPDATE `Language` SET `Name` = "Slovak" WHERE `Language`.`Name` = "Slovenština";'); 2823 2824 $Manager->Execute('UPDATE `Group` SET `Name` = "Quests" WHERE `Group`.`Name` = "Výpravy"'); 2825 $Manager->Execute('UPDATE `Group` SET `Name` = "Books" WHERE `Group`.`Name` = "Knížky"'); 2826 $Manager->Execute('UPDATE `Group` SET `Name` = "NPC speech" WHERE `Group`.`Name` = "Slova NPC"'); 2827 $Manager->Execute('UPDATE `Group` SET `Name` = "Items" WHERE `Group`.`Name` = "Věci"'); 2828 $Manager->Execute('UPDATE `Group` SET `Name` = "Game objects" WHERE `Group`.`Name` = "Herní objekty"'); 2829 $Manager->Execute('UPDATE `Group` SET `Name` = "Creature names" WHERE `Group`.`Name` = "Jména bytostí"'); 2830 $Manager->Execute('UPDATE `Group` SET `Name` = "MaNGOS messages" WHERE `Group`.`Name` = "Zprávy MaNGOSu"'); 2831 $Manager->Execute('UPDATE `Group` SET `Name` = "MaNGOS commands" WHERE `Group`.`Name` = "Popis GM příkazů"'); 2832 $Manager->Execute('UPDATE `Group` SET `Name` = "ScriptDev2 scripts" WHERE `Group`.`Name` = "EventAI"'); 2833 $Manager->Execute('UPDATE `Group` SET `Name` = "ScriptDev2 EventAI" WHERE `Group`.`Name` = "Popis GM příkazů"'); 2834 $Manager->Execute('UPDATE `Group` SET `Name` = "Game tips" WHERE `Group`.`Name` = "Herní tipy"'); 2835 $Manager->Execute('UPDATE `Group` SET `Name` = "Spells" WHERE `Group`.`Name` = "Kouzla"'); 2836 $Manager->Execute('UPDATE `Group` SET `Name` = "Client interface" WHERE `Group`.`Name` = "Rozhraní klienta"'); 2837 $Manager->Execute('UPDATE `Group` SET `Name` = "Login interface" WHERE `Group`.`Name` = "Rozhraní přihlašování"'); 2838 $Manager->Execute('UPDATE `Group` SET `Name` = "NPC options" WHERE `Group`.`Name` = "Možnosti NPC"'); 2839 $Manager->Execute('UPDATE `Group` SET `Name` = "Transports" WHERE `Group`.`Name` = "Doprava"'); 2840 $Manager->Execute('UPDATE `Group` SET `Name` = "Taverns" WHERE `Group`.`Name` = "Krčmy"'); 2841 $Manager->Execute('UPDATE `Group` SET `Name` = "Teleports" WHERE `Group`.`Name` = "Teleporty"'); 2842 $Manager->Execute('UPDATE `Group` SET `Name` = "Achievements" WHERE `Group`.`Name` = "Úspěchy"'); 2843 $Manager->Execute('UPDATE `Group` SET `Name` = "Achievement category" WHERE `Group`.`Name` = "Kategorie úspěchů"'); 2844 $Manager->Execute('UPDATE `Group` SET `Name` = "Achievement criteria" WHERE `Group`.`Name` = "Kritéria úspěchů"'); 2845 $Manager->Execute('UPDATE `Group` SET `Name` = "Interface localization" WHERE `Group`.`Name` = "Rozhraní národní"'); 2846 $Manager->Execute('UPDATE `Group` SET `Name` = "Area POI" WHERE `Group`.`Name` = "Body zájmu oblastí"'); 2847 $Manager->Execute('UPDATE `Group` SET `Name` = "World state" WHERE `Group`.`Name` = "Stav světa"'); 2848 $Manager->Execute('UPDATE `Group` SET `Name` = "Totem category" WHERE `Group`.`Name` = "Kategorie totemů"'); 2849 $Manager->Execute('UPDATE `Group` SET `Name` = "Talent tabs" WHERE `Group`.`Name` = "Záložky talentů"'); 2850 $Manager->Execute('UPDATE `Group` SET `Name` = "Skills" WHERE `Group`.`Name` = "Dovednosti"'); 2851 $Manager->Execute('UPDATE `Group` SET `Name` = "Character classes" WHERE `Group`.`Name` = "Třídy postav"'); 2852 $Manager->Execute('UPDATE `Group` SET `Name` = "Chat channels" WHERE `Group`.`Name` = "Kanály pro povídání"'); 2853 $Manager->Execute('UPDATE `Group` SET `Name` = "Character races" WHERE `Group`.`Name` = "Rasy postav"'); 2854 $Manager->Execute('UPDATE `Group` SET `Name` = "Emotes" WHERE `Group`.`Name` = "Emoce"'); 2855 $Manager->Execute('UPDATE `Group` SET `Name` = "Areas" WHERE `Group`.`Name` = "Místa"'); 2856 $Manager->Execute('UPDATE `Group` SET `Name` = "Skill category" WHERE `Group`.`Name` = "Kategorie dovedností"'); 2857 $Manager->Execute('UPDATE `Group` SET `Name` = "Item subclass" WHERE `Group`.`Name` = "Podtřídy věcí"'); 2858 $Manager->Execute('UPDATE `Group` SET `Name` = "Creature types" WHERE `Group`.`Name` = "Druh bytostí"'); 2859 } 2860 2818 2861 $Updates = array( 2819 2862 498 => array('Revision' => 506, 'Function' => 'UpdateTo506'), … … 2844 2887 787 => array('Revision' => 803, 'Function' => 'UpdateTo803'), 2845 2888 803 => array('Revision' => 811, 'Function' => 'UpdateTo811'), 2889 811 => array('Revision' => 846, 'Function' => 'UpdateTo846'), 2846 2890 ); -
trunk/includes/Version.php
r845 r846 6 6 // and system will need database update. 7 7 8 $Revision = 84 5; // Subversion revision9 $DatabaseRevision = 8 11; // Database structure revision8 $Revision = 846; // Subversion revision 9 $DatabaseRevision = 846; // Database structure revision 10 10 $ReleaseTime = '2016-01-14'; -
trunk/includes/global.php
r844 r846 346 346 { 347 347 $DbRow['Items'] = array(); 348 $DbRow['Name'] = T($DbRow['Name']); 348 349 $Result[$DbRow['Id']] = $DbRow; 349 350 } -
trunk/includes/system.php
r845 r846 313 313 $Output2 = ''; 314 314 if((count($this->OnPageNotFound) == 2) 315 and method_exists($this->OnPageNotFound[0], $this->OnPageNotFound[1]))315 and method_exists($this->OnPageNotFound[0], $this->OnPageNotFound[1])) 316 316 $Output2 = call_user_func_array($this->OnPageNotFound, array()); 317 317 if($Output2 != '') $Output .= $this->BaseView->ShowPage($Output2); … … 451 451 { 452 452 $Output .= '<div id="menuitem-group'.$Group['Id'].'" onmouseover="show(\'group'.$Group['Id'].'\')" onmouseout="hide(\'group'.$Group['Id'].'\')">'. 453 '<a href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&action=filter').'">'.str_replace(' ',' ',$Group['Name']).'</a></div>'. 454 '<div id="group'.$Group['Id'].'" class="hidden-menu-item" onmouseover="show(\'group'.$Group['Id'].'\')" onmouseout="hide(\'group'.$Group['Id'].'\')">'; 455 $Output .= ' <a title="Zde můžete začít překládat" href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=1&user=0&entry=&text=').'">'.T('Untranslated').'</a><br />'. 456 ' <a title="Přeložené texty, můžete zde hlasovat, nebo opravovat překlady" href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=2&user=0&entry=&text=').'">'.T('Translated').'</a><br />'; 453 '<a href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id']. 454 '&action=filter').'">'.str_replace(' ',' ', T($Group['Name'])).'</a></div>'. 455 '<div id="group'.$Group['Id'].'" class="hidden-menu-item" onmouseover="show(\'group'.$Group['Id'].'\')" onmouseout="hide(\'group'.$Group['Id'].'\')">'; 456 $Output .= ' <a title="Zde můžete začít překládat" href="'. 457 $this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=1&user=0&entry=&text=').'">'.T('Untranslated').'</a><br />'. 458 ' <a title="Přeložené texty, můžete zde hlasovat, nebo opravovat překlady" href="'. 459 $this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=2&user=0&entry=&text=').'">'.T('Translated').'</a><br />'; 457 460 if($this->System->User->Licence(LICENCE_USER)) 458 461 { 459 $Output .= ' <a title="'.T('Unfinished translations').'" href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=3').'">'.T('Unfinished').'</a><br /> 460 <a title="Všechny překlady, které jste přeložil" href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=1&user='.$this->System->User->Id).'&entry=&text=">'.T('Own').'</a><br />'; 461 } 462 $Output .= ' <a title="'.T('Compose special filter').'" href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&action=filter').'">'.T('Filter').'</a><br />'; 462 $Output .= ' <a title="'.T('Unfinished translations').'" href="'.$this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=3').'">'.T('Unfinished').'</a><br />'. 463 ' <a title="Všechny překlady, které jste přeložil" href="'. 464 $this->System->Link('/TranslationList.php?group='.$Group['Id'].'&state=1&user='. 465 $this->System->User->Id).'&entry=&text=">'.T('Own').'</a><br />'; 466 } 467 $Output .= ' <a title="'.T('Compose special filter').'" href="'. 468 $this->System->Link('/TranslationList.php?group='.$Group['Id'].'&action=filter'). 469 '">'.T('Filter').'</a><br />'; 463 470 $Output .= '</div>'; 464 471 } -
trunk/locale/cs.php
r844 r846 373 373 'Google translator' => 'Google překladač', 374 374 'Registration was successful' => 'Registrace proběhla úspěšně.', 375 'Quests' => 'Výpravy', 376 'Books' => 'Knížky', 377 'NPC speech' => 'Slova NPC', 378 'Items' => 'Věci', 379 'Game objects' => 'Herní objekty', 380 'Creature names' => 'Jména bytostí', 381 'MaNGOS messages' => 'Zprávy MaNGOSu', 382 'MaNGOS commands' => 'Popis GM příkazů,', 383 'ScriptDev2 EventAI' => 'Popis GM příkazů', 384 'Game tips' => 'Herní tipy', 385 'Spells' => 'Kouzla', 386 'Client interface' => 'Rozhraní klienta', 387 'Login interface' => 'Rozhraní přihlašování', 388 'NPC options' => 'Možnosti NPC', 389 'Transports' => 'Doprava', 390 'Taverns' => 'Krčmy', 391 'Teleports' => 'Teleporty', 392 'Achievements' => 'Úspěchy', 393 'Achievement category' => 'Kategorie úspěchů', 394 'Achievement criteria' => 'Kritéria úspěchů', 395 'Interface localization' => 'Rozhraní národní', 396 'World state' => 'Stav světa', 397 'Totem category' => 'Kategorie totemů', 398 'Talent tabs' => 'Záložky talentů', 399 'Skills' => 'Dovednosti', 400 'Character classes' => 'Třídy postav', 401 'Chat channels' => 'Kanály pro povídání', 402 'Character races' => 'Rasy postav', 403 'Emotes' => 'Emoce', 404 'Areas' => 'Místa', 405 'Skill category' => 'Kategorie dovedností', 406 'Item subclass' => 'Podtřídy věcí', 407 'Creature types' => 'Druh bytostí', 408 'Area POI' => 'Body zájmu oblastí', 409 'Czech' => 'Čeština', 410 'English' => 'Angličtina', 411 'Slovak' => 'Slovenština', 412 'Original word' => 'Původní slovo', 413 'New word insertion' => 'Vložení nového slova', 414 'Translation team' => 'Překladatelský tým', 415 'Enter to team' => 'Vstoupit do týmu', 416 'Statistics' => 'Statistika', 417 'Team member count' => 'Počet členů týmu', 418 'Team number of translated texts' => 'Počet přeložených textů týmu', 419 'Average level of team members' => 'Průměrná úroveň překladatelů v týmu', 420 'experience' => 'zkušenost', 421 'Team completion state for version' => 'Stav dokončení týmu pro verzi', 375 422 ), 376 423 'URL' => array(
Note:
See TracChangeset
for help on using the changeset viewer.