Fix res and uri

This commit is contained in:
DHR60 2026-05-09 22:05:40 +08:00
parent da8427dc70
commit d50c0dfc6a
7 changed files with 10 additions and 7 deletions

View file

@ -230,6 +230,9 @@ public class InnerFmt
jsonObj["TransportExtraObj"] = transportExtraObj; jsonObj["TransportExtraObj"] = transportExtraObj;
jsonObj.Remove("TransportExtra"); jsonObj.Remove("TransportExtra");
} }
// remove subid and isSub
jsonObj.Remove("Subid");
jsonObj.Remove("IsSub");
// Remove empty properties to reduce the length of the exported string // Remove empty properties to reduce the length of the exported string
RemoveEmptyJson(jsonObj); RemoveEmptyJson(jsonObj);
var jsonStr = JsonUtils.Serialize(jsonObj, false); var jsonStr = JsonUtils.Serialize(jsonObj, false);

View file

@ -3718,7 +3718,7 @@ namespace ServiceLib.Resx {
} }
/// <summary> /// <summary>
/// 查找类似 For multi-interface environments, enter the name of the interface to bind. Only effective on Windows systems and TUN mode 的本地化字符串。 /// 查找类似 For multi-interface environments, enter the name of the interface to bind. Only effective on Windows systems or TUN mode 的本地化字符串。
/// </summary> /// </summary>
public static string TbSettingsBindInterfaceTip { public static string TbSettingsBindInterfaceTip {
get { get {

View file

@ -1723,7 +1723,7 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if
<value>Bind Interface</value> <value>Bind Interface</value>
</data> </data>
<data name="TbSettingsBindInterfaceTip" xml:space="preserve"> <data name="TbSettingsBindInterfaceTip" xml:space="preserve">
<value>For multi-interface environments, enter the name of the interface to bind. Only effective on Windows systems and TUN mode</value> <value>For multi-interface environments, enter the name of the interface to bind. Only effective on Windows systems or TUN mode</value>
</data> </data>
<data name="TbPreSharedKey" xml:space="preserve"> <data name="TbPreSharedKey" xml:space="preserve">
<value>PreSharedKey</value> <value>PreSharedKey</value>

View file

@ -1723,7 +1723,7 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if
<value>Bind Interface</value> <value>Bind Interface</value>
</data> </data>
<data name="TbSettingsBindInterfaceTip" xml:space="preserve"> <data name="TbSettingsBindInterfaceTip" xml:space="preserve">
<value>For multi-interface environments, enter the name of the interface to bind. Only effective on Windows systems and TUN mode</value> <value>For multi-interface environments, enter the name of the interface to bind. Only effective on Windows systems or TUN mode</value>
</data> </data>
<data name="TbPreSharedKey" xml:space="preserve"> <data name="TbPreSharedKey" xml:space="preserve">
<value>PreSharedKey</value> <value>PreSharedKey</value>

View file

@ -1723,7 +1723,7 @@ The "Get Certificate" action may fail if a self-signed certificate is used or if
<value>Bind Interface</value> <value>Bind Interface</value>
</data> </data>
<data name="TbSettingsBindInterfaceTip" xml:space="preserve"> <data name="TbSettingsBindInterfaceTip" xml:space="preserve">
<value>For multi-interface environments, enter the name of the interface to bind. Only effective on Windows systems and TUN mode</value> <value>For multi-interface environments, enter the name of the interface to bind. Only effective on Windows systems or TUN mode</value>
</data> </data>
<data name="TbPreSharedKey" xml:space="preserve"> <data name="TbPreSharedKey" xml:space="preserve">
<value>PreSharedKey</value> <value>PreSharedKey</value>

View file

@ -1720,7 +1720,7 @@
<value>绑定网口</value> <value>绑定网口</value>
</data> </data>
<data name="TbSettingsBindInterfaceTip" xml:space="preserve"> <data name="TbSettingsBindInterfaceTip" xml:space="preserve">
<value>用于多网口环境,填写要绑定的网口名称,仅生效于 Windows 系统 TUN 模式</value> <value>用于多网口环境,填写要绑定的网口名称,仅生效于 Windows 系统 TUN 模式</value>
</data> </data>
<data name="TbPreSharedKey" xml:space="preserve"> <data name="TbPreSharedKey" xml:space="preserve">
<value>PreSharedKey</value> <value>PreSharedKey</value>

View file

@ -1720,7 +1720,7 @@
<value>綁定網路介面</value> <value>綁定網路介面</value>
</data> </data>
<data name="TbSettingsBindInterfaceTip" xml:space="preserve"> <data name="TbSettingsBindInterfaceTip" xml:space="preserve">
<value>適用於多網路介面環境請填寫要綁定的介面名稱Windows 系統有效,其他系統僅在 TUN 模式下生效</value> <value>適用於多網路介面環境請填寫要綁定的介面名稱Windows 系統有效,其他系統僅在 TUN 模式下生效</value>
</data> </data>
<data name="TbPreSharedKey" xml:space="preserve"> <data name="TbPreSharedKey" xml:space="preserve">
<value>PreSharedKey</value> <value>PreSharedKey</value>