mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
firmware: improve various other strings
This commit is contained in:
parent
16dd8aca4d
commit
7d8bb80f37
@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
$('#updatelist').empty();
|
||||
$('#maintabs li:eq(1) a').tab('show');
|
||||
$("#checkupdate_progress").addClass("fa fa-spinner fa-pulse");
|
||||
$('#updatestatus').html("{{ lang._('Updating.... (may take up to 30 seconds)') }}");
|
||||
$('#updatestatus').html("{{ lang._('Fetching... (may take up to 30 seconds)') }}");
|
||||
|
||||
// request status
|
||||
ajaxGet('/api/core/firmware/status',{},function(data,status){
|
||||
@ -82,7 +82,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
function upgrade(){
|
||||
$('#maintabs li:eq(2) a').tab('show');
|
||||
$('#updatestatus').html("{{ lang._('Running upgrade. Please do not leave this page while upgrade is in progress.') }}");
|
||||
$('#updatestatus').html("{{ lang._('Upgrading... (do not leave this page while upgrade is in progress)') }}");
|
||||
$("#upgrade_progress").addClass("fa fa-spinner fa-pulse");
|
||||
|
||||
ajaxCall('/api/core/firmware/upgrade',{upgrade:$.upgrade_action},function() {
|
||||
@ -203,7 +203,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
<div class="alert alert-info" role="alert" style="min-height: 65px;">
|
||||
<button class='btn btn-primary pull-right' id="upgrade" style="display:none"><i id="upgrade_progress" class=""></i> {{ lang._('Upgrade now') }}</button>
|
||||
<button class='btn btn-default pull-right' id="checkupdate" style="margin-right: 8px;"><i id="checkupdate_progress" class=""></i> {{ lang._('Fetch updates')}}</button>
|
||||
<div style="margin-top: 8px;" id="updatestatus">{{ lang._('Click to check for updates')}}</div>
|
||||
<div style="margin-top: 8px;" id="updatestatus">{{ lang._('Click to check for updates.')}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
@ -287,7 +287,7 @@ endforeach; ?>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function checkupdate() {
|
||||
jQuery('#updatestatus').html('<span class="text-info">Updating.... (may take up to 30 seconds)</span>');
|
||||
jQuery('#updatestatus').html('<span class="text-info">Fetching... (may take up to 30 seconds)</span>');
|
||||
jQuery.ajax({
|
||||
type: "POST",
|
||||
url: '/widgets/widgets/system_information.widget.php',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user