Commit 7d8bb80f authored by Franco Fichtner's avatar Franco Fichtner

firmware: improve various other strings

parent 16dd8aca
...@@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -36,7 +36,7 @@ POSSIBILITY OF SUCH DAMAGE.
$('#updatelist').empty(); $('#updatelist').empty();
$('#maintabs li:eq(1) a').tab('show'); $('#maintabs li:eq(1) a').tab('show');
$("#checkupdate_progress").addClass("fa fa-spinner fa-pulse"); $("#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 // request status
ajaxGet('/api/core/firmware/status',{},function(data,status){ ajaxGet('/api/core/firmware/status',{},function(data,status){
...@@ -82,7 +82,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -82,7 +82,7 @@ POSSIBILITY OF SUCH DAMAGE.
*/ */
function upgrade(){ function upgrade(){
$('#maintabs li:eq(2) a').tab('show'); $('#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"); $("#upgrade_progress").addClass("fa fa-spinner fa-pulse");
ajaxCall('/api/core/firmware/upgrade',{upgrade:$.upgrade_action},function() { ajaxCall('/api/core/firmware/upgrade',{upgrade:$.upgrade_action},function() {
...@@ -203,7 +203,7 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -203,7 +203,7 @@ POSSIBILITY OF SUCH DAMAGE.
<div class="alert alert-info" role="alert" style="min-height: 65px;"> <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-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> <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> </div>
<div class="row"> <div class="row">
......
...@@ -287,7 +287,7 @@ endforeach; ?> ...@@ -287,7 +287,7 @@ endforeach; ?>
<script type="text/javascript"> <script type="text/javascript">
//<![CDATA[ //<![CDATA[
function checkupdate() { 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({ jQuery.ajax({
type: "POST", type: "POST",
url: '/widgets/widgets/system_information.widget.php', url: '/widgets/widgets/system_information.widget.php',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment