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