Changeset 847 for trunk/Modules
- Timestamp:
- Jan 15, 2016, 10:41:25 PM (9 years ago)
- Location:
- trunk/Modules
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/Page.php
r846 r847 19 19 if($this->System->User->Licence(LICENCE_USER)) 20 20 { 21 $Output .= ' <a href="?Action=ViewList&Filter=Others"> Ostatních</a>'.22 21 $Output .= ' <a href="?Action=ViewList&Filter=Others">'.T('Others').'</a>'. 22 ' <a href="?Action=ViewList&Filter=My">'.T('Mine').'</a>'; 23 23 } 24 24 -
trunk/Modules/Translation/Comparison.php
r816 r847 86 86 $Output .= '<td><a href="form.php?group='.$GroupId.'&ID='.$LineItem['Take'].'">'.$LineItem['Take'].'</a></td>'; 87 87 $Output .= '</tr>'. 88 '<tr><th> Jazyk</th>';88 '<tr><th>'.T('Language').'</th>'; 89 89 foreach($Line as $Index => $LineItem) 90 $Output .= '<td>'. $LineItem['LanguageName'].'</td>';90 $Output .= '<td>'.T($LineItem['LanguageName']).'</td>'; 91 91 $Output .= '</tr>'. 92 '<tr><th> Verze</th>';92 '<tr><th>'.T('Version').'</th>'; 93 93 foreach($Line as $Index => $LineItem) 94 94 $Output .= '<td>'.GetVersionWOW($LineItem['VersionStart']).' - '.GetVersionWOW($LineItem['VersionEnd']).'</td>'; -
trunk/Modules/Translation/Form.php
r844 r847 102 102 103 103 $Output .= T('Original text').': <strong>'. 104 ' ID <a href=" form.php?group='.$GroupId.'&ID='.$Line['Take'].'">'.$Line['Take'].'</a></strong>'.105 ' ('. $Lang['Name'].')'.104 ' ID <a href="'.$this->System->Link('/form.php?group='.$GroupId.'&ID='.$Line['Take']).'">'.$Line['Take'].'</a></strong>'. 105 ' ('.T($Lang['Name']).')'. 106 106 ' <br />'; 107 107 } … … 124 124 if($Version > 0) 125 125 { 126 $Output .= '<form action="comparison.php" method="get"><a href=" TranslationList.php?group='.127 $GroupId.'&user=0&state=2&entry='.$Line['Entry'].'&text= ">'.T('Number of versions').': <strong>'.$Version.'</strong></a>126 $Output .= '<form action="comparison.php" method="get"><a href="'.$this->System->Link('/TranslationList.php?group='. 127 $GroupId.'&user=0&state=2&entry='.$Line['Entry'].'&text=').'">'.T('Number of versions').': <strong>'.$Version.'</strong></a> 128 128 <input type="hidden" name="group" value="'.$GroupId.'" /> 129 129 <input type="hidden" name="entry" value="'.$Line['Entry'].'" /> … … 152 152 } else 153 153 { 154 $Output .= '<a href=" TranslationList.php?group='.$GroupId.'&user=0&state=2&entry='.155 $Line['Entry'].'&text= ">'.T('Number of versions').': <strong>'.$Version.'</strong></a>';154 $Output .= '<a href="'.$this->System->Link('/TranslationList.php?group='.$GroupId.'&user=0&state=2&entry='. 155 $Line['Entry'].'&text=').'">'.T('Number of versions').': <strong>'.$Version.'</strong></a>'; 156 156 } 157 157 … … 200 200 { 201 201 $Language = $DbResult3->fetch_assoc(); 202 $Output .= $Language['Name'];202 $Output .= T($Language['Name']); 203 203 } 204 204 } -
trunk/Modules/Translation/Progress.php
r846 r847 121 121 if(is_numeric($_SESSION['language'])) $LanguageName = $LanguageList[$_SESSION['language']]['Name']; 122 122 else $LanguageName = T('All'); 123 $Output .= '<br/><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/TranslationList.php
r846 r847 116 116 if($Filter['Language'] == 0) $Selected = ' selected="selected"'; 117 117 else $Selected = ''; 118 $Output .= '<option value="0"'.$Selected.'> Všechny</option>';118 $Output .= '<option value="0"'.$Selected.'>'.T('All').'</option>'; 119 119 $DbResult = $this->Database->query('SELECT `Id`, `Name` FROM `Language` WHERE `Enabled` = 1 ORDER BY `Name`'); 120 120 while($Language = $DbResult->fetch_assoc()) … … 122 122 if($Language['Id'] == $Filter['Language']) $Selected = ' selected="selected"'; 123 123 else $Selected = ''; 124 $Output .= '<option value="'.$Language['Id'].'"'.$Selected.'>'. $Language['Name'].'</option>';124 $Output .= '<option value="'.$Language['Id'].'"'.$Selected.'>'.T($Language['Name']).'</option>'; 125 125 } 126 126 $Output .= '</select></td>'; … … 288 288 while($Line = $DbResult->fetch_assoc()) 289 289 { 290 $Output .= '<tr><td><a href=" form.php?group='.$Filter['Group'].'&ID='.$Line['ID'].'">'.$Line['ID'].'</a></td>'.290 $Output .= '<tr><td><a href="'.$this->System->Link('/form.php?group='.$Filter['Group'].'&ID='.$Line['ID']).'">'.$Line['ID'].'</a></td>'. 291 291 '<td>'.$Line['Entry'].'</td>'. 292 292 '<td>'.htmlspecialchars($Line[$TranslationTree[$Filter['Group']]['Items'][0]['Column']]).'</td>'. … … 295 295 '<td><a href="'.$this->System->Link('/client-version/?action=item&id='. 296 296 GetVersionWOWId($Line['VersionEnd'])).'">'.GetVersionWOW($Line['VersionEnd']).'</a></td>'. 297 '<td>'. $Line['LanguageName'].'</td>'.297 '<td>'.T($Line['LanguageName']).'</td>'. 298 298 '<td><a href="'.$this->System->Link('/user/?user='.$Line['UserId']).'">'.$Line['UserName'].'</a></td>'. 299 299 '<td>'.HumanDate($Line['ModifyTime']).'</td>'.
Note:
See TracChangeset
for help on using the changeset viewer.