This commit is contained in:
2025-11-17 20:07:39 +08:00
parent ee433db4ad
commit 005e3c7581
43 changed files with 529 additions and 172 deletions

View File

@@ -44,10 +44,10 @@
- (void)tapTrash {
//
__weak typeof(self) weakSelf = self;
[KBAlert confirmTitle:@"清空历史"
message:@"是否删除所有历史记录?"
ok:@"确定"
cancel:@"取消"
[KBAlert confirmTitle:KBLocalized(@"Clear history")
message:KBLocalized(@"Delete all history?")
ok:KBLocalized(@"Confirm")
cancel:KBLocalized(@"Cancel")
okColor:weakSelf.confirmColor
cancelColor:weakSelf.cancelColor
completion:^(BOOL ok) {

View File

@@ -83,7 +83,12 @@ typedef NS_ENUM(NSInteger, KBSearchSection) {
}];
//
self.historyWords = [@[@"果冻橙", @"芒果", @"有机水果卷心菜", @"水果萝卜", @"熟冻帝王蟹", @"赣南脐橙"] mutableCopy];
self.historyWords = [@[KBLocalized(@"果冻橙"),
KBLocalized(@"芒果"),
KBLocalized(@"有机水果卷心菜"),
KBLocalized(@"水果萝卜"),
KBLocalized(@"熟冻帝王蟹"),
KBLocalized(@"赣南脐橙")] mutableCopy];
self.recommendItems = @[
@{@"title":@"Dopamine", @"price":@"20"},
@{@"title":@"Dopamine", @"price":@"20"},