key缺少,添加权限多语言

This commit is contained in:
2026-03-07 13:29:29 +08:00
parent e03287605c
commit cbcf8c4197
47 changed files with 986 additions and 225 deletions

View File

@@ -284,7 +284,7 @@ typedef NS_ENUM(NSInteger, KBSexOption) {
- (UILabel *)titleLabel {
if (!_titleLabel) {
_titleLabel = [UILabel new];
_titleLabel.text = @"Please Select Your Gender";
_titleLabel.text = KBLocalized(@"Please Select Your Gender");
_titleLabel.font = [KBFont medium:20];
_titleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
_titleLabel.numberOfLines = 1;
@@ -305,7 +305,7 @@ typedef NS_ENUM(NSInteger, KBSexOption) {
- (UIButton *)skipButton {
if (!_skipButton) {
_skipButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_skipButton setTitle:@"Skip" forState:UIControlStateNormal];
[_skipButton setTitle:KBLocalized(@"Skip") forState:UIControlStateNormal];
[_skipButton setTitleColor:[UIColor colorWithHex:KBBlackValue] forState:UIControlStateNormal];
_skipButton.titleLabel.font = [KBFont medium:12];
_skipButton.backgroundColor = [UIColor colorWithHex:0xE9F7F4];
@@ -341,7 +341,7 @@ typedef NS_ENUM(NSInteger, KBSexOption) {
- (UILabel *)maleLabel {
if (!_maleLabel) {
_maleLabel = [UILabel new];
_maleLabel.text = @"Male";
_maleLabel.text = KBLocalized(@"Male");
_maleLabel.font = [KBFont medium:20];
_maleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
}
@@ -369,7 +369,7 @@ typedef NS_ENUM(NSInteger, KBSexOption) {
- (UILabel *)femaleLabel {
if (!_femaleLabel) {
_femaleLabel = [UILabel new];
_femaleLabel.text = @"Female";
_femaleLabel.text = KBLocalized(@"Female");
_femaleLabel.font = [KBFont medium:20];
_femaleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
}
@@ -405,7 +405,7 @@ typedef NS_ENUM(NSInteger, KBSexOption) {
- (UILabel *)otherLabel {
if (!_otherLabel) {
_otherLabel = [UILabel new];
_otherLabel.text = @"The Third Gender";
_otherLabel.text = KBLocalized(@"The Third Gender");
_otherLabel.font = [KBFont medium:20];
_otherLabel.textColor = [UIColor colorWithHex:KBBlackValue];
}
@@ -415,7 +415,7 @@ typedef NS_ENUM(NSInteger, KBSexOption) {
- (UIButton *)confirmButton {
if (!_confirmButton) {
_confirmButton = [UIButton buttonWithType:UIButtonTypeCustom];
[_confirmButton setTitle:@"Turn On The Keyboard" forState:UIControlStateNormal];
[_confirmButton setTitle:KBLocalized(@"Turn On The Keyboard") forState:UIControlStateNormal];
[_confirmButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
_confirmButton.titleLabel.font = [KBFont bold:16];
_confirmButton.backgroundColor = [UIColor blackColor];