mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-16 16:30:00 +05:00
Routing rule add custom icon
This commit is contained in:
@@ -147,6 +147,7 @@ namespace v2rayN.Forms
|
|||||||
lvRoutings.Columns.Add(UIRes.I18N("LvAlias"), 200);
|
lvRoutings.Columns.Add(UIRes.I18N("LvAlias"), 200);
|
||||||
lvRoutings.Columns.Add(UIRes.I18N("LvCount"), 60);
|
lvRoutings.Columns.Add(UIRes.I18N("LvCount"), 60);
|
||||||
lvRoutings.Columns.Add(UIRes.I18N("LvUrl"), 240);
|
lvRoutings.Columns.Add(UIRes.I18N("LvUrl"), 240);
|
||||||
|
lvRoutings.Columns.Add(UIRes.I18N("LvCustomIcon"), 240);
|
||||||
|
|
||||||
lvRoutings.EndUpdate();
|
lvRoutings.EndUpdate();
|
||||||
}
|
}
|
||||||
@@ -174,6 +175,7 @@ namespace v2rayN.Forms
|
|||||||
Utils.AddSubItem(lvItem, "remarks", item.remarks);
|
Utils.AddSubItem(lvItem, "remarks", item.remarks);
|
||||||
Utils.AddSubItem(lvItem, "count", item.rules.Count.ToString());
|
Utils.AddSubItem(lvItem, "count", item.rules.Count.ToString());
|
||||||
Utils.AddSubItem(lvItem, "url", item.url);
|
Utils.AddSubItem(lvItem, "url", item.url);
|
||||||
|
Utils.AddSubItem(lvItem, "customIcon", item.customIcon);
|
||||||
|
|
||||||
if (lvItem != null) lvRoutings.Items.Add(lvItem);
|
if (lvItem != null) lvRoutings.Items.Add(lvItem);
|
||||||
}
|
}
|
||||||
|
|||||||
9
v2rayN/v2rayN/Resx/ResUI.Designer.cs
generated
9
v2rayN/v2rayN/Resx/ResUI.Designer.cs
generated
@@ -330,6 +330,15 @@ namespace v2rayN.Resx {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 查找类似 Custom Icon 的本地化字符串。
|
||||||
|
/// </summary>
|
||||||
|
internal static string LvCustomIcon {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("LvCustomIcon", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 查找类似 Security 的本地化字符串。
|
/// 查找类似 Security 的本地化字符串。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -394,4 +394,7 @@
|
|||||||
<data name="MsgInformationTitle" xml:space="preserve">
|
<data name="MsgInformationTitle" xml:space="preserve">
|
||||||
<value>Informations (Filter : {0})</value>
|
<value>Informations (Filter : {0})</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="LvCustomIcon" xml:space="preserve">
|
||||||
|
<value>Custom Icon</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@@ -394,4 +394,7 @@
|
|||||||
<data name="MsgInformationTitle" xml:space="preserve">
|
<data name="MsgInformationTitle" xml:space="preserve">
|
||||||
<value>信息 (过滤器 : {0})</value>
|
<value>信息 (过滤器 : {0})</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="LvCustomIcon" xml:space="preserve">
|
||||||
|
<value>自定义图标</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
Reference in New Issue
Block a user