硬编码字符串迁移至语言模块中

croire 3 years ago
parent 62a0528112
commit fea42637b2

@ -78,6 +78,9 @@
<!-- MyBangumiFollow -->
<system:String x:Key="MyBangumiFollow">我的订阅</system:String>
<system:String x:Key="FollowAnime">追番</system:String>
<system:String x:Key="FollowMovie">追剧</system:String>
<system:String x:Key="BangumiNotWatched">尚未观看</system:String>
<!-- Publication -->
<system:String x:Key="DownloadSelectedPublication">下载选中项</system:String>

@ -141,8 +141,8 @@ namespace DownKyi.ViewModels
TabHeaders = new ObservableCollection<TabHeader>
{
new TabHeader { Id = (int)Core.BiliApi.Users.Models.BangumiType.ANIME, Title = "追番" },
new TabHeader { Id = (int)Core.BiliApi.Users.Models.BangumiType.EPISODE, Title = "追剧" }
new TabHeader { Id = (int)Core.BiliApi.Users.Models.BangumiType.ANIME, Title = DictionaryResource.GetString("FollowAnime") },
new TabHeader { Id = (int)Core.BiliApi.Users.Models.BangumiType.EPISODE, Title = DictionaryResource.GetString("FollowMovie") }
};
Medias = new ObservableCollection<BangumiFollowMedia>();
@ -419,7 +419,7 @@ namespace DownKyi.ViewModels
string progress;
if (bangumiFollow.Progress == null || bangumiFollow.Progress == "")
{
progress = "尚未观看";
progress = DictionaryResource.GetString("BangumiNotWatched");
}
else
{

Loading…
Cancel
Save