locale zh-cn phase 2

This commit is contained in:
DismissedLight
2023-02-02 20:48:48 +08:00
parent 47708adc83
commit 24f09861fd
5 changed files with 460 additions and 45 deletions

View File

@@ -663,6 +663,15 @@ namespace Snap.Hutao.Resource.Localization {
}
}
/// <summary>
/// 查找类似 我的角色 的本地化字符串。
/// </summary>
internal static string ViewAvatarPropertyHeader {
get {
return ResourceManager.GetString("ViewAvatarPropertyHeader", resourceCulture);
}
}
/// <summary>
/// 查找类似 加载中,请稍候 的本地化字符串。
/// </summary>
@@ -1166,5 +1175,311 @@ namespace Snap.Hutao.Resource.Localization {
return ResourceManager.GetString("ViewPageAchievementSortIncompletedItemsFirst", resourceCulture);
}
}
/// <summary>
/// 查找类似 活动公告 的本地化字符串。
/// </summary>
internal static string ViewPageAnnouncementActivity {
get {
return ResourceManager.GetString("ViewPageAnnouncementActivity", resourceCulture);
}
}
/// <summary>
/// 查找类似 游戏公告 的本地化字符串。
/// </summary>
internal static string ViewPageAnnouncementGame {
get {
return ResourceManager.GetString("ViewPageAnnouncementGame", resourceCulture);
}
}
/// <summary>
/// 查找类似 圣遗物评分 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyArtifactScore {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyArtifactScore", resourceCulture);
}
}
/// <summary>
/// 查找类似 双暴评分 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyCritScore {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyCritScore", resourceCulture);
}
}
/// <summary>
/// 查找类似 尚未获取任何角色信息 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyDefaultDescription {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyDefaultDescription", resourceCulture);
}
}
/// <summary>
/// 查找类似 导出图片 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyExportAsImage {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyExportAsImage", resourceCulture);
}
}
/// <summary>
/// 查找类似 角色属性 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyHeader {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyHeader", resourceCulture);
}
}
/// <summary>
/// 查找类似 初始词条 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyPrimaryProperties {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyPrimaryProperties", resourceCulture);
}
}
/// <summary>
/// 查找类似 同步 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyRefreshAction {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyRefreshAction", resourceCulture);
}
}
/// <summary>
/// 查找类似 从 Enka API 同步 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyRefreshFromEnkaApi {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromEnkaApi", resourceCulture);
}
}
/// <summary>
/// 查找类似 同步游戏内角色橱窗中的信息 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyRefreshFromEnkaApiDescription {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromEnkaApiDescription", resourceCulture);
}
}
/// <summary>
/// 查找类似 从米游社养成计算同步 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyRefreshFromHoyolabCalculate {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromHoyolabCalculate", resourceCulture);
}
}
/// <summary>
/// 查找类似 同步角色天赋信息 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyRefreshFromHoyolabCalculateDescription {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromHoyolabCalculateDescription", resourceCulture);
}
}
/// <summary>
/// 查找类似 从米游社我的角色同步 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyRefreshFromHoyolabGameRecord {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromHoyolabGameRecord", resourceCulture);
}
}
/// <summary>
/// 查找类似 同步角色天赋外的大部分信息 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyRefreshFromHoyolabGameRecordDescription {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromHoyolabGameRecordDescription", resourceCulture);
}
}
/// <summary>
/// 查找类似 评分 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertyScore {
get {
return ResourceManager.GetString("ViewPageAvatarPropertyScore", resourceCulture);
}
}
/// <summary>
/// 查找类似 强化词条 的本地化字符串。
/// </summary>
internal static string ViewPageAvatarPropertySecondaryProperties {
get {
return ResourceManager.GetString("ViewPageAvatarPropertySecondaryProperties", resourceCulture);
}
}
/// <summary>
/// 查找类似 养成计算 的本地化字符串。
/// </summary>
internal static string ViewPageCultivateCalculate {
get {
return ResourceManager.GetString("ViewPageCultivateCalculate", resourceCulture);
}
}
/// <summary>
/// 查找类似 新建 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationAddAction {
get {
return ResourceManager.GetString("ViewPageCultivationAddAction", resourceCulture);
}
}
/// <summary>
/// 查找类似 新建计划 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationAddProject {
get {
return ResourceManager.GetString("ViewPageCultivationAddProject", resourceCulture);
}
}
/// <summary>
/// 查找类似 新建养成计划以继续 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationAddProjectContinue {
get {
return ResourceManager.GetString("ViewPageCultivationAddProjectContinue", resourceCulture);
}
}
/// <summary>
/// 查找类似 稍后可以前往其他页面添加养成计划项 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationAddProjectDescription {
get {
return ResourceManager.GetString("ViewPageCultivationAddProjectDescription", resourceCulture);
}
}
/// <summary>
/// 查找类似 添加我的角色与武器到养成计划 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationAvatarPropertyDescription {
get {
return ResourceManager.GetString("ViewPageCultivationAvatarPropertyDescription", resourceCulture);
}
}
/// <summary>
/// 查找类似 养成物品 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationCultivateEntry {
get {
return ResourceManager.GetString("ViewPageCultivationCultivateEntry", resourceCulture);
}
}
/// <summary>
/// 查找类似 背包物品 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationInventoryItem {
get {
return ResourceManager.GetString("ViewPageCultivationInventoryItem", resourceCulture);
}
}
/// <summary>
/// 查找类似 材料清单 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationMaterialList {
get {
return ResourceManager.GetString("ViewPageCultivationMaterialList", resourceCulture);
}
}
/// <summary>
/// 查找类似 材料统计 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationMaterialStatistics {
get {
return ResourceManager.GetString("ViewPageCultivationMaterialStatistics", resourceCulture);
}
}
/// <summary>
/// 查找类似 前往 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationNavigateAction {
get {
return ResourceManager.GetString("ViewPageCultivationNavigateAction", resourceCulture);
}
}
/// <summary>
/// 查找类似 删除清单 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationRemoveEntry {
get {
return ResourceManager.GetString("ViewPageCultivationRemoveEntry", resourceCulture);
}
}
/// <summary>
/// 查找类似 删除当前计划 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationRemoveProject {
get {
return ResourceManager.GetString("ViewPageCultivationRemoveProject", resourceCulture);
}
}
/// <summary>
/// 查找类似 添加任意角色到养成计划 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationWikiAvatarDescription {
get {
return ResourceManager.GetString("ViewPageCultivationWikiAvatarDescription", resourceCulture);
}
}
/// <summary>
/// 查找类似 添加任意武器到养成计划 的本地化字符串。
/// </summary>
internal static string ViewPageCultivationWikiWeaponDescription {
get {
return ResourceManager.GetString("ViewPageCultivationWikiWeaponDescription", resourceCulture);
}
}
/// <summary>
/// 查找类似 角色资料 的本地化字符串。
/// </summary>
internal static string ViewWikiAvatarHeader {
get {
return ResourceManager.GetString("ViewWikiAvatarHeader", resourceCulture);
}
}
/// <summary>
/// 查找类似 武器资料 的本地化字符串。
/// </summary>
internal static string ViewWikiWeaponHeader {
get {
return ResourceManager.GetString("ViewWikiWeaponHeader", resourceCulture);
}
}
}
}

View File

@@ -318,6 +318,9 @@
<data name="ServiceUserProcessCookieRequestUserInfoFailed" xml:space="preserve">
<value>输入的 Cookie 无法获取用户信息</value>
</data>
<data name="ViewAvatarPropertyHeader" xml:space="preserve">
<value>我的角色</value>
</data>
<data name="ViewControlLoadingText" xml:space="preserve">
<value>加载中,请稍候</value>
</data>
@@ -486,4 +489,106 @@
<data name="ViewPageAchievementSortIncompletedItemsFirst" xml:space="preserve">
<value>优先未完成</value>
</data>
<data name="ViewPageAnnouncementActivity" xml:space="preserve">
<value>活动公告</value>
</data>
<data name="ViewPageAnnouncementGame" xml:space="preserve">
<value>游戏公告</value>
</data>
<data name="ViewPageAvatarPropertyArtifactScore" xml:space="preserve">
<value>圣遗物评分</value>
</data>
<data name="ViewPageAvatarPropertyCritScore" xml:space="preserve">
<value>双暴评分</value>
</data>
<data name="ViewPageAvatarPropertyDefaultDescription" xml:space="preserve">
<value>尚未获取任何角色信息</value>
</data>
<data name="ViewPageAvatarPropertyExportAsImage" xml:space="preserve">
<value>导出图片</value>
</data>
<data name="ViewPageAvatarPropertyHeader" xml:space="preserve">
<value>角色属性</value>
</data>
<data name="ViewPageAvatarPropertyPrimaryProperties" xml:space="preserve">
<value>初始词条</value>
</data>
<data name="ViewPageAvatarPropertyRefreshAction" xml:space="preserve">
<value>同步</value>
</data>
<data name="ViewPageAvatarPropertyRefreshFromEnkaApi" xml:space="preserve">
<value>从 Enka API 同步</value>
</data>
<data name="ViewPageAvatarPropertyRefreshFromEnkaApiDescription" xml:space="preserve">
<value>同步游戏内角色橱窗中的信息</value>
</data>
<data name="ViewPageAvatarPropertyRefreshFromHoyolabCalculate" xml:space="preserve">
<value>从米游社养成计算同步</value>
</data>
<data name="ViewPageAvatarPropertyRefreshFromHoyolabCalculateDescription" xml:space="preserve">
<value>同步角色天赋信息</value>
</data>
<data name="ViewPageAvatarPropertyRefreshFromHoyolabGameRecord" xml:space="preserve">
<value>从米游社我的角色同步</value>
</data>
<data name="ViewPageAvatarPropertyRefreshFromHoyolabGameRecordDescription" xml:space="preserve">
<value>同步角色天赋外的大部分信息</value>
</data>
<data name="ViewPageAvatarPropertyScore" xml:space="preserve">
<value>评分</value>
</data>
<data name="ViewPageAvatarPropertySecondaryProperties" xml:space="preserve">
<value>强化词条</value>
</data>
<data name="ViewPageCultivateCalculate" xml:space="preserve">
<value>养成计算</value>
</data>
<data name="ViewPageCultivationAddAction" xml:space="preserve">
<value>新建</value>
</data>
<data name="ViewPageCultivationAddProject" xml:space="preserve">
<value>新建计划</value>
</data>
<data name="ViewPageCultivationAddProjectContinue" xml:space="preserve">
<value>新建养成计划以继续</value>
</data>
<data name="ViewPageCultivationAddProjectDescription" xml:space="preserve">
<value>稍后可以前往其他页面添加养成计划项</value>
</data>
<data name="ViewPageCultivationAvatarPropertyDescription" xml:space="preserve">
<value>添加我的角色与武器到养成计划</value>
</data>
<data name="ViewPageCultivationCultivateEntry" xml:space="preserve">
<value>养成物品</value>
</data>
<data name="ViewPageCultivationInventoryItem" xml:space="preserve">
<value>背包物品</value>
</data>
<data name="ViewPageCultivationMaterialList" xml:space="preserve">
<value>材料清单</value>
</data>
<data name="ViewPageCultivationMaterialStatistics" xml:space="preserve">
<value>材料统计</value>
</data>
<data name="ViewPageCultivationNavigateAction" xml:space="preserve">
<value>前往</value>
</data>
<data name="ViewPageCultivationRemoveEntry" xml:space="preserve">
<value>删除清单</value>
</data>
<data name="ViewPageCultivationRemoveProject" xml:space="preserve">
<value>删除当前计划</value>
</data>
<data name="ViewPageCultivationWikiAvatarDescription" xml:space="preserve">
<value>添加任意角色到养成计划</value>
</data>
<data name="ViewPageCultivationWikiWeaponDescription" xml:space="preserve">
<value>添加任意武器到养成计划</value>
</data>
<data name="ViewWikiAvatarHeader" xml:space="preserve">
<value>角色资料</value>
</data>
<data name="ViewWikiWeaponHeader" xml:space="preserve">
<value>武器资料</value>
</data>
</root>

View File

@@ -14,6 +14,7 @@
xmlns:shca="using:Snap.Hutao.Control.Animation"
xmlns:shcb="using:Snap.Hutao.Control.Behavior"
xmlns:shci="using:Snap.Hutao.Control.Image"
xmlns:shcm="using:Snap.Hutao.Control.Markup"
xmlns:shv="using:Snap.Hutao.ViewModel"
xmlns:shvc="using:Snap.Hutao.View.Control"
d:DataContext="{d:DesignInstance shv:AnnouncementViewModel}"
@@ -164,11 +165,11 @@
<PivotItem
Content="{Binding Announcement.List[0]}"
ContentTemplate="{StaticResource AnnouncementTemplate}"
Header="活动公告"/>
Header="{shcm:ResourceString Name=ViewPageAnnouncementActivity}"/>
<PivotItem
Content="{Binding Announcement.List[1]}"
ContentTemplate="{StaticResource AnnouncementTemplate}"
Header="游戏公告"/>
Header="{shcm:ResourceString Name=ViewPageAnnouncementGame}"/>
</Pivot>
</StackPanel>
</ScrollViewer>

View File

@@ -45,12 +45,6 @@
<CommandBar Background="{StaticResource CardBackgroundFillColorSecondaryBrush}" DefaultLabelPosition="Right">
<CommandBar.Content>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="240"/>
<ColumnDefinition Width="72"/>
<ColumnDefinition Width="72"/>
</Grid.ColumnDefinitions>
<shcp:PanelSelector x:Name="ItemsPanelSelector" Margin="6,6,0,0"/>
</Grid>
</CommandBar.Content>
@@ -58,19 +52,19 @@
Command="{Binding ExportAsImageCommand}"
CommandParameter="{Binding ElementName=ImageExportPanel}"
Icon="{shcm:FontIcon Glyph=&#xE91B;}"
Label="导出图片"/>
Label="{shcm:ResourceString Name=ViewPageAvatarPropertyExportAsImage}"/>
<AppBarButton
Command="{Binding CultivateCommand}"
CommandParameter="{Binding SelectedAvatar}"
Icon="{shcm:FontIcon Glyph=&#xE8EF;}"
Label="养成计算"/>
Label="{shcm:ResourceString Name=ViewPageCultivateCalculate}"/>
<AppBarSeparator/>
<AppBarButton Icon="{shcm:FontIcon Glyph=&#xE72C;}" Label="同步角色信息">
<AppBarButton.Flyout>
<MenuFlyout Placement="TopEdgeAlignedRight">
<MenuFlyoutItem Command="{Binding RefreshFromEnkaApiCommand}" Text="从 Enka API 同步"/>
<MenuFlyoutItem Command="{Binding RefreshFromHoyolabGameRecordCommand}" Text="从米游社我的角色同步"/>
<MenuFlyoutItem Command="{Binding RefreshFromHoyolabCalculateCommand}" Text="从米游社养成计算同步"/>
<MenuFlyoutItem Command="{Binding RefreshFromEnkaApiCommand}" Text="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshFromEnkaApi}"/>
<MenuFlyoutItem Command="{Binding RefreshFromHoyolabGameRecordCommand}" Text="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshFromHoyolabGameRecord}"/>
<MenuFlyoutItem Command="{Binding RefreshFromHoyolabCalculateCommand}" Text="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshFromHoyolabCalculate}"/>
</MenuFlyout>
</AppBarButton.Flyout>
</AppBarButton>
@@ -342,7 +336,7 @@
HorizontalAlignment="Right"
Foreground="#FFFFFFFF"
Style="{StaticResource CaptionTextBlockStyle}"
Text="圣遗物评分"/>
Text="{shcm:ResourceString Name=ViewPageAvatarPropertyArtifactScore}"/>
<TextBlock
Margin="0,8,0,0"
@@ -354,7 +348,7 @@
HorizontalAlignment="Right"
Foreground="#FFFFFFFF"
Style="{StaticResource CaptionTextBlockStyle}"
Text="双暴评分"/>
Text="{shcm:ResourceString Name=ViewPageAvatarPropertyCritScore}"/>
</StackPanel>
<ItemsControl
@@ -430,7 +424,7 @@
HorizontalAlignment="Stretch"
HorizontalContentAlignment="Stretch"
Background="{x:Null}"
Header="角色属性">
Header="{shcm:ResourceString Name=ViewPageAvatarPropertyHeader}">
<ItemsControl ItemsSource="{Binding SelectedAvatar.Properties}">
<ItemsControl.ItemTemplate>
<DataTemplate>
@@ -511,7 +505,7 @@
</Grid.ColumnDefinitions>
<TextBlock
Style="{StaticResource BaseTextBlockStyle}"
Text="评分"
Text="{shcm:ResourceString Name=ViewPageAvatarPropertyScore}"
TextTrimming="CharacterEllipsis"
TextWrapping="NoWrap"/>
<TextBlock Grid.Column="1" Text="{Binding ScoreFormatted}"/>
@@ -549,7 +543,7 @@
</Expander.Header>
<StackPanel>
<TextBlock Style="{StaticResource CaptionTextBlockStyle}" Text="初始词条"/>
<TextBlock Style="{StaticResource CaptionTextBlockStyle}" Text="{shcm:ResourceString Name=ViewPageAvatarPropertyPrimaryProperties}"/>
<ItemsControl ItemsSource="{Binding PrimarySubProperties}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
@@ -575,7 +569,7 @@
<TextBlock
Margin="0,16,0,0"
Style="{StaticResource CaptionTextBlockStyle}"
Text="强化词条"/>
Text="{shcm:ResourceString Name=ViewPageAvatarPropertySecondaryProperties}"/>
<ItemsControl ItemsSource="{Binding SecondarySubProperties}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
@@ -618,16 +612,16 @@
Margin="0,16,0,0"
HorizontalAlignment="Center"
Style="{StaticResource SubtitleTextBlockStyle}"
Text="尚未获取任何角色信息"/>
Text="{shcm:ResourceString Name=ViewPageAvatarPropertyDefaultDescription}"/>
<wsc:SettingsGroup Margin="0,-36,0,0" HorizontalAlignment="Center">
<wsc:Setting Description="同步游戏内角色橱窗中的信息" Header="从 Enka API 同步">
<Button Command="{Binding RefreshFromEnkaApiCommand}" Content="同步"/>
<wsc:Setting Description="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshFromEnkaApiDescription}" Header="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshFromEnkaApi}">
<Button Command="{Binding RefreshFromEnkaApiCommand}" Content="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshAction}"/>
</wsc:Setting>
<wsc:Setting Description="同步角色天赋外的大部分信息" Header="从米游社我的角色同步">
<Button Command="{Binding RefreshFromHoyolabGameRecordCommand}" Content="同步"/>
<wsc:Setting Description="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshFromHoyolabGameRecordDescription}" Header="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshFromHoyolabGameRecord}">
<Button Command="{Binding RefreshFromHoyolabGameRecordCommand}" Content="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshAction}"/>
</wsc:Setting>
<wsc:Setting Description="同步角色天赋信息" Header="从米游社养成计算同步">
<Button Command="{Binding RefreshFromHoyolabCalculateCommand}" Content="同步"/>
<wsc:Setting Description="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshFromHoyolabCalculateDescription}" Header="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshFromHoyolabCalculate}">
<Button Command="{Binding RefreshFromHoyolabCalculateCommand}" Content="{shcm:ResourceString Name=ViewPageAvatarPropertyRefreshAction}"/>
</wsc:Setting>
</wsc:SettingsGroup>
</StackPanel>

View File

@@ -69,19 +69,19 @@
<AppBarButton
Command="{Binding AddProjectCommand}"
Icon="{shcm:FontIcon Glyph=&#xE710;}"
Label="新建计划"/>
Label="{shcm:ResourceString Name=ViewPageCultivationAddProject}"/>
<AppBarButton
Command="{Binding RemoveProjectCommand}"
CommandParameter="{Binding SelectedProject, Mode=OneWay}"
Icon="{shcm:FontIcon Glyph=&#xE74D;}"
Label="删除当前计划"/>
Label="{shcm:ResourceString Name=ViewPageCultivationRemoveProject}"/>
</CommandBar>
</Pivot.RightHeader>
<PivotItem Header="材料清单">
<PivotItem Header="{shcm:ResourceString Name=ViewPageCultivationMaterialList}">
<Grid>
<Pivot Visibility="{Binding CultivateEntries.Count, Converter={StaticResource Int32ToVisibilityConverter}}">
<PivotItem Header="养成物品">
<PivotItem Header="{shcm:ResourceString Name=ViewPageCultivationCultivateEntry}">
<cwucont:AdaptiveGridView
Padding="16,16,4,4"
cwua:ItemsReorderAnimation.Duration="0:0:0.1"
@@ -129,7 +129,7 @@
Content="&#xE74D;"
FontFamily="{StaticResource SymbolThemeFontFamily}"
Style="{StaticResource ButtonRevealStyle}"
ToolTipService.ToolTip="删除清单"/>
ToolTipService.ToolTip="{shcm:ResourceString Name=ViewPageCultivationRemoveEntry}"/>
</StackPanel>
</Grid>
<MenuFlyoutSeparator Grid.Row="1"/>
@@ -231,7 +231,7 @@
</cwucont:AdaptiveGridView.ItemTemplate>
</cwucont:AdaptiveGridView>
</PivotItem>
<PivotItem Header="材料统计">
<PivotItem Header="{shcm:ResourceString Name=ViewPageCultivationMaterialStatistics}">
<cwucont:AdaptiveGridView
Padding="16,16,4,4"
cwua:ItemsReorderAnimation.Duration="0:0:0.1"
@@ -280,37 +280,37 @@
Visibility="{Binding CultivateEntries.Count, Converter={StaticResource Int32ToVisibilityRevertConverter}}">
<wsc:SettingsGroup Margin="0,-36,0,0" HorizontalAlignment="Center">
<wsc:Setting
Description="添加任意角色到养成计划"
Header="角色资料"
Description="{shcm:ResourceString Name=ViewPageCultivationWikiAvatarDescription}"
Header="{shcm:ResourceString Name=ViewWikiAvatarHeader}"
Icon="{shcm:BitmapIcon Source=ms-appx:///Resource/Icon/UI_BagTabIcon_Avatar.png}">
<Button
Command="{Binding NavigateToPageCommand}"
CommandParameter="Snap.Hutao.View.Page.WikiAvatarPage"
Content="前往"/>
Content="{shcm:ResourceString Name=ViewPageCultivationNavigateAction}"/>
</wsc:Setting>
<wsc:Setting
Description="添加任意武器到养成计划"
Header="武器资料"
Description="{shcm:ResourceString Name=ViewPageCultivationWikiWeaponDescription}"
Header="{shcm:ResourceString Name=ViewWikiWeaponHeader}"
Icon="{shcm:BitmapIcon Source=ms-appx:///Resource/Icon/UI_BagTabIcon_Weapon.png}">
<Button
Command="{Binding NavigateToPageCommand}"
CommandParameter="Snap.Hutao.View.Page.WikiWeaponPage"
Content="前往"/>
Content="{shcm:ResourceString Name=ViewPageCultivationNavigateAction}"/>
</wsc:Setting>
<wsc:Setting
Description="添加我的角色与武器到养成计划"
Header="我的角色"
Description="{shcm:ResourceString Name=ViewPageCultivationAvatarPropertyDescription}"
Header="{shcm:ResourceString Name=ViewAvatarPropertyHeader}"
Icon="{shcm:BitmapIcon Source=ms-appx:///Resource/Icon/UI_Icon_BoostUp.png}">
<Button
Command="{Binding NavigateToPageCommand}"
CommandParameter="Snap.Hutao.View.Page.AvatarPropertyPage"
Content="前往"/>
Content="{shcm:ResourceString Name=ViewPageCultivationNavigateAction}"/>
</wsc:Setting>
</wsc:SettingsGroup>
</StackPanel>
</Grid>
</PivotItem>
<PivotItem Header="背包物品">
<PivotItem Header="{shcm:ResourceString Name=ViewPageCultivationInventoryItem}">
<cwucont:AdaptiveGridView
Padding="16,16,4,4"
ItemContainerStyle="{StaticResource LargeGridViewItemStyle}"
@@ -364,11 +364,11 @@
Margin="0,16,0,0"
HorizontalAlignment="Center"
Style="{StaticResource SubtitleTextBlockStyle}"
Text="新建养成计划以继续"/>
Text="{shcm:ResourceString Name=ViewPageCultivationAddProjectContinue}"/>
<wsc:SettingsGroup Margin="0,-36,0,0" HorizontalAlignment="Center">
<wsc:Setting
Description="稍后可以前往其他页面添加养成计划项"
Header="新建计划"
Description="{shcm:ResourceString Name=ViewPageCultivationAddProjectDescription}"
Header="{shcm:ResourceString Name=ViewPageCultivationAddProject}"
Icon="{shcm:FontIcon Glyph=&#xE710;}">
<Button Command="{Binding AddProjectCommand}" Content="新建"/>
</wsc:Setting>