|
@@ -1120,6 +1120,24 @@ class KMProductModel: ObservableObject {
|
|
|
// 试用 全平台标准版年订阅 全平台高级版6/12个月订阅 Mac&Windows双平台高级版永久 MAC单平台高级版永久
|
|
|
//MAC单平台标准版永久
|
|
|
if KMMemberInfo.shared.vip_levels == "1" && KMMemberInfo.shared.vip_status != 2 {
|
|
|
+ var aiYear = NSLocalizedString("Free for the 1st year, then auto-renew at $125.99/year", tableName: "MemberCenterLocalizable", comment: "")
|
|
|
+#if VERSION_FREE
|
|
|
+#if VERSION_DMG
|
|
|
+ // DMG
|
|
|
+ if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
|
+ aiYear = String(format: NSLocalizedString("Free for the 1st year, then auto-renew at USD $%@/year", tableName: "MemberCenterLocalizable", comment: ""), getDMGPrice(productCode: KMAISubscriptionYearTrailCodeKey_DMG))
|
|
|
+ } else {
|
|
|
+ return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAISubscriptionYearTrailCodeKey_DMG))
|
|
|
+ aiYear = String(format: NSLocalizedString("Free for the 1st year, then auto-renew at CNY ¥%@/year", tableName: "MemberCenterLocalizable", comment: ""), getDMGCNYPrice(productCode: KMAISubscriptionYearTrailCodeKey_DMG))
|
|
|
+ }
|
|
|
+#else
|
|
|
+ // AppStore 免费版本
|
|
|
+ aiYear = String(format: NSLocalizedString("Free for the 1st year, then auto-renew at %@/year", tableName: "MemberCenterLocalizable", comment: ""), IAPProductsManager.default().aiAllAccessPack12month_lite.price())
|
|
|
+#endif
|
|
|
+#else
|
|
|
+ // AppStore 付费版
|
|
|
+ aiYear = String(format: NSLocalizedString("Free for the 1st year, then auto-renew at %@/year", tableName: "MemberCenterLocalizable", comment: ""), IAPProductsManager.default().aiAllAccessPack12month_pro.price())
|
|
|
+#endif
|
|
|
return [
|
|
|
"Benefit",
|
|
|
["Supported platforms", "mac, windows, ios, android", "mac, windows, ios, android", "mac, windows, ios, android", "mac, windows", "mac"],
|