From 6327f31f114aba798ce1af78fc6ce3facccdcf80 Mon Sep 17 00:00:00 2001 From: CodeST <694468528@qq.com> Date: Sat, 7 Mar 2026 13:43:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Shared/Localization/en.lproj/Localizable.strings | 6 ++++++ Shared/Localization/es.lproj/Localizable.strings | 6 ++++++ Shared/Localization/id.lproj/Localizable.strings | 6 ++++++ Shared/Localization/pt-PT.lproj/Localizable.strings | 6 ++++++ .../Localization/zh-Hant.lproj/Localizable.strings | 6 ++++++ .../Class/AiTalk/V/Comment/KBAICommentInputView.m | 2 +- keyBoard/Class/AiTalk/V/KBVoiceInputBar.m | 2 +- keyBoard/Class/Home/V/HomeRankDetailPopView.m | 12 ++++++------ keyBoard/Class/Login/VC/KBLoginSheetViewController.m | 4 ++-- keyBoard/Class/Me/V/KBSkinDetailHeaderCell.m | 6 +++--- keyBoard/Class/Pay/V/KBSvipSubscribeCell.m | 4 ++-- keyBoard/Class/Pay/V/KBVipReviewItemCell.m | 9 ++++----- 12 files changed, 49 insertions(+), 20 deletions(-) diff --git a/Shared/Localization/en.lproj/Localizable.strings b/Shared/Localization/en.lproj/Localizable.strings index 6da1220..6d1254b 100644 --- a/Shared/Localization/en.lproj/Localizable.strings +++ b/Shared/Localization/en.lproj/Localizable.strings @@ -357,3 +357,9 @@ "Welcome to use the [key of love] keyboard" = "Welcome to use the [key of love] keyboard"; "Your session has expired. Please sign in again." = "Your session has expired. Please sign in again."; "send a message" = "send a message"; +"Release To Cancel" = "Release To Cancel"; +"Send A Message" = "Send A Message"; +"User" = "User"; +"I highly recommend this app." = "I highly recommend this app."; +"Allow log in with Apple ID?" = "Allow log in with Apple ID?"; +"Continue" = "Continue"; diff --git a/Shared/Localization/es.lproj/Localizable.strings b/Shared/Localization/es.lproj/Localizable.strings index 0aef210..a0484b0 100644 --- a/Shared/Localization/es.lproj/Localizable.strings +++ b/Shared/Localization/es.lproj/Localizable.strings @@ -366,3 +366,9 @@ "Welcome to use the [key of love] keyboard" = "Bienvenido a usar el teclado [key of love]"; "Your session has expired. Please sign in again." = "Tu sesión ha expirado. Inicia sesión de nuevo."; "send a message" = "enviar un mensaje"; +"Release To Cancel" = "Suelta para cancelar"; +"Send A Message" = "Enviar un mensaje"; +"User" = "Usuario"; +"I highly recommend this app." = "Recomiendo mucho esta aplicación."; +"Allow log in with Apple ID?" = "¿Permitir iniciar sesión con Apple ID?"; +"Continue" = "Continuar"; diff --git a/Shared/Localization/id.lproj/Localizable.strings b/Shared/Localization/id.lproj/Localizable.strings index deade39..a2f6cc6 100644 --- a/Shared/Localization/id.lproj/Localizable.strings +++ b/Shared/Localization/id.lproj/Localizable.strings @@ -367,3 +367,9 @@ "Welcome to use the [key of love] keyboard" = "Selamat datang menggunakan keyboard [key of love]"; "Your session has expired. Please sign in again." = "Sesi Anda telah berakhir. Silakan masuk lagi."; "send a message" = "kirim pesan"; +"Release To Cancel" = "Lepaskan untuk membatalkan"; +"Send A Message" = "Kirim pesan"; +"User" = "Pengguna"; +"I highly recommend this app." = "Saya sangat merekomendasikan aplikasi ini."; +"Allow log in with Apple ID?" = "Izinkan masuk dengan Apple ID?"; +"Continue" = "Lanjutkan"; diff --git a/Shared/Localization/pt-PT.lproj/Localizable.strings b/Shared/Localization/pt-PT.lproj/Localizable.strings index d1bfdb7..9653b84 100644 --- a/Shared/Localization/pt-PT.lproj/Localizable.strings +++ b/Shared/Localization/pt-PT.lproj/Localizable.strings @@ -367,3 +367,9 @@ "Welcome to use the [key of love] keyboard" = "Bem-vindo a usar o teclado [key of love]"; "Your session has expired. Please sign in again." = "A sua sessão expirou. Inicie sessão novamente."; "send a message" = "enviar uma mensagem"; +"Release To Cancel" = "Solte para cancelar"; +"Send A Message" = "Enviar uma mensagem"; +"User" = "Utilizador"; +"I highly recommend this app." = "Recomendo muito esta aplicação."; +"Allow log in with Apple ID?" = "Permitir iniciar sessão com o Apple ID?"; +"Continue" = "Continuar"; diff --git a/Shared/Localization/zh-Hant.lproj/Localizable.strings b/Shared/Localization/zh-Hant.lproj/Localizable.strings index 54840e2..e2ca096 100644 --- a/Shared/Localization/zh-Hant.lproj/Localizable.strings +++ b/Shared/Localization/zh-Hant.lproj/Localizable.strings @@ -366,3 +366,9 @@ "Welcome to use the [key of love] keyboard" = "歡迎使用 [key of love] 鍵盤"; "Your session has expired. Please sign in again." = "會話已過期,請重新登入。"; "send a message" = "發送訊息"; +"Release To Cancel" = "鬆開即可取消"; +"Send A Message" = "傳送訊息"; +"User" = "使用者"; +"I highly recommend this app." = "我非常推薦這個 App。"; +"Allow log in with Apple ID?" = "允許使用 Apple ID 登入嗎?"; +"Continue" = "繼續"; diff --git a/keyBoard/Class/AiTalk/V/Comment/KBAICommentInputView.m b/keyBoard/Class/AiTalk/V/Comment/KBAICommentInputView.m index 9a65361..ec8396c 100644 --- a/keyBoard/Class/AiTalk/V/Comment/KBAICommentInputView.m +++ b/keyBoard/Class/AiTalk/V/Comment/KBAICommentInputView.m @@ -196,7 +196,7 @@ - (UILabel *)placeholderLabel { if (!_placeholderLabel) { _placeholderLabel = [[UILabel alloc] init]; - _placeholderLabel.text = @"Send A Message"; + _placeholderLabel.text = KBLocalized(@"Send A Message"); _placeholderLabel.textColor = [UIColor whiteColor]; _placeholderLabel.font = [UIFont systemFontOfSize:14]; _placeholderLabel.textAlignment = NSTextAlignmentCenter; diff --git a/keyBoard/Class/AiTalk/V/KBVoiceInputBar.m b/keyBoard/Class/AiTalk/V/KBVoiceInputBar.m index ea5c587..e670eea 100644 --- a/keyBoard/Class/AiTalk/V/KBVoiceInputBar.m +++ b/keyBoard/Class/AiTalk/V/KBVoiceInputBar.m @@ -435,7 +435,7 @@ - (UILabel *)cancelLabel { if (!_cancelLabel) { _cancelLabel = [[UILabel alloc] init]; - _cancelLabel.text = @"Release To Cancel"; + _cancelLabel.text = KBLocalized(@"Release To Cancel"); _cancelLabel.font = [UIFont systemFontOfSize:16 weight:UIFontWeightMedium]; _cancelLabel.textColor = [UIColor whiteColor]; } diff --git a/keyBoard/Class/Home/V/HomeRankDetailPopView.m b/keyBoard/Class/Home/V/HomeRankDetailPopView.m index 1e3b1cb..d768a98 100644 --- a/keyBoard/Class/Home/V/HomeRankDetailPopView.m +++ b/keyBoard/Class/Home/V/HomeRankDetailPopView.m @@ -56,7 +56,7 @@ _character = character; self.titleLabel.text = character.characterName ?: @""; - self.downloadLabel.text = character.download ?: @""; + self.downloadLabel.text = character.download ?: [NSString stringWithFormat:@"%@: 0", KBLocalized(@"Download")]; self.descLabel.text = character.characterBackground ?: @""; [self.avatarView kb_setImageURL:character.avatarUrl placeholder:KBAvatarPlaceholderImage]; [self kb_updateSaveButtonWithAdded:character.added]; @@ -152,7 +152,7 @@ } else { self.saveButton.enabled = YES; self.saveButton.backgroundColor = [UIColor colorWithRed:0.02 green:0.75 blue:0.67 alpha:1.0]; - [self.saveButton setTitle:@"Save" forState:UIControlStateNormal]; + [self.saveButton setTitle:KBLocalized(@"Save") forState:UIControlStateNormal]; [self.saveButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal]; } } @@ -203,7 +203,7 @@ _titleLabel.textColor = [UIColor colorWithHex:KBBlackValue]; _titleLabel.font = [KBFont medium:16]; _titleLabel.textAlignment = NSTextAlignmentCenter; - _titleLabel.text = @"High EQ"; // 默认文案 + _titleLabel.text = @""; } return _titleLabel; } @@ -215,7 +215,7 @@ _downloadLabel.backgroundColor = [UIColor colorWithHex:0xEDFFFD]; _downloadLabel.font = [KBFont regular:13]; _downloadLabel.textAlignment = NSTextAlignmentCenter; - _downloadLabel.text = @"Download: 1 Million"; + _downloadLabel.text = [NSString stringWithFormat:@"%@: 0", KBLocalized(@"Download")]; } return _downloadLabel; } @@ -236,7 +236,7 @@ _descLabel.textColor = [UIColor colorWithHex:KBBlackValue]; _descLabel.font = [KBFont medium:14]; _descLabel.numberOfLines = 0; - _descLabel.text = @"Be Neither Too Close\nNor Too Distant"; + _descLabel.text = @""; } return _descLabel; } @@ -244,7 +244,7 @@ - (UIButton *)saveButton { if (!_saveButton) { _saveButton = [UIButton buttonWithType:UIButtonTypeCustom]; - [_saveButton setTitle:@"Save" forState:UIControlStateNormal]; + [_saveButton setTitle:KBLocalized(@"Save") forState:UIControlStateNormal]; [_saveButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal]; _saveButton.titleLabel.font = [KBFont medium:16]; _saveButton.backgroundColor = [UIColor colorWithRed:0.02 green:0.75 blue:0.67 alpha:1.0]; diff --git a/keyBoard/Class/Login/VC/KBLoginSheetViewController.m b/keyBoard/Class/Login/VC/KBLoginSheetViewController.m index ac631c1..f23069c 100644 --- a/keyBoard/Class/Login/VC/KBLoginSheetViewController.m +++ b/keyBoard/Class/Login/VC/KBLoginSheetViewController.m @@ -63,7 +63,7 @@ [self.checkButton addTarget:self action:@selector(toggleCheck) forControlEvents:UIControlEventTouchUpInside]; self.descLabel = [UILabel new]; - self.descLabel.text = @"allow log in with apple id?"; + self.descLabel.text = KBLocalized(@"Allow log in with Apple ID?"); self.descLabel.textColor = [UIColor blackColor]; self.descLabel.font = [UIFont systemFontOfSize:16]; @@ -85,7 +85,7 @@ self.continueButton.layer.cornerRadius = 10; self.continueButton.layer.borderWidth = 1.0; self.continueButton.layer.borderColor = [UIColor colorWithWhite:0.8 alpha:1.0].CGColor; - [self.continueButton setTitle:@"Continue" forState:UIControlStateNormal]; + [self.continueButton setTitle:KBLocalized(@"Continue") forState:UIControlStateNormal]; [self.continueButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal]; self.continueButton.titleLabel.font = [UIFont boldSystemFontOfSize:20]; [self.continueButton addTarget:self action:@selector(onContinue) forControlEvents:UIControlEventTouchUpInside]; diff --git a/keyBoard/Class/Me/V/KBSkinDetailHeaderCell.m b/keyBoard/Class/Me/V/KBSkinDetailHeaderCell.m index 3992989..c186100 100644 --- a/keyBoard/Class/Me/V/KBSkinDetailHeaderCell.m +++ b/keyBoard/Class/Me/V/KBSkinDetailHeaderCell.m @@ -44,7 +44,7 @@ } - (void)configWithDetail:(KBShopThemeDetailModel *)detail { - NSString *title = detail.themeName.length ? detail.themeName : @"Dopamine"; + NSString *title = detail.themeName.length ? detail.themeName : @""; NSString *download = detail.themeDownload.length ? detail.themeDownload : @"0"; NSString *downloadText = [NSString stringWithFormat:@"%@: %@", KBLocalized(@"Download"), download]; self.leftLabel.text = title; @@ -72,7 +72,7 @@ _leftLabel = [UILabel new]; _leftLabel.textColor = [UIColor colorWithHex:KBBlackValue]; _leftLabel.font = [KBFont medium:16]; - _leftLabel.text = @"Dopamine"; + _leftLabel.text = @""; } return _leftLabel; } @@ -82,7 +82,7 @@ _rightLabel.textColor = [UIColor colorWithHex:KBColorValue]; _rightLabel.font = [KBFont regular:13]; _rightLabel.textAlignment = NSTextAlignmentRight; - _rightLabel.text = @"Download: 1 Million"; + _rightLabel.text = [NSString stringWithFormat:@"%@: 0", KBLocalized(@"Download")]; } return _rightLabel; } diff --git a/keyBoard/Class/Pay/V/KBSvipSubscribeCell.m b/keyBoard/Class/Pay/V/KBSvipSubscribeCell.m index 8b925cf..78feb7a 100644 --- a/keyBoard/Class/Pay/V/KBSvipSubscribeCell.m +++ b/keyBoard/Class/Pay/V/KBSvipSubscribeCell.m @@ -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]; } diff --git a/keyBoard/Class/Pay/V/KBVipReviewItemCell.m b/keyBoard/Class/Pay/V/KBVipReviewItemCell.m index 6456d42..13234b7 100644 --- a/keyBoard/Class/Pay/V/KBVipReviewItemCell.m +++ b/keyBoard/Class/Pay/V/KBVipReviewItemCell.m @@ -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 -