瀏覽代碼

fix: 🐛 Description of settings

IceToast 2 年之前
父節點
當前提交
8fe6ad0d52
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 3 3
      app/Settings/ServerSettings.php
  2. 2 2
      app/Settings/UserSettings.php

+ 3 - 3
app/Settings/ServerSettings.php

@@ -45,12 +45,12 @@ class ServerSettings extends Settings
             'creation_enabled' => [
             'creation_enabled' => [
                 'label' => 'Creation Enabled',
                 'label' => 'Creation Enabled',
                 'type' => 'boolean',
                 'type' => 'boolean',
-                'description' => 'Whether or not users can create servers.',
+                'description' => 'Enable the user server creation.',
             ],
             ],
             'enable_upgrade' => [
             'enable_upgrade' => [
-                'label' => 'Enable Upgrade',
+                'label' => 'Server Upgrade Enabled',
                 'type' => 'boolean',
                 'type' => 'boolean',
-                'description' => 'Whether or not users can upgrade their servers.',
+                'description' => 'Enable the server upgrade feature.',
             ],
             ],
         ];
         ];
     }
     }

+ 2 - 2
app/Settings/UserSettings.php

@@ -106,14 +106,14 @@ class UserSettings extends Settings
                 'description' => 'The amount of servers a user can create after they verify their email.',
                 'description' => 'The amount of servers a user can create after they verify their email.',
             ],
             ],
             'register_ip_check' => [
             'register_ip_check' => [
-                'label' => 'Register IP Check',
+                'label' => 'Register IP Check Enabled',
                 'type' => 'boolean',
                 'type' => 'boolean',
                 'description' => 'Check if the IP a user is registering from is already in use.',
                 'description' => 'Check if the IP a user is registering from is already in use.',
             ],
             ],
             'creation_enabled' => [
             'creation_enabled' => [
                 'label' => 'Creation Enabled',
                 'label' => 'Creation Enabled',
                 'type' => 'boolean',
                 'type' => 'boolean',
-                'description' => 'Whether or not users can create servers.',
+                'description' => 'Enable the user registration.',
             ],
             ],
         ];
         ];
     }
     }