Browse Source

Update toolbar

Kristan Kenney 6 years ago
parent
commit
20b68c3735
2 changed files with 9 additions and 9 deletions
  1. 5 5
      web/inc/i18n/en.php
  2. 4 4
      web/templates/admin/list_cron.html

+ 5 - 5
web/inc/i18n/en.php

@@ -50,7 +50,7 @@ $LANG['en'] = array(
     'Add Mail Domain'  => 'Add Mail Domain',
     'Add Mail Account'  => 'Add Mail Account',
     'Add Database'  => 'Add Database',
-    'Add Cron Job'  => 'Add Task',
+    'Add Cron Job'  => 'Add Job',
     'Create Backup'  => 'Create Backup',
     'Configure'  => 'Configure',
     'Restore All'  => 'Restore All',
@@ -107,8 +107,8 @@ $LANG['en'] = array(
     'reread IP' => 'Verify IP address',
     'enable autoupdate' => 'Automatic Updates: Off',
     'disable autoupdate' => 'Automatic Updates: On',
-    'turn on notifications' => 'Enable Notifications',
-    'turn off notifications' => 'Disable Notifications',
+    'turn on notifications' => 'Turn on notifications',
+    'turn off notifications' => 'Turn off notifications',
     'configure' => 'Configure',
 
     'Adding User'  => 'Add User',
@@ -124,8 +124,8 @@ $LANG['en'] = array(
     'Adding Mail Account'  => 'Add Mail Account',
     'Editing Mail Account'  => 'Edit Mail Account',
     'Adding database'  => 'Add Database',
-    'Editing Cron Job'  => 'Edit Task',
-    'Adding Cron Job'  => 'Add Task',
+    'Editing Cron Job'  => 'Edit Job',
+    'Adding Cron Job'  => 'Add Job',
     'Editing Database'  => 'Edit Database',
     'Adding Package'  => 'Add Package',
     'Editing Package'  => 'Edit Package',

+ 4 - 4
web/templates/admin/list_cron.html

@@ -4,9 +4,9 @@
           <a href="/add/cron/" class="ui-button cancel" title="<?=__('Add Cron Job')?>"><i class="fas fa-plus-circle status-icon-green"></i> <?=__('Add Cron Job')?></a>
           <?
             if($panel[$user]['CRON_REPORTS'] == 'yes') {
-              echo '<a class="ui-button cancel" href="/delete/cron/reports/?token='.$_SESSION['token'].'"><i class="fas fa-bell-slash status-icon-orange"></i> '.__('turn off notifications').'</a>';
+              echo '<a class="ui-button cancel" href="/delete/cron/reports/?token='.$_SESSION['token'].'"><i class="fas fa-bell status-icon-orange"></i> '.__('turn off notifications').'</a>';
             } else {
-              echo '<a class="ui-button cancel" href="/add/cron/reports/?token='.$_SESSION['token'].'"><i class="fas fa-bell status-icon-orange"></i> '.__('turn on notifications').'</a>';
+              echo '<a class="ui-button cancel" href="/add/cron/reports/?token='.$_SESSION['token'].'"><i class="fas fa-bell-slash status-icon-orange"></i> '.__('turn on notifications').'</a>';
             }
           ?>
         </div>
@@ -160,9 +160,9 @@ sort-star="<? if($_SESSION['favourites']['CRON'][$key] == 1) echo '1'; else echo
           <div class="data-count l-unit__col l-unit__col--right clearfix">
             <?php
               if ( $i == 1) {
-                echo __('1 task');
+                echo __('1 cron job');
               } else {
-                echo __('%s tasks',$i);
+                echo __('%s cron jobs',$i);
               }
             ?>
           </div>