Skip to content

Commit

Permalink
Add total status note
Browse files Browse the repository at this point in the history
  • Loading branch information
KodamaSakuno committed Mar 7, 2024
1 parent ff6e4f5 commit 4c89c49
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/HeavenlyWind.Base/Resources/Strings/English.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ The current version can't handle this problem. To mute/unmute, please do it with
<String Key="Overview_ActiveQuest_NotLoaded">Active quests not loaded</String>

<String Key="Fleet_TotalStatus">Total</String>
<String Key="Fleet_TotalStatus_Note">※ Sum of displayed stats</String>
<String Key="Fleet_Total_Level">Total Lv</String>
<String Key="Fleet_Total_Firepower">Total FP</String>
<String Key="Fleet_Total_AA">Total AA</String>
Expand Down
1 change: 1 addition & 0 deletions src/HeavenlyWind.Base/Resources/Strings/Japanese.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@
<String Key="Overview_ActiveQuest_NotLoaded">遂行中の任務未取得</String>

<String Key="Fleet_TotalStatus">合計値</String>
<String Key="Fleet_TotalStatus_Note">※ 改装でステータス表示の合計値</String>
<String Key="Fleet_Total_Level">Lv合計</String>
<String Key="Fleet_Total_Firepower">火力合計</String>
<String Key="Fleet_Total_AA">対空合計</String>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
<String Key="Overview_ActiveQuest_NotLoaded">未获取执行中的任务</String>

<String Key="Fleet_TotalStatus">总属性值</String>
<String Key="Fleet_TotalStatus_Note">※ 面板值总和,不算改修</String>
<String Key="Fleet_Total_Level">总等级</String>
<String Key="Fleet_Total_Firepower">总火力</String>
<String Key="Fleet_Total_AA">总对空</String>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
<String Key="Overview_ActiveQuest_NotLoaded">未獲取執行中的任務</String>

<String Key="Fleet_TotalStatus">總屬性值</String>
<String Key="Fleet_TotalStatus_Note">※ 面板值總和,不算改修</String>
<String Key="Fleet_Total_Level">總等級</String>
<String Key="Fleet_Total_Firepower">總火力</String>
<String Key="Fleet_Total_AA">總對空</String>
Expand Down
1 change: 1 addition & 0 deletions src/HeavenlyWind.Base/StringResources.Items.cs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ partial class StringResourcesItems
public string Overview_ActiveQuest_NotLoaded => GetString(nameof(Overview_ActiveQuest_NotLoaded));

public string Fleet_TotalStatus => GetString(nameof(Fleet_TotalStatus));
public string Fleet_TotalStatus_Note => GetString(nameof(Fleet_TotalStatus_Note));
public string Fleet_Total_Level => GetString(nameof(Fleet_Total_Level));
public string Fleet_Total_Firepower => GetString(nameof(Fleet_Total_Firepower));
public string Fleet_Total_AA => GetString(nameof(Fleet_Total_AA));
Expand Down
6 changes: 5 additions & 1 deletion src/HeavenlyWind/Views/Game/FleetTotalStatusPresenter.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@
</ruic:DropDownButton.Header>

<Border Background="{DynamicResource BackgroundBrushKey}">
<ItemsPresenter />
<StackPanel>
<ItemsPresenter />

<TextBlock Text="{rb:StringResource Main.Fleet_TotalStatus_Note}" FontWeight="Bold" Margin="4, 2" />
</StackPanel>
</Border>
</ruic:DropDownButton>
</ControlTemplate>
Expand Down

0 comments on commit 4c89c49

Please sign in to comment.