补充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

@@ -61,8 +61,8 @@
}
- (void)configWithName:(NSString *)name text:(NSString *)text {
self.nameLabel.text = name.length ? name : @"User";
self.contentLabel.text = text.length ? text : @"I highly recommend this app.";
self.nameLabel.text = name.length ? name : KBLocalized(@"User");
self.contentLabel.text = text.length ? text : KBLocalized(@"I highly recommend this app.");
}
#pragma mark - Lazy
@@ -87,7 +87,7 @@
_nameLabel = [UILabel new];
_nameLabel.textColor = [UIColor colorWithHex:KBBlackValue];
_nameLabel.font = [KBFont medium:13];
_nameLabel.text = @"Sdsd666";
_nameLabel.text = KBLocalized(@"User");
}
return _nameLabel;
}
@@ -117,10 +117,9 @@
_contentLabel.textColor = [UIColor colorWithHex:KBBlackValue];
_contentLabel.font = [KBFont regular:10];
_contentLabel.numberOfLines = 2;
_contentLabel.text = @"I Highly Recommend This App. It Taught Me How To Chat";
_contentLabel.text = KBLocalized(@"I highly recommend this app.");
}
return _contentLabel;
}
@end