mhsanaei 3 týždňov pred
rodič
commit
f0165c1ad8

+ 2 - 2
README.es_ES.md

@@ -32,10 +32,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.
 
 ## Instalar una Versión Personalizada
 
-Para instalar la versión deseada, agrega la versión al final del comando de instalación. Por ejemplo, ver `v2.3.13`:
+Para instalar la versión deseada, agrega la versión al final del comando de instalación. Por ejemplo, ver `v2.3.14`:
 
 ```
-bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.13
+bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.14
 ```
 
 ## Certificado SSL

+ 2 - 2
README.md

@@ -32,10 +32,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.
 
 ## Install Custom Version
 
-To install your desired version, add the version to the end of the installation command. e.g., ver `v2.3.13`:
+To install your desired version, add the version to the end of the installation command. e.g., ver `v2.3.14`:
 
 ```
-bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.13
+bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.14
 ```
 
 ## SSL Certificate

+ 2 - 2
README.ru_RU.md

@@ -32,10 +32,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.
 
 ## Установка определённой версии
 
-Чтобы установить нужную вам версию, добавьте номер версии в конец команды установки. Например, `v2.3.13`:
+Чтобы установить нужную вам версию, добавьте номер версии в конец команды установки. Например, `v2.3.14`:
 
 ```
-bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.13
+bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.14
 ```
 
 ## SSL Сертификат

+ 2 - 2
README.zh_CN.md

@@ -32,10 +32,10 @@ bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.
 
 ## 安装指定版本
 
-要安装所需的版本,请将该版本添加到安装命令的末尾。 e.g., ver `v2.3.13`:
+要安装所需的版本,请将该版本添加到安装命令的末尾。 e.g., ver `v2.3.14`:
 
 ```
-bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.13
+bash <(curl -Ls https://raw.githubusercontent.com/mhsanaei/3x-ui/master/install.sh) v2.3.14
 ```
 
 ## SSL 认证

+ 1 - 1
config/version

@@ -1 +1 @@
-2.3.13
+2.3.14

+ 3 - 3
web/assets/js/model/outbound.js

@@ -909,15 +909,15 @@ Outbound.FreedomSettings.Fragment = class extends CommonClass {
     }
 };
 Outbound.FreedomSettings.Noise = class extends CommonClass {
-    constructor(packets = '', delay = '') {
+    constructor(packet = '', delay = '') {
         super();
-        this.packets = packets;
+        this.packet = packet;
         this.delay = delay;
     }
 
     static fromJson(json = {}) {
         return new Outbound.FreedomSettings.Noise(
-            json.packets,
+            json.packet,
             json.delay,
         );
     }

+ 2 - 2
web/html/xui/form/outbound.html

@@ -45,8 +45,8 @@
           <a-switch :checked="Object.keys(outbound.settings.noise).length >0" @change="checked => outbound.settings.noise = checked ? new Outbound.FreedomSettings.Noise() : {}"></a-switch>
         </a-form-item>
         <template v-if="Object.keys(outbound.settings.noise).length >0">
-          <a-form-item label='Packets'>
-            <a-input v-model.trim="outbound.settings.noise.packets"></a-input>
+          <a-form-item label='Packet'>
+            <a-input v-model.trim="outbound.settings.noise.packet"></a-input>
           </a-form-item>
           <a-form-item label='Delay'>
             <a-input v-model.trim="outbound.settings.noise.delay"></a-input>

+ 7 - 7
web/html/xui/settings.html

@@ -326,8 +326,8 @@
                     </a-row>
                     <a-collapse v-if="noise" style="margin-top: 14px;">
                       <a-collapse-panel header='{{ i18n "pages.settings.noiseSett"}}' v-if="noise">
-                        <setting-list-item style="padding: 10px 20px" type="text" title='Packets' v-model="noisePackets" placeholder="rand:5-10"></setting-list-item>
-                        <setting-list-item style="padding: 10px 20px" type="text" title='Delay' v-model="noiseDelay" placeholder="5-10"></setting-list-item>
+                        <setting-list-item style="padding: 10px 20px" type="text" title='Packet (ms)' v-model="noisePacket" placeholder="rand:5-10"></setting-list-item>
+                        <setting-list-item style="padding: 10px 20px" type="text" title='Delay (ms)' v-model="noiseDelay" placeholder="10-20"></setting-list-item>
                       </a-collapse-panel>
                     </a-collapse>
                   </a-list-item>
@@ -436,8 +436,8 @@
         settings: {
           domainStrategy: "AsIs",
           noise: {
-            packets: "rand:5-10",
-            delay: "5-10",
+            packet: "rand:5-10",
+            delay: "10-20",
           }
         },
       },
@@ -646,12 +646,12 @@
           this.allSetting.subJsonNoise = v ? JSON.stringify(this.defaultNoise) : "";
         }
       },
-      noisePackets: {
-        get: function () { return this.noise ? JSON.parse(this.allSetting.subJsonNoise).settings.noise.packets : ""; },
+      noisePacket: {
+        get: function () { return this.noise ? JSON.parse(this.allSetting.subJsonNoise).settings.noise.packet : ""; },
         set: function (v) {
           if (v != "") {
             newNoise = JSON.parse(this.allSetting.subJsonNoise);
-            newNoise.settings.noise.packets = v;
+            newNoise.settings.noise.packet = v;
             this.allSetting.subJsonNoise = JSON.stringify(newNoise);
           }
         }