|
@@ -94,11 +94,21 @@ import Cocoa
|
|
|
giftItemView2_.titleLabel.font = .SFProTextRegularFont(20)
|
|
|
|
|
|
if KMIsDMGVersion() {
|
|
|
- giftItemView2_.titleLabel.stringValue = String(format: NSLocalizedString("%@ Coupons in Total", comment: ""), "$60")
|
|
|
- giftItemView2_.subTitleLabel.stringValue = String(format: NSLocalizedString("New users can get %@ Coupons to upgrade the plan.", comment: ""), "$60")
|
|
|
+ if NSLocalizedString("USD", comment: "") == "USD" {
|
|
|
+ giftItemView2_.titleLabel.stringValue = String(format: NSLocalizedString("%@ Coupons in Total", comment: ""), "$60")
|
|
|
+ giftItemView2_.subTitleLabel.stringValue = String(format: NSLocalizedString("New users can get %@ Coupons to upgrade the plan.", comment: ""), "$60")
|
|
|
+ } else {
|
|
|
+ giftItemView2_.titleLabel.stringValue = String(format: NSLocalizedString("%@ Coupons in Total", comment: ""), "360元")
|
|
|
+ giftItemView2_.subTitleLabel.stringValue = String(format: NSLocalizedString("New users can get %@ Coupons to upgrade the plan.", comment: ""), "360元")
|
|
|
+ }
|
|
|
} else {
|
|
|
- giftItemView2_.titleLabel.stringValue = String(format: NSLocalizedString("%@ Coupons in Total", comment: ""), "$30")
|
|
|
- giftItemView2_.subTitleLabel.stringValue = String(format: NSLocalizedString("New users can get %@ Coupons to upgrade the plan.", comment: ""), "$30")
|
|
|
+ if NSLocalizedString("USD", comment: "") == "USD" {
|
|
|
+ giftItemView2_.titleLabel.stringValue = String(format: NSLocalizedString("%@ Coupons in Total", comment: ""), "$30")
|
|
|
+ giftItemView2_.subTitleLabel.stringValue = String(format: NSLocalizedString("New users can get %@ Coupons to upgrade the plan.", comment: ""), "$30")
|
|
|
+ } else {
|
|
|
+ giftItemView2_.titleLabel.stringValue = String(format: NSLocalizedString("%@ Coupons in Total", comment: ""), "180元")
|
|
|
+ giftItemView2_.subTitleLabel.stringValue = String(format: NSLocalizedString("New users can get %@ Coupons to upgrade the plan.", comment: ""), "180元")
|
|
|
+ }
|
|
|
}
|
|
|
giftItemView2_.subTitleLabel.font = .SFProTextRegularFont(14)
|
|
|
|