BililiveRecorder/BililiveRecorder.WPF/Pages/AboutPage.xaml

158 lines
8.2 KiB
Plaintext
Raw Permalink Normal View History

2021-05-01 00:22:27 +08:00
<ui:Page
x:Class="BililiveRecorder.WPF.Pages.AboutPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:ui="http://schemas.modernwpf.com/2019"
xmlns:l="https://github.com/XAMLMarkupExtensions/WPFLocalizationExtension"
l:LocalizeDictionary.DesignCulture=""
l:ResxLocalizationProvider.DefaultAssembly="BililiveRecorder.WPF"
l:ResxLocalizationProvider.DefaultDictionary="Strings"
xmlns:m="clr-namespace:BililiveRecorder.WPF.Models"
xmlns:s="clr-namespace:System;assembly=mscorlib"
xmlns:local="clr-namespace:BililiveRecorder.WPF.Pages"
mc:Ignorable="d"
d:DesignHeight="600" d:DesignWidth="900"
Title="AboutPage">
<Grid Margin="10" d:DataContext="{d:DesignInstance IsDesignTimeCreatable=True, Type=m:AboutModel}">
<Grid.Resources>
<!-- 忽略此处的一个 Error是 Visual Studio 的 bug -->
<!-- Ignore the following Error, caused by Visual Studio bug -->
<ResourceDictionary Source="pack://application:,,,/ModernWpf;component/DensityStyles/Compact.xaml"/>
</Grid.Resources>
<Grid.DataContext>
<m:AboutModel/>
</Grid.DataContext>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal">
<Border HorizontalAlignment="Left" Height="60" Margin="0,5,5,0">
<Image Source="pack://application:,,,/BililiveRecorder.WPF;component/ico.ico"/>
</Border>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<StackPanel.Resources>
<Style x:Key="Pinyin" TargetType="TextBlock">
<Setter Property="HorizontalAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,0,0,-6"/>
</Style>
<Style x:Key="MainText" TargetType="TextBlock">
<Setter Property="FontSize" Value="32"/>
</Style>
</StackPanel.Resources>
<StackPanel>
<TextBlock Text="mikufans" Style="{StaticResource Pinyin}"/>
<TextBlock Text="mikufans" Style="{StaticResource MainText}"/>
2021-05-01 00:22:27 +08:00
</StackPanel>
<StackPanel>
<TextBlock Text="lù" Style="{StaticResource Pinyin}"/>
<TextBlock Text="录" Style="{StaticResource MainText}"/>
</StackPanel>
<StackPanel>
<TextBlock Text="bō" Style="{StaticResource Pinyin}"/>
<TextBlock Text="播" Style="{StaticResource MainText}"/>
</StackPanel>
<StackPanel>
<TextBlock Text="jī" Style="{StaticResource Pinyin}"/>
<TextBlock Text="姬" Style="{StaticResource MainText}"/>
</StackPanel>
</StackPanel>
</StackPanel>
<StackPanel Grid.Row="1" Margin="0,10">
2021-05-08 18:29:17 +08:00
<TextBlock FontSize="16" TextWrapping="Wrap">
2021-05-01 23:18:22 +08:00
<TextBlock.Text>
<MultiBinding Converter="{l:StringFormatConverter}">
<l:BLoc Key="About_Version"/>
<Binding Path="InformationalVersion" Mode="OneWay"/>
</MultiBinding>
</TextBlock.Text>
</TextBlock>
2021-05-01 00:22:27 +08:00
<StackPanel Orientation="Horizontal">
2021-05-01 23:18:22 +08:00
<TextBlock FontSize="16" Text="{l:Loc About_Copyright}"/>
<TextBlock FontSize="16" Text=" © Genteure" x:Name="CopyrightTextBlock"/>
2021-05-01 23:18:22 +08:00
</StackPanel>
2021-05-08 18:29:17 +08:00
<TextBlock FontSize="16" TextWrapping="Wrap" Text="{l:Loc About_License}"/>
2021-05-01 23:18:22 +08:00
<StackPanel Orientation="Horizontal">
<TextBlock FontSize="16" Text="{l:Loc About_Contact}" VerticalAlignment="Center" Margin="0,0,5,0"/>
2021-05-01 00:22:27 +08:00
<ui:HyperlinkButton Padding="0" Content="rec@danmuji.org" NavigateUri="mailto:rec@danmuji.org"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
2021-05-01 23:18:22 +08:00
<TextBlock FontSize="16" Text="{l:Loc About_Website}" VerticalAlignment="Center" Margin="0,0,5,0"/>
2021-05-01 00:22:27 +08:00
<ui:HyperlinkButton Padding="0" Content="https://rec.danmuji.org" NavigateUri="https://rec.danmuji.org"/>
</StackPanel>
<StackPanel Orientation="Horizontal">
2021-05-01 23:18:22 +08:00
<TextBlock FontSize="16" Text="{l:Loc About_Project}" VerticalAlignment="Center" Margin="0,0,5,0"/>
2022-06-07 18:35:46 +08:00
<ui:HyperlinkButton Padding="0" Content="https://github.com/BililiveRecorder/BililiveRecorder" NavigateUri="https://github.com/BililiveRecorder/BililiveRecorder"/>
2021-05-01 00:22:27 +08:00
</StackPanel>
</StackPanel>
<Grid Grid.Row="2">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
2021-05-01 23:18:22 +08:00
<TextBlock Text="{l:Loc About_Translator}" FontSize="22"/>
2021-05-01 00:22:27 +08:00
<ListView Grid.Row="1">
<ListView.Items>
2021-05-11 20:24:47 +08:00
<Label Content="Dewei Li (deweili)"/>
<Label Content="Fox Older (olderfox)"/>
<Label Content="Genteure (genteure)"/>
<Label Content="Heongle (heongle)"/>
<Label Content="kafu (kafu0611)"/>
<Label Content="Kenneth (w41k3r15347)"/>
<Label Content="OrangeCat (dust0517)"/>
<Label Content="Vincent Tse (vincentkilua)"/>
2021-05-01 00:22:27 +08:00
</ListView.Items>
</ListView>
</Grid>
<Grid Grid.Row="3">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
2021-05-01 23:18:22 +08:00
<TextBlock Text="{l:Loc About_LibrariesUsed}" FontSize="22"/>
2021-05-01 00:22:27 +08:00
<ListView Grid.Row="1">
<ListView.Items>
2021-11-20 15:02:50 +08:00
<Label Content="CliWrap"/>
<Label Content="FastHashes"/>
<Label Content="GitVersion.MsBuild"/>
2021-05-03 17:49:25 +08:00
<Label Content="Hardcodet.NotifyIcon.Wpf"/>
<Label Content="HierarchicalPropertyDefault"/>
<Label Content="JsonSubTypes"/>
<Label Content="Microsoft.Bcl.HashCode"/>
<Label Content="Microsoft.Extensions.DependencyInjection"/>
<Label Content="Microsoft.Extensions.DependencyInjection.Abstractions"/>
<Label Content="Microsoft.IO.RecyclableMemoryStream"/>
<Label Content="ModernWpfUI"/>
<Label Content="Nerdbank.Streams"/>
<Label Content="Newtonsoft.Json"/>
<Label Content="Nullable"/>
<Label Content="Polly"/>
<Label Content="Polly.Caching.Memory"/>
<Label Content="Sentry"/>
<Label Content="Sentry.Serilog"/>
<Label Content="Serilog"/>
<Label Content="Serilog.Enrichers.Process"/>
<Label Content="Serilog.Enrichers.Thread"/>
<Label Content="Serilog.Exceptions"/>
<Label Content="Serilog.Formatting.Compact"/>
<Label Content="Serilog.Sinks.Console"/>
<Label Content="Serilog.Sinks.Debug"/>
<Label Content="Serilog.Sinks.File"/>
<Label Content="squirrel.windows"/>
<Label Content="StructLinq"/>
<Label Content="System.CommandLine"/>
<Label Content="System.IO.Pipeline"/>
<Label Content="System.Memory"/>
<Label Content="WindowsAPICodePack-Core"/>
<Label Content="WindowsAPICodePack-Shell"/>
<Label Content="WPFLocalizeExtension"/>
2021-05-01 00:22:27 +08:00
</ListView.Items>
</ListView>
</Grid>
</Grid>
</ui:Page>