diff --git a/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.Designer.cs b/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.Designer.cs index e3979a04..c19f18a8 100644 --- a/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.Designer.cs +++ b/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.Designer.cs @@ -663,6 +663,15 @@ namespace Snap.Hutao.Resource.Localization { } } + /// + /// 查找类似 我的角色 的本地化字符串。 + /// + internal static string ViewAvatarPropertyHeader { + get { + return ResourceManager.GetString("ViewAvatarPropertyHeader", resourceCulture); + } + } + /// /// 查找类似 加载中,请稍候 的本地化字符串。 /// @@ -1166,5 +1175,311 @@ namespace Snap.Hutao.Resource.Localization { return ResourceManager.GetString("ViewPageAchievementSortIncompletedItemsFirst", resourceCulture); } } + + /// + /// 查找类似 活动公告 的本地化字符串。 + /// + internal static string ViewPageAnnouncementActivity { + get { + return ResourceManager.GetString("ViewPageAnnouncementActivity", resourceCulture); + } + } + + /// + /// 查找类似 游戏公告 的本地化字符串。 + /// + internal static string ViewPageAnnouncementGame { + get { + return ResourceManager.GetString("ViewPageAnnouncementGame", resourceCulture); + } + } + + /// + /// 查找类似 圣遗物评分 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyArtifactScore { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyArtifactScore", resourceCulture); + } + } + + /// + /// 查找类似 双暴评分 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyCritScore { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyCritScore", resourceCulture); + } + } + + /// + /// 查找类似 尚未获取任何角色信息 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyDefaultDescription { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyDefaultDescription", resourceCulture); + } + } + + /// + /// 查找类似 导出图片 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyExportAsImage { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyExportAsImage", resourceCulture); + } + } + + /// + /// 查找类似 角色属性 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyHeader { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyHeader", resourceCulture); + } + } + + /// + /// 查找类似 初始词条 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyPrimaryProperties { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyPrimaryProperties", resourceCulture); + } + } + + /// + /// 查找类似 同步 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyRefreshAction { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyRefreshAction", resourceCulture); + } + } + + /// + /// 查找类似 从 Enka API 同步 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyRefreshFromEnkaApi { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromEnkaApi", resourceCulture); + } + } + + /// + /// 查找类似 同步游戏内角色橱窗中的信息 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyRefreshFromEnkaApiDescription { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromEnkaApiDescription", resourceCulture); + } + } + + /// + /// 查找类似 从米游社养成计算同步 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyRefreshFromHoyolabCalculate { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromHoyolabCalculate", resourceCulture); + } + } + + /// + /// 查找类似 同步角色天赋信息 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyRefreshFromHoyolabCalculateDescription { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromHoyolabCalculateDescription", resourceCulture); + } + } + + /// + /// 查找类似 从米游社我的角色同步 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyRefreshFromHoyolabGameRecord { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromHoyolabGameRecord", resourceCulture); + } + } + + /// + /// 查找类似 同步角色天赋外的大部分信息 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyRefreshFromHoyolabGameRecordDescription { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyRefreshFromHoyolabGameRecordDescription", resourceCulture); + } + } + + /// + /// 查找类似 评分 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertyScore { + get { + return ResourceManager.GetString("ViewPageAvatarPropertyScore", resourceCulture); + } + } + + /// + /// 查找类似 强化词条 的本地化字符串。 + /// + internal static string ViewPageAvatarPropertySecondaryProperties { + get { + return ResourceManager.GetString("ViewPageAvatarPropertySecondaryProperties", resourceCulture); + } + } + + /// + /// 查找类似 养成计算 的本地化字符串。 + /// + internal static string ViewPageCultivateCalculate { + get { + return ResourceManager.GetString("ViewPageCultivateCalculate", resourceCulture); + } + } + + /// + /// 查找类似 新建 的本地化字符串。 + /// + internal static string ViewPageCultivationAddAction { + get { + return ResourceManager.GetString("ViewPageCultivationAddAction", resourceCulture); + } + } + + /// + /// 查找类似 新建计划 的本地化字符串。 + /// + internal static string ViewPageCultivationAddProject { + get { + return ResourceManager.GetString("ViewPageCultivationAddProject", resourceCulture); + } + } + + /// + /// 查找类似 新建养成计划以继续 的本地化字符串。 + /// + internal static string ViewPageCultivationAddProjectContinue { + get { + return ResourceManager.GetString("ViewPageCultivationAddProjectContinue", resourceCulture); + } + } + + /// + /// 查找类似 稍后可以前往其他页面添加养成计划项 的本地化字符串。 + /// + internal static string ViewPageCultivationAddProjectDescription { + get { + return ResourceManager.GetString("ViewPageCultivationAddProjectDescription", resourceCulture); + } + } + + /// + /// 查找类似 添加我的角色与武器到养成计划 的本地化字符串。 + /// + internal static string ViewPageCultivationAvatarPropertyDescription { + get { + return ResourceManager.GetString("ViewPageCultivationAvatarPropertyDescription", resourceCulture); + } + } + + /// + /// 查找类似 养成物品 的本地化字符串。 + /// + internal static string ViewPageCultivationCultivateEntry { + get { + return ResourceManager.GetString("ViewPageCultivationCultivateEntry", resourceCulture); + } + } + + /// + /// 查找类似 背包物品 的本地化字符串。 + /// + internal static string ViewPageCultivationInventoryItem { + get { + return ResourceManager.GetString("ViewPageCultivationInventoryItem", resourceCulture); + } + } + + /// + /// 查找类似 材料清单 的本地化字符串。 + /// + internal static string ViewPageCultivationMaterialList { + get { + return ResourceManager.GetString("ViewPageCultivationMaterialList", resourceCulture); + } + } + + /// + /// 查找类似 材料统计 的本地化字符串。 + /// + internal static string ViewPageCultivationMaterialStatistics { + get { + return ResourceManager.GetString("ViewPageCultivationMaterialStatistics", resourceCulture); + } + } + + /// + /// 查找类似 前往 的本地化字符串。 + /// + internal static string ViewPageCultivationNavigateAction { + get { + return ResourceManager.GetString("ViewPageCultivationNavigateAction", resourceCulture); + } + } + + /// + /// 查找类似 删除清单 的本地化字符串。 + /// + internal static string ViewPageCultivationRemoveEntry { + get { + return ResourceManager.GetString("ViewPageCultivationRemoveEntry", resourceCulture); + } + } + + /// + /// 查找类似 删除当前计划 的本地化字符串。 + /// + internal static string ViewPageCultivationRemoveProject { + get { + return ResourceManager.GetString("ViewPageCultivationRemoveProject", resourceCulture); + } + } + + /// + /// 查找类似 添加任意角色到养成计划 的本地化字符串。 + /// + internal static string ViewPageCultivationWikiAvatarDescription { + get { + return ResourceManager.GetString("ViewPageCultivationWikiAvatarDescription", resourceCulture); + } + } + + /// + /// 查找类似 添加任意武器到养成计划 的本地化字符串。 + /// + internal static string ViewPageCultivationWikiWeaponDescription { + get { + return ResourceManager.GetString("ViewPageCultivationWikiWeaponDescription", resourceCulture); + } + } + + /// + /// 查找类似 角色资料 的本地化字符串。 + /// + internal static string ViewWikiAvatarHeader { + get { + return ResourceManager.GetString("ViewWikiAvatarHeader", resourceCulture); + } + } + + /// + /// 查找类似 武器资料 的本地化字符串。 + /// + internal static string ViewWikiWeaponHeader { + get { + return ResourceManager.GetString("ViewWikiWeaponHeader", resourceCulture); + } + } } } diff --git a/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.resx b/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.resx index bdd08a4b..a445151b 100644 --- a/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.resx +++ b/src/Snap.Hutao/Snap.Hutao/Resource/Localization/SH.resx @@ -318,6 +318,9 @@ 输入的 Cookie 无法获取用户信息 + + 我的角色 + 加载中,请稍候 @@ -486,4 +489,106 @@ 优先未完成 + + 活动公告 + + + 游戏公告 + + + 圣遗物评分 + + + 双暴评分 + + + 尚未获取任何角色信息 + + + 导出图片 + + + 角色属性 + + + 初始词条 + + + 同步 + + + 从 Enka API 同步 + + + 同步游戏内角色橱窗中的信息 + + + 从米游社养成计算同步 + + + 同步角色天赋信息 + + + 从米游社我的角色同步 + + + 同步角色天赋外的大部分信息 + + + 评分 + + + 强化词条 + + + 养成计算 + + + 新建 + + + 新建计划 + + + 新建养成计划以继续 + + + 稍后可以前往其他页面添加养成计划项 + + + 添加我的角色与武器到养成计划 + + + 养成物品 + + + 背包物品 + + + 材料清单 + + + 材料统计 + + + 前往 + + + 删除清单 + + + 删除当前计划 + + + 添加任意角色到养成计划 + + + 添加任意武器到养成计划 + + + 角色资料 + + + 武器资料 + \ No newline at end of file diff --git a/src/Snap.Hutao/Snap.Hutao/View/Page/AnnouncementPage.xaml b/src/Snap.Hutao/Snap.Hutao/View/Page/AnnouncementPage.xaml index 796c80c0..45a9df7a 100644 --- a/src/Snap.Hutao/Snap.Hutao/View/Page/AnnouncementPage.xaml +++ b/src/Snap.Hutao/Snap.Hutao/View/Page/AnnouncementPage.xaml @@ -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 @@ + Header="{shcm:ResourceString Name=ViewPageAnnouncementActivity}"/> + Header="{shcm:ResourceString Name=ViewPageAnnouncementGame}"/> diff --git a/src/Snap.Hutao/Snap.Hutao/View/Page/AvatarPropertyPage.xaml b/src/Snap.Hutao/Snap.Hutao/View/Page/AvatarPropertyPage.xaml index b7533bfd..c26204c4 100644 --- a/src/Snap.Hutao/Snap.Hutao/View/Page/AvatarPropertyPage.xaml +++ b/src/Snap.Hutao/Snap.Hutao/View/Page/AvatarPropertyPage.xaml @@ -45,12 +45,6 @@ - - - - - - @@ -58,19 +52,19 @@ Command="{Binding ExportAsImageCommand}" CommandParameter="{Binding ElementName=ImageExportPanel}" Icon="{shcm:FontIcon Glyph=}" - Label="导出图片"/> + Label="{shcm:ResourceString Name=ViewPageAvatarPropertyExportAsImage}"/> + Label="{shcm:ResourceString Name=ViewPageCultivateCalculate}"/> - - - + + + @@ -342,7 +336,7 @@ HorizontalAlignment="Right" Foreground="#FFFFFFFF" Style="{StaticResource CaptionTextBlockStyle}" - Text="圣遗物评分"/> + Text="{shcm:ResourceString Name=ViewPageAvatarPropertyArtifactScore}"/> + Text="{shcm:ResourceString Name=ViewPageAvatarPropertyCritScore}"/> + Header="{shcm:ResourceString Name=ViewPageAvatarPropertyHeader}"> @@ -511,7 +505,7 @@ @@ -549,7 +543,7 @@ - + @@ -575,7 +569,7 @@ + Text="{shcm:ResourceString Name=ViewPageAvatarPropertySecondaryProperties}"/> @@ -618,16 +612,16 @@ Margin="0,16,0,0" HorizontalAlignment="Center" Style="{StaticResource SubtitleTextBlockStyle}" - Text="尚未获取任何角色信息"/> + Text="{shcm:ResourceString Name=ViewPageAvatarPropertyDefaultDescription}"/> - -