国际化

This commit is contained in:
2025-12-22 20:53:24 +08:00
parent 17e038beb1
commit 6f336e8368
3 changed files with 9 additions and 3 deletions

View File

@@ -195,7 +195,10 @@
"Purchase: %@ Coins %@" = "Purchase: %@ Coins %@";
"Pay clicked" = "Pay clicked";
"Points Recharge" = "Points Recharge";
"Recharge" = "Recharge";
"Consumption Record" = "Consumption Record";
"My Points" = "My Points";
"Consumption Details" = "Consumption Details";
"No data" = "No data";
// Example categories/items

View File

@@ -193,7 +193,10 @@
"Purchase: %@ Coins %@" = "购买:%@ Coins %@";
"Pay clicked" = "点击支付";
"Points Recharge" = "积分充值";
"Recharge" = "充值";
"Consumption Record" = "消费记录";
"My Points" = "我的积分";
"Consumption Details" = "消费明细";
"No data" = "暂无数据";
// 示例商品/分类

View File

@@ -225,11 +225,11 @@
[self.pointsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.left.equalTo(self.pointsIconView.mas_right).offset(8);
make.centerY.equalTo(self.pointsIconView).offset(5);
make.centerY.equalTo(self.pointsIconView).offset(0);
}];
[self.rechargeButton mas_makeConstraints:^(MASConstraintMaker *make) {
make.right.equalTo(self.cardView).offset(-16);
make.right.equalTo(self.cardView).offset(-10);
make.centerY.equalTo(self.pointsIconView);
make.width.mas_equalTo(114);
make.height.mas_equalTo(42);
@@ -264,7 +264,7 @@
_pointsTitleLabel = [UILabel new];
_pointsTitleLabel.text = KBLocalized(@"My Points");
_pointsTitleLabel.font = [KBFont medium:14];
_pointsTitleLabel.textColor = [UIColor colorWithHex:0x6B7A7A];
_pointsTitleLabel.textColor = [UIColor colorWithHex:KBBlackValue];
}
return _pointsTitleLabel;
}