Quellcode durchsuchen

add snapshot jobs to config lang

andre vor 4 Jahren
Ursprung
Commit
73941c0936
2 geänderte Dateien mit 4 neuen und 9 gelöschten Zeilen
  1. 0 9
      app/UI/Snapshot/Providers/JobProvider.php
  2. 4 0
      langs/german.php

+ 0 - 9
app/UI/Snapshot/Providers/JobProvider.php

@@ -39,15 +39,6 @@ class JobProvider  extends BaseModelDataProvider implements ClientArea
     {
         //period
         $period = $this->configuration()->getPermissionSnapshotJobPeriod();
-
-        logModuleCall(
-            'proxmoxCloud',
-            __FUNCTION__,
-            $this->formData,
-            'Debug',
-            $period
-        );
-
         if($period && in_array(JobPeriod::HOURLY, $period)){
             $this->availableValues['period'][JobPeriod::HOURLY] = sl("lang")->tr(JobPeriod::HOURLY );
         }

+ 4 - 0
langs/german.php

@@ -711,6 +711,10 @@ $_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection'][
 $_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['leftSection']['customconfigoption[permissionTaskHistory]']['tip'] = 'If enabled, a client will be able to access the record of all actions set to be executed on their server along with their status';
 $_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['leftSection']['customconfigoption[permissionSnapshot]']['customconfigoption[permissionSnapshot]'] = 'Snapshots';
 $_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['leftSection']['customconfigoption[permissionSnapshot]']['tip'] = 'If enabled, a client will be able to take snapshots';
+$_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['leftSection']['customconfigoption[permissionSnapshotJob]']['customconfigoption[permissionSnapshotJob]'] = 'Snapshot Aufgaben';
+$_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['leftSection']['customconfigoption[permissionSnapshotJob]']['tip'] = 'Sofern aktiviert, kann der Kunde Snapshot Aufgaben erstellen';
+$_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['rightSection']['customconfigoption[permissionSnapshotJobPeriod][]']['customconfigoption[permissionSnapshotJobPeriod][]'] = 'Snapshot Aufgabenperiode';
+$_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['rightSection']['customconfigoption[permissionSnapshotJobPeriod][]']['tip'] = 'Wähle die Snapshot Aufgabenperiode, welche für den Kunden verfügbar sein soll.';
 $_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['leftSection']['customconfigoption[permissionFirewallOption]']['customconfigoption[permissionFirewallOption]'] = 'Firewall Option';
 $_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['leftSection']['customconfigoption[permissionFirewallOption]']['tip'] = 'If enabled, a client will be able to set up firewall options';
 $_LANG['serverAA']['product']['mainContainer']['mainForm']['clientAreaSection']['leftSection']['customconfigoption[permissionSshkeys]']['customconfigoption[permissionSshkeys]'] = 'SSH Keys';