mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-01 02:10:14 +00:00
Add view changelog strings and window
This commit is contained in:
parent
4b7b3dc4c7
commit
01b1f171fc
3 changed files with 46 additions and 3 deletions
|
@ -765,8 +765,10 @@
|
|||
"NetworkInterfaceTooltip": "The network interface used for LAN/LDN features.\n\nIn conjunction with a VPN or XLink Kai and a game with LAN support, can be used to spoof a same-network connection over the Internet.\n\nLeave on DEFAULT if unsure.",
|
||||
"NetworkInterfaceDefault": "Default",
|
||||
"PackagingShaders": "Packaging Shaders",
|
||||
"AboutChangelogButton": "View Changelog on GitHub",
|
||||
"AboutChangelogButtonTooltipMessage": "Click to open the changelog for this version in your default browser.",
|
||||
"AboutChangelogButton": "View Changelog",
|
||||
"AboutChangelogButtonTooltipMessage": "Click to view the changelog.",
|
||||
"ChangelogWindowTitle": "Changelog",
|
||||
"ChangelogDescription": "Showing the 10 most recent versions. For more changelog version history please visit Ryujinx GitHub page.",
|
||||
"SettingsTabNetworkMultiplayer": "Multiplayer",
|
||||
"MultiplayerMode": "Mode:",
|
||||
"MultiplayerModeTooltip": "Change LDN multiplayer mode.\n\nLdnMitm will modify local wireless/local play functionality in games to function as if it were LAN, allowing for local, same-network connections with other Ryujinx instances and hacked Nintendo Switch consoles that have the ldn_mitm module installed.\n\nMultiplayer requires all players to be on the same game version (i.e. Super Smash Bros. Ultimate v13.0.1 can't connect to v13.0.0).\n\nLeave DISABLED if unsure.",
|
||||
|
|
|
@ -144,7 +144,6 @@
|
|||
Background="Transparent"
|
||||
Click="Button_OnClick"
|
||||
CornerRadius="15"
|
||||
Tag="https://github.com/Ryujinx/Ryujinx"
|
||||
ToolTip.Tip="{locale:Locale AboutGithubUrlTooltipMessage}">
|
||||
<Image Source="{Binding GithubLogo}" />
|
||||
</Button>
|
||||
|
|
42
src/Ryujinx/UI/Windows/ChangelogWindow.axaml
Normal file
42
src/Ryujinx/UI/Windows/ChangelogWindow.axaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
<Window
|
||||
x:Class="Ryujinx.Ava.UI.Windows.ChangelogWindow"
|
||||
xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:locale="clr-namespace:Ryujinx.Ava.Common.Locale"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:ui="clr-namespace:FluentAvalonia.UI.Controls;assembly=FluentAvalonia"
|
||||
Width="800"
|
||||
Height="600"
|
||||
Margin="0,-12,0,0"
|
||||
d:DesignHeight="600"
|
||||
d:DesignWidth="800"
|
||||
CanResize="False"
|
||||
Focusable="True"
|
||||
mc:Ignorable="d"
|
||||
Title="{locale:Locale ChangelogWindowTitle}"
|
||||
Icon="resm:Ryujinx.UI.Common.Resources.Logo_Ryujinx.png?assembly=Ryujinx.UI.Common">
|
||||
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
||||
<StackPanel Orientation="Vertical" Margin="20">
|
||||
<!-- Localized text block -->
|
||||
<TextBlock Text="{locale:Locale ChangelogDescription}"
|
||||
TextWrapping="Wrap"
|
||||
Margin="0,0,0,20"/>
|
||||
<!-- Changelog -->
|
||||
<TextBlock x:Name="LoadingTextBlock"
|
||||
Text="Loading..."
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
IsVisible="True"/>
|
||||
<ScrollViewer HorizontalScrollBarVisibility="Disabled"
|
||||
VerticalScrollBarVisibility="Auto"
|
||||
Height="500">
|
||||
<TextBlock x:Name="ChangelogTextBlock"
|
||||
TextWrapping="Wrap"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
IsVisible="True"/>
|
||||
</ScrollViewer>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Window>
|
Loading…
Reference in a new issue