Add Memo attribute to subscription group
https://github.com/2dust/v2rayN/issues/5981
This commit is contained in:
@@ -1358,6 +1358,7 @@ namespace ServiceLib.Handler
|
||||
item.PrevProfile = subItem.PrevProfile;
|
||||
item.NextProfile = subItem.NextProfile;
|
||||
item.PreSocksPort = subItem.PreSocksPort;
|
||||
item.Memo = subItem.Memo;
|
||||
}
|
||||
|
||||
if (Utils.IsNullOrEmpty(item.Id))
|
||||
|
||||
@@ -33,5 +33,7 @@ namespace ServiceLib.Models
|
||||
public string? NextProfile { get; set; }
|
||||
|
||||
public int? PreSocksPort { get; set; }
|
||||
|
||||
public string? Memo { get; set; }
|
||||
}
|
||||
}
|
||||
9
v2rayN/ServiceLib/Resx/ResUI.Designer.cs
generated
9
v2rayN/ServiceLib/Resx/ResUI.Designer.cs
generated
@@ -447,6 +447,15 @@ namespace ServiceLib.Resx {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 Remarks Memo 的本地化字符串。
|
||||
/// </summary>
|
||||
public static string LvMemo {
|
||||
get {
|
||||
return ResourceManager.GetString("LvMemo", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 More URLs, separated by commas; Subscription conversion will be invalid 的本地化字符串。
|
||||
/// </summary>
|
||||
|
||||
@@ -1366,4 +1366,7 @@
|
||||
<data name="menuExitTips" xml:space="preserve">
|
||||
<value>Are you sure to exit?</value>
|
||||
</data>
|
||||
<data name="LvMemo" xml:space="preserve">
|
||||
<value>Remarks Memo</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1363,4 +1363,7 @@
|
||||
<data name="menuExitTips" xml:space="preserve">
|
||||
<value>是否确定退出?</value>
|
||||
</data>
|
||||
<data name="LvMemo" xml:space="preserve">
|
||||
<value>备注备忘</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1243,4 +1243,7 @@
|
||||
<data name="menuExitTips" xml:space="preserve">
|
||||
<value>是否確定退出?</value>
|
||||
</data>
|
||||
<data name="LvMemo" xml:space="preserve">
|
||||
<value>備註備忘</value>
|
||||
</data>
|
||||
</root>
|
||||
Reference in New Issue
Block a user