mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
impl #876
This commit is contained in:
@@ -5721,6 +5721,15 @@ namespace Snap.Hutao.Resource.Localization {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 评价软件 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string ViewPageSettingStoreReviewNavigate {
|
||||
get {
|
||||
return ResourceManager.GetString("ViewPageSettingStoreReviewNavigate", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 贡献翻译 的本地化字符串。
|
||||
/// </summary>
|
||||
|
||||
@@ -2060,6 +2060,9 @@
|
||||
<data name="ViewPageSettingStorageSetAction" xml:space="preserve">
|
||||
<value>更改</value>
|
||||
</data>
|
||||
<data name="ViewPageSettingStoreReviewNavigate" xml:space="preserve">
|
||||
<value>评价软件</value>
|
||||
</data>
|
||||
<data name="ViewPageSettingTranslateNavigate" xml:space="preserve">
|
||||
<value>贡献翻译</value>
|
||||
</data>
|
||||
|
||||
@@ -43,6 +43,10 @@
|
||||
Margin="0,0,0,0"
|
||||
Command="{Binding UpdateCheckCommand}"
|
||||
Content="{shcm:ResourceString Name=ViewPageSettingUpdateCheckAction}"/>
|
||||
<HyperlinkButton
|
||||
Margin="12,0,0,0"
|
||||
Command="{Binding StoreReviewCommand}"
|
||||
Content="{shcm:ResourceString Name=ViewPageSettingStoreReviewNavigate}"/>
|
||||
<HyperlinkButton
|
||||
Margin="12,0,0,0"
|
||||
Content="{shcm:ResourceString Name=ViewPageSettingOfficialSiteNavigate}"
|
||||
|
||||
@@ -183,6 +183,12 @@ internal sealed partial class SettingViewModel : Abstraction.ViewModel
|
||||
}
|
||||
}
|
||||
|
||||
[Command("StoreReviewCommand")]
|
||||
private async Task StoreReviewAsync()
|
||||
{
|
||||
await Launcher.LaunchUriAsync(new("ms-windows-store://review/?ProductId=9PH4NXJ2JN52"));
|
||||
}
|
||||
|
||||
[Command("SetDataFolderCommand")]
|
||||
private async Task SetDataFolderAsync()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user