|
@@ -429,20 +429,20 @@ class KMProductModel: ObservableObject {
|
|
|
#if VERSION_DMG
|
|
|
// DMG
|
|
|
if type == .pdfReaderProStandard_dmg {
|
|
|
- if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "CN" {
|
|
|
+ if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
|
return String(format: "USD $%@", getDMGPrice(productCode: KMStandardAnnualSubscriptionCodeKey_DMG))
|
|
|
} else {
|
|
|
return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMStandardAnnualSubscriptionCodeKey_DMG))
|
|
|
}
|
|
|
} else if type == .pdfReaderProAdvanced_dmg {
|
|
|
if isBlackFive {
|
|
|
- if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "CN" {
|
|
|
+ if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
|
return String(format: "USD $%@", getDMGPrice(productCode: KMAdvancedAnnualSubscriptionBlackFiveCodeKey_DMG))
|
|
|
} else {
|
|
|
return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAdvancedAnnualSubscriptionBlackFiveCodeKey_DMG))
|
|
|
}
|
|
|
} else {
|
|
|
- if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "CN" {
|
|
|
+ if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
|
return String(format: "USD $%@", getDMGPrice(productCode: KMAdvancedAnnualSubscriptionCodeKey_DMG))
|
|
|
} else {
|
|
|
return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAdvancedAnnualSubscriptionCodeKey_DMG))
|
|
@@ -450,26 +450,26 @@ class KMProductModel: ObservableObject {
|
|
|
}
|
|
|
} else if type == .pdfReaderProPermanent_dmg {
|
|
|
if isBlackFive {
|
|
|
- if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "CN" {
|
|
|
+ if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
|
return String(format: "USD $%@", getDMGPrice(productCode: KMAdvancedPermanentBlackFiveCodeKey_DMG))
|
|
|
} else {
|
|
|
return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAdvancedPermanentBlackFiveCodeKey_DMG))
|
|
|
}
|
|
|
} else {
|
|
|
- if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "CN" {
|
|
|
+ if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
|
return String(format: "USD $%@", getDMGPrice(productCode: KMAdvancedPermanentCodeKey_DMG))
|
|
|
} else {
|
|
|
return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAdvancedPermanentCodeKey_DMG))
|
|
|
}
|
|
|
}
|
|
|
} else if type == .pdfReaderProAIAnnual_dmg {
|
|
|
- if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "CN" {
|
|
|
+ if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
|
return String(format: "USD $%@", getDMGPrice(productCode: KMAISubscriptionYearTrailCodeKey_DMG))
|
|
|
} else {
|
|
|
return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAISubscriptionYearTrailCodeKey_DMG))
|
|
|
}
|
|
|
} else if type == .pdfReaderProAIMonthly_dmg {
|
|
|
- if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "CN" {
|
|
|
+ if NSLocalizedString("USD", tableName: "MemberCenterLocalizable", comment: "") == "USD" {
|
|
|
return String(format: "USD $%@", getDMGPrice(productCode: KMAISubscriptionMonthCodeKey_DMG))
|
|
|
} else {
|
|
|
return String(format: "CNY ¥%@", getDMGCNYPrice(productCode: KMAISubscriptionMonthCodeKey_DMG))
|