补充key

This commit is contained in:
2026-03-07 13:43:26 +08:00
parent cbcf8c4197
commit 6327f31f11
12 changed files with 49 additions and 20 deletions

View File

@@ -77,7 +77,7 @@
}
- (void)configTitle:(NSString *)title currency:(NSString *)currency price:(NSString *)price strike:(nullable NSString *)strike {
self.titleLabel.text = title.length ? title : @"1 Month";
self.titleLabel.text = title.length ? title : KBLocalized(@"Monthly Subscription");
self.currencyLabel.text = currency.length ? currency : @"$";
self.priceLabel.text = price.length ? price : @"6.90";
self.strikeLabel.hidden = (strike.length == 0);
@@ -121,7 +121,7 @@
- (UILabel *)titleLabel {
if (!_titleLabel) {
_titleLabel = [UILabel new];
_titleLabel.text = @"1 Month";
_titleLabel.text = KBLocalized(@"Monthly Subscription");
_titleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
_titleLabel.font = [KBFont medium:13];
}