Skip to content

Commit

Permalink
Split title & section description in XAML
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryotechnic committed Aug 18, 2024
1 parent 7ebe568 commit 26b38b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@
<TextBlock MinWidth="200"
Margin="0,8,0,0"
Style="{ThemeResource BodyStrongTextBlockStyle}"
Text="Test" /><!-- Text="{x:Bind helper:Locale.Lang._HomePage.GameSettings_Panel3}" /> -->
Text="{x:Bind helper:Locale.Lang._HomePage.GameSettings_Panel3CustomBGRegionSectionTitle}" />
<ToggleSwitch Margin="0,0,0,8"
x:Name="UseCustomBGParamsSwitch"
IsOn="{x:Bind UseCustomBGRegion, Mode=TwoWay}"
Expand Down
1 change: 1 addition & 0 deletions Hi3Helper.Core/Lang/Locale/LangHomePage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public sealed class LangHomePage
public string GameSettings_Panel2StopGame { get; set; } = LangFallback?._HomePage.GameSettings_Panel2StopGame;
public string GameSettings_Panel3 { get; set; } = LangFallback?._HomePage.GameSettings_Panel3;
public string GameSettings_Panel3CustomBGRegion { get; set; } = LangFallback?._HomePage.GameSettings_Panel3CustomBGRegion;
public string GameSettings_Panel3CustomBGRegionSectionTitle { get; set; } = LangFallback?._HomePage.GameSettings_Panel3CustomBGRegionSectionTitle;
public string GameSettings_Panel4 { get; set; } = LangFallback?._HomePage.GameSettings_Panel4;
public string GameSettings_Panel4ShowEventsPanel { get; set; } = LangFallback?._HomePage.GameSettings_Panel4ShowEventsPanel;
public string GameSettings_Panel4ShowSocialMediaPanel { get; set; } = LangFallback?._HomePage.GameSettings_Panel4ShowSocialMediaPanel;
Expand Down
3 changes: 2 additions & 1 deletion Hi3Helper.Core/Lang/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@
"GameSettings_Panel2MoveGameLocationGame": "Move Game Location",
"GameSettings_Panel2StopGame": "Force Close Game",
"GameSettings_Panel3": "Custom Start-up Args",
"GameSettings_Panel3CustomBGRegion": "Use Custom Background for Region",
"GameSettings_Panel3CustomBGRegion": "Change region background",
"GameSettings_Panel3CustomBGRegionSectionTitle": "Custom Background for Region",
"GameSettings_Panel4": "Miscellaneous",
"GameSettings_Panel4ShowEventsPanel": "Show Events Panel",
"GameSettings_Panel4ShowSocialMediaPanel": "Show Social Media Panel",
Expand Down

0 comments on commit 26b38b5

Please sign in to comment.