From c12a4583a7316e648d013d227fcaade9593a0c22 Mon Sep 17 00:00:00 2001
From: Eric-Joker <1277243150@qq.com>
Date: Tue, 17 Sep 2024 13:00:13 +0800
Subject: [PATCH] feat: Adapt to UIGF 4.0
---
src/Starward.Language/Lang.Designer.cs | 9 +
src/Starward.Language/Lang.resx | 3 +
src/Starward.Language/Lang.zh-CN.resx | 3 +
src/Starward.Language/Lang.zh-TW.resx | 5 +-
src/Starward/Pages/GachaLogPage.xaml | 10 +-
src/Starward/Pages/GachaLogPage.xaml.cs | 7 +-
.../Services/Gacha/GenshinGachaService.cs | 139 +++++++++++++---
.../Services/Gacha/StarRailGachaService.cs | 129 ++++++++++++---
.../Services/Gacha/ZZZGachaService.cs | 154 +++++++++++++-----
9 files changed, 368 insertions(+), 91 deletions(-)
diff --git a/src/Starward.Language/Lang.Designer.cs b/src/Starward.Language/Lang.Designer.cs
index 165ff2bed..b47fd71e6 100644
--- a/src/Starward.Language/Lang.Designer.cs
+++ b/src/Starward.Language/Lang.Designer.cs
@@ -4377,5 +4377,14 @@ public static string UpdateService_CannotUpdateAutomatically {
return ResourceManager.GetString("UpdateService_CannotUpdateAutomatically", resourceCulture);
}
}
+
+ ///
+ /// 查找类似 Import {0} signal search(es) successfully. 的本地化字符串。
+ ///
+ public static string ZZZGachaService_ImportSignalSearchSuccessfully {
+ get {
+ return ResourceManager.GetString("ZZZGachaService_ImportSignalSearchSuccessfully", resourceCulture);
+ }
+ }
}
}
diff --git a/src/Starward.Language/Lang.resx b/src/Starward.Language/Lang.resx
index 616fd3234..8764a8aad 100644
--- a/src/Starward.Language/Lang.resx
+++ b/src/Starward.Language/Lang.resx
@@ -1582,4 +1582,7 @@ Do you accept the risk and continue to use it?
Removable storage device not connected.
+
+ Import {0} signal search(es) successfully.
+
\ No newline at end of file
diff --git a/src/Starward.Language/Lang.zh-CN.resx b/src/Starward.Language/Lang.zh-CN.resx
index 967f4ab4b..1bd0a74be 100644
--- a/src/Starward.Language/Lang.zh-CN.resx
+++ b/src/Starward.Language/Lang.zh-CN.resx
@@ -1582,4 +1582,7 @@
可移动存储设备未连接
+
+ 成功导入调频记录 {0} 条
+
\ No newline at end of file
diff --git a/src/Starward.Language/Lang.zh-TW.resx b/src/Starward.Language/Lang.zh-TW.resx
index 06f4beb8d..9f28125c0 100644
--- a/src/Starward.Language/Lang.zh-TW.resx
+++ b/src/Starward.Language/Lang.zh-TW.resx
@@ -1324,7 +1324,7 @@
驗證失敗
- 目前版本不是最新版本({0})。
+ 目前版本不是最新版本({0})。
按下按鈕修復檔案
@@ -1582,4 +1582,7 @@
Removable storage device not connected.
+
+ 成功匯入 {0} 條調頻記錄
+
\ No newline at end of file
diff --git a/src/Starward/Pages/GachaLogPage.xaml b/src/Starward/Pages/GachaLogPage.xaml
index 9ef24663c..45a381646 100644
--- a/src/Starward/Pages/GachaLogPage.xaml
+++ b/src/Starward/Pages/GachaLogPage.xaml
@@ -154,6 +154,7 @@
+
+