Changeset 866
- Timestamp:
- Feb 6, 2016, 12:08:40 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r865 r866 7 7 8 8 $Version = '1.0'; 9 $Revision = 86 5; // Subversion revision9 $Revision = 866; // Subversion revision 10 10 $DatabaseRevision = 857; // Database structure revision 11 11 $ReleaseDate = strtotime('2016-02-05'); -
trunk/Modules/Export/Export.php
r865 r866 739 739 740 740 // Show progress bar 741 $Output .= ' <strong>Export '.$Export.': <div id="progress'.$Task['Export'].'">'.742 ProgressBar(300, $Task['Progress']).'</div></strong>';741 $Output .= ' <strong>Export '.$Export.':</strong> <div id="progress'.$Task['Export'].'">'. 742 '<strong>'.ProgressBar(300, $Task['Progress']).'</strong> '; 743 743 744 744 // Show estimated time to complete 745 745 $PrefixMultiplier = new PrefixMultiplier(); 746 746 if($Task['Progress'] > 0) { 747 $ElapsedTime = time() - MysqlDateTimeToTime($Task['TimeStart']); 748 $Output .= T('Elapsed time').': <strong>'.$PrefixMultiplier->Add($ElapsedTime, '', 4, 'Time').'</strong> / '; 747 749 $EstimatedTime = (time() - MysqlDateTimeToTime($Task['TimeStart'])) / $Task['Progress'] * (100 - $Task['Progress']); 748 $Output .= 'Zbývající odhadovaný čas: '.$PrefixMultiplier->Add($EstimatedTime, '', 4, 'Time').'<br/>'; 749 } 750 $Output .= T('Estimated remaining time').': <strong>'.$PrefixMultiplier->Add($EstimatedTime, '', 4, 'Time').'</strong><br/>'; 751 } 752 $Output .= '</div>'; 750 753 751 754 if($Task['Progress'] > 99) 752 755 $Output .= '<script type="text/javascript" language="JavaScript" charset="utf-8">'. 753 'setTimeout("parent.location.href=\''.$this->System->Link('/export/?Action=View& amp;Tab=7&ExportId='.$TaskId).'\'", 500)'.756 'setTimeout("parent.location.href=\''.$this->System->Link('/export/?Action=View&Tab=7&ExportId='.$TaskId).'\'", 500)'. 754 757 '</script>'; 755 758 } -
trunk/locale/cs.php
r862 r866 515 515 'Moderator' => 'Moderátor', 516 516 'Translate' => 'Překládat', 517 'Estimated remaining time' => 'Odhadovaný zbývající čas', 518 'Elapsed time' => 'Uplynulý čas', 517 519 ), 518 520 'URL' => array(
Note:
See TracChangeset
for help on using the changeset viewer.