补充key
This commit is contained in:
@@ -357,3 +357,9 @@
|
|||||||
"Welcome to use the [key of love] keyboard" = "Welcome to use the [key of love] keyboard";
|
"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.";
|
"Your session has expired. Please sign in again." = "Your session has expired. Please sign in again.";
|
||||||
"send a message" = "send a message";
|
"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";
|
||||||
|
|||||||
@@ -366,3 +366,9 @@
|
|||||||
"Welcome to use the [key of love] keyboard" = "Bienvenido a usar el teclado [key of love]";
|
"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.";
|
"Your session has expired. Please sign in again." = "Tu sesión ha expirado. Inicia sesión de nuevo.";
|
||||||
"send a message" = "enviar un mensaje";
|
"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";
|
||||||
|
|||||||
@@ -367,3 +367,9 @@
|
|||||||
"Welcome to use the [key of love] keyboard" = "Selamat datang menggunakan keyboard [key of love]";
|
"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.";
|
"Your session has expired. Please sign in again." = "Sesi Anda telah berakhir. Silakan masuk lagi.";
|
||||||
"send a message" = "kirim pesan";
|
"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";
|
||||||
|
|||||||
@@ -367,3 +367,9 @@
|
|||||||
"Welcome to use the [key of love] keyboard" = "Bem-vindo a usar o teclado [key of love]";
|
"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.";
|
"Your session has expired. Please sign in again." = "A sua sessão expirou. Inicie sessão novamente.";
|
||||||
"send a message" = "enviar uma mensagem";
|
"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";
|
||||||
|
|||||||
@@ -366,3 +366,9 @@
|
|||||||
"Welcome to use the [key of love] keyboard" = "歡迎使用 [key of love] 鍵盤";
|
"Welcome to use the [key of love] keyboard" = "歡迎使用 [key of love] 鍵盤";
|
||||||
"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" = "鬆開即可取消";
|
||||||
|
"Send A Message" = "傳送訊息";
|
||||||
|
"User" = "使用者";
|
||||||
|
"I highly recommend this app." = "我非常推薦這個 App。";
|
||||||
|
"Allow log in with Apple ID?" = "允許使用 Apple ID 登入嗎?";
|
||||||
|
"Continue" = "繼續";
|
||||||
|
|||||||
@@ -196,7 +196,7 @@
|
|||||||
- (UILabel *)placeholderLabel {
|
- (UILabel *)placeholderLabel {
|
||||||
if (!_placeholderLabel) {
|
if (!_placeholderLabel) {
|
||||||
_placeholderLabel = [[UILabel alloc] init];
|
_placeholderLabel = [[UILabel alloc] init];
|
||||||
_placeholderLabel.text = @"Send A Message";
|
_placeholderLabel.text = KBLocalized(@"Send A Message");
|
||||||
_placeholderLabel.textColor = [UIColor whiteColor];
|
_placeholderLabel.textColor = [UIColor whiteColor];
|
||||||
_placeholderLabel.font = [UIFont systemFontOfSize:14];
|
_placeholderLabel.font = [UIFont systemFontOfSize:14];
|
||||||
_placeholderLabel.textAlignment = NSTextAlignmentCenter;
|
_placeholderLabel.textAlignment = NSTextAlignmentCenter;
|
||||||
|
|||||||
@@ -435,7 +435,7 @@
|
|||||||
- (UILabel *)cancelLabel {
|
- (UILabel *)cancelLabel {
|
||||||
if (!_cancelLabel) {
|
if (!_cancelLabel) {
|
||||||
_cancelLabel = [[UILabel alloc] init];
|
_cancelLabel = [[UILabel alloc] init];
|
||||||
_cancelLabel.text = @"Release To Cancel";
|
_cancelLabel.text = KBLocalized(@"Release To Cancel");
|
||||||
_cancelLabel.font = [UIFont systemFontOfSize:16 weight:UIFontWeightMedium];
|
_cancelLabel.font = [UIFont systemFontOfSize:16 weight:UIFontWeightMedium];
|
||||||
_cancelLabel.textColor = [UIColor whiteColor];
|
_cancelLabel.textColor = [UIColor whiteColor];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
_character = character;
|
_character = character;
|
||||||
|
|
||||||
self.titleLabel.text = character.characterName ?: @"";
|
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.descLabel.text = character.characterBackground ?: @"";
|
||||||
[self.avatarView kb_setImageURL:character.avatarUrl placeholder:KBAvatarPlaceholderImage];
|
[self.avatarView kb_setImageURL:character.avatarUrl placeholder:KBAvatarPlaceholderImage];
|
||||||
[self kb_updateSaveButtonWithAdded:character.added];
|
[self kb_updateSaveButtonWithAdded:character.added];
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
} else {
|
} else {
|
||||||
self.saveButton.enabled = YES;
|
self.saveButton.enabled = YES;
|
||||||
self.saveButton.backgroundColor = [UIColor colorWithRed:0.02 green:0.75 blue:0.67 alpha:1.0];
|
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];
|
[self.saveButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
_titleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
_titleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||||
_titleLabel.font = [KBFont medium:16];
|
_titleLabel.font = [KBFont medium:16];
|
||||||
_titleLabel.textAlignment = NSTextAlignmentCenter;
|
_titleLabel.textAlignment = NSTextAlignmentCenter;
|
||||||
_titleLabel.text = @"High EQ"; // 默认文案
|
_titleLabel.text = @"";
|
||||||
}
|
}
|
||||||
return _titleLabel;
|
return _titleLabel;
|
||||||
}
|
}
|
||||||
@@ -215,7 +215,7 @@
|
|||||||
_downloadLabel.backgroundColor = [UIColor colorWithHex:0xEDFFFD];
|
_downloadLabel.backgroundColor = [UIColor colorWithHex:0xEDFFFD];
|
||||||
_downloadLabel.font = [KBFont regular:13];
|
_downloadLabel.font = [KBFont regular:13];
|
||||||
_downloadLabel.textAlignment = NSTextAlignmentCenter;
|
_downloadLabel.textAlignment = NSTextAlignmentCenter;
|
||||||
_downloadLabel.text = @"Download: 1 Million";
|
_downloadLabel.text = [NSString stringWithFormat:@"%@: 0", KBLocalized(@"Download")];
|
||||||
}
|
}
|
||||||
return _downloadLabel;
|
return _downloadLabel;
|
||||||
}
|
}
|
||||||
@@ -236,7 +236,7 @@
|
|||||||
_descLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
_descLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||||
_descLabel.font = [KBFont medium:14];
|
_descLabel.font = [KBFont medium:14];
|
||||||
_descLabel.numberOfLines = 0;
|
_descLabel.numberOfLines = 0;
|
||||||
_descLabel.text = @"Be Neither Too Close\nNor Too Distant";
|
_descLabel.text = @"";
|
||||||
}
|
}
|
||||||
return _descLabel;
|
return _descLabel;
|
||||||
}
|
}
|
||||||
@@ -244,7 +244,7 @@
|
|||||||
- (UIButton *)saveButton {
|
- (UIButton *)saveButton {
|
||||||
if (!_saveButton) {
|
if (!_saveButton) {
|
||||||
_saveButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
_saveButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||||
[_saveButton setTitle:@"Save" forState:UIControlStateNormal];
|
[_saveButton setTitle:KBLocalized(@"Save") forState:UIControlStateNormal];
|
||||||
[_saveButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
|
[_saveButton setTitleColor:UIColor.whiteColor forState:UIControlStateNormal];
|
||||||
_saveButton.titleLabel.font = [KBFont medium:16];
|
_saveButton.titleLabel.font = [KBFont medium:16];
|
||||||
_saveButton.backgroundColor = [UIColor colorWithRed:0.02 green:0.75 blue:0.67 alpha:1.0];
|
_saveButton.backgroundColor = [UIColor colorWithRed:0.02 green:0.75 blue:0.67 alpha:1.0];
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
[self.checkButton addTarget:self action:@selector(toggleCheck) forControlEvents:UIControlEventTouchUpInside];
|
[self.checkButton addTarget:self action:@selector(toggleCheck) forControlEvents:UIControlEventTouchUpInside];
|
||||||
|
|
||||||
self.descLabel = [UILabel new];
|
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.textColor = [UIColor blackColor];
|
||||||
self.descLabel.font = [UIFont systemFontOfSize:16];
|
self.descLabel.font = [UIFont systemFontOfSize:16];
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@
|
|||||||
self.continueButton.layer.cornerRadius = 10;
|
self.continueButton.layer.cornerRadius = 10;
|
||||||
self.continueButton.layer.borderWidth = 1.0;
|
self.continueButton.layer.borderWidth = 1.0;
|
||||||
self.continueButton.layer.borderColor = [UIColor colorWithWhite:0.8 alpha:1.0].CGColor;
|
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 setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
|
||||||
self.continueButton.titleLabel.font = [UIFont boldSystemFontOfSize:20];
|
self.continueButton.titleLabel.font = [UIFont boldSystemFontOfSize:20];
|
||||||
[self.continueButton addTarget:self action:@selector(onContinue) forControlEvents:UIControlEventTouchUpInside];
|
[self.continueButton addTarget:self action:@selector(onContinue) forControlEvents:UIControlEventTouchUpInside];
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)configWithDetail:(KBShopThemeDetailModel *)detail {
|
- (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 *download = detail.themeDownload.length ? detail.themeDownload : @"0";
|
||||||
NSString *downloadText = [NSString stringWithFormat:@"%@: %@", KBLocalized(@"Download"), download];
|
NSString *downloadText = [NSString stringWithFormat:@"%@: %@", KBLocalized(@"Download"), download];
|
||||||
self.leftLabel.text = title;
|
self.leftLabel.text = title;
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
_leftLabel = [UILabel new];
|
_leftLabel = [UILabel new];
|
||||||
_leftLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
_leftLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||||
_leftLabel.font = [KBFont medium:16];
|
_leftLabel.font = [KBFont medium:16];
|
||||||
_leftLabel.text = @"Dopamine";
|
_leftLabel.text = @"";
|
||||||
}
|
}
|
||||||
return _leftLabel;
|
return _leftLabel;
|
||||||
}
|
}
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
_rightLabel.textColor = [UIColor colorWithHex:KBColorValue];
|
_rightLabel.textColor = [UIColor colorWithHex:KBColorValue];
|
||||||
_rightLabel.font = [KBFont regular:13];
|
_rightLabel.font = [KBFont regular:13];
|
||||||
_rightLabel.textAlignment = NSTextAlignmentRight;
|
_rightLabel.textAlignment = NSTextAlignmentRight;
|
||||||
_rightLabel.text = @"Download: 1 Million";
|
_rightLabel.text = [NSString stringWithFormat:@"%@: 0", KBLocalized(@"Download")];
|
||||||
}
|
}
|
||||||
return _rightLabel;
|
return _rightLabel;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)configTitle:(NSString *)title currency:(NSString *)currency price:(NSString *)price strike:(nullable NSString *)strike {
|
- (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.currencyLabel.text = currency.length ? currency : @"$";
|
||||||
self.priceLabel.text = price.length ? price : @"6.90";
|
self.priceLabel.text = price.length ? price : @"6.90";
|
||||||
self.strikeLabel.hidden = (strike.length == 0);
|
self.strikeLabel.hidden = (strike.length == 0);
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
- (UILabel *)titleLabel {
|
- (UILabel *)titleLabel {
|
||||||
if (!_titleLabel) {
|
if (!_titleLabel) {
|
||||||
_titleLabel = [UILabel new];
|
_titleLabel = [UILabel new];
|
||||||
_titleLabel.text = @"1 Month";
|
_titleLabel.text = KBLocalized(@"Monthly Subscription");
|
||||||
_titleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
_titleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||||
_titleLabel.font = [KBFont medium:13];
|
_titleLabel.font = [KBFont medium:13];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,8 +61,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (void)configWithName:(NSString *)name text:(NSString *)text {
|
- (void)configWithName:(NSString *)name text:(NSString *)text {
|
||||||
self.nameLabel.text = name.length ? name : @"User";
|
self.nameLabel.text = name.length ? name : KBLocalized(@"User");
|
||||||
self.contentLabel.text = text.length ? text : @"I highly recommend this app.";
|
self.contentLabel.text = text.length ? text : KBLocalized(@"I highly recommend this app.");
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Lazy
|
#pragma mark - Lazy
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
_nameLabel = [UILabel new];
|
_nameLabel = [UILabel new];
|
||||||
_nameLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
_nameLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||||
_nameLabel.font = [KBFont medium:13];
|
_nameLabel.font = [KBFont medium:13];
|
||||||
_nameLabel.text = @"Sdsd666";
|
_nameLabel.text = KBLocalized(@"User");
|
||||||
}
|
}
|
||||||
return _nameLabel;
|
return _nameLabel;
|
||||||
}
|
}
|
||||||
@@ -117,10 +117,9 @@
|
|||||||
_contentLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
_contentLabel.textColor = [UIColor colorWithHex:KBBlackValue];
|
||||||
_contentLabel.font = [KBFont regular:10];
|
_contentLabel.font = [KBFont regular:10];
|
||||||
_contentLabel.numberOfLines = 2;
|
_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;
|
return _contentLabel;
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user