mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
WPF: Add links menu item
This commit is contained in:
parent
9c33d64734
commit
b09aca1bee
|
@ -71,8 +71,22 @@
|
|||
<MenuItem Header="{l:Loc RoomListPage_Menu_AutoRecord_EnableAll}" Click="MenuItem_EnableAutoRecAll_Click"/>
|
||||
<MenuItem Header="{l:Loc RoomListPage_Menu_AutoRecord_DisableAll}" Click="MenuItem_DisableAutoRecAll_Click"/>
|
||||
</MenuItem>
|
||||
<MenuItem Header="赞助">
|
||||
<MenuItem Header="打开赞助页" Command="{x:Static m:Commands.OpenLink}" CommandParameter="https://rec.danmuji.org/link/sponsor/"/>
|
||||
<MenuItem Header="{l:Loc RoomListPage_Menu_Links}">
|
||||
<MenuItem Header="{l:Loc RoomListPage_Menu_Links_Website}" Command="{x:Static m:Commands.OpenLink}" CommandParameter="https://rec.danmuji.org/">
|
||||
<MenuItem.Icon>
|
||||
<ui:PathIcon Style="{StaticResource PathIconDataOpenInNew}"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Header="{l:Loc RoomListPage_Menu_Links_FAQ}" Command="{x:Static m:Commands.OpenLink}" CommandParameter="https://rec.danmuji.org/link/faq/">
|
||||
<MenuItem.Icon>
|
||||
<ui:PathIcon Style="{StaticResource PathIconDataOpenInNew}"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
<MenuItem Header="{l:Loc RoomListPage_Menu_Links_Sponsor}" Command="{x:Static m:Commands.OpenLink}" CommandParameter="https://rec.danmuji.org/link/sponsor/">
|
||||
<MenuItem.Icon>
|
||||
<ui:PathIcon Style="{StaticResource PathIconDataOpenInNew}"/>
|
||||
</MenuItem.Icon>
|
||||
</MenuItem>
|
||||
</MenuItem>
|
||||
</Menu>
|
||||
<Separator/>
|
||||
|
|
36
BililiveRecorder.WPF/Properties/Strings.Designer.cs
generated
36
BililiveRecorder.WPF/Properties/Strings.Designer.cs
generated
|
@ -649,6 +649,42 @@ namespace BililiveRecorder.WPF.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 链接.
|
||||
/// </summary>
|
||||
public static string RoomListPage_Menu_Links {
|
||||
get {
|
||||
return ResourceManager.GetString("RoomListPage_Menu_Links", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 常见问题.
|
||||
/// </summary>
|
||||
public static string RoomListPage_Menu_Links_FAQ {
|
||||
get {
|
||||
return ResourceManager.GetString("RoomListPage_Menu_Links_FAQ", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 赞助.
|
||||
/// </summary>
|
||||
public static string RoomListPage_Menu_Links_Sponsor {
|
||||
get {
|
||||
return ResourceManager.GetString("RoomListPage_Menu_Links_Sponsor", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 网站.
|
||||
/// </summary>
|
||||
public static string RoomListPage_Menu_Links_Website {
|
||||
get {
|
||||
return ResourceManager.GetString("RoomListPage_Menu_Links_Website", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to 不排序.
|
||||
/// </summary>
|
||||
|
|
|
@ -308,6 +308,18 @@
|
|||
<data name="RoomListPage_Menu_File_SaveConfig" xml:space="preserve">
|
||||
<value>保存设置</value>
|
||||
</data>
|
||||
<data name="RoomListPage_Menu_Links" xml:space="preserve">
|
||||
<value>链接</value>
|
||||
</data>
|
||||
<data name="RoomListPage_Menu_Links_FAQ" xml:space="preserve">
|
||||
<value>常见问题</value>
|
||||
</data>
|
||||
<data name="RoomListPage_Menu_Links_Sponsor" xml:space="preserve">
|
||||
<value>赞助</value>
|
||||
</data>
|
||||
<data name="RoomListPage_Menu_Links_Website" xml:space="preserve">
|
||||
<value>网站</value>
|
||||
</data>
|
||||
<data name="RoomListPage_Menu_Sort_Default" xml:space="preserve">
|
||||
<value>不排序</value>
|
||||
</data>
|
||||
|
|
Loading…
Reference in New Issue
Block a user