修复bug

This commit is contained in:
liyuhua
2023-08-04 11:47:43 +08:00
parent dba85043bc
commit 20458f8f31
68 changed files with 266 additions and 191 deletions

View File

@@ -26,7 +26,7 @@
- (void)viewDidLoad {
[super viewDidLoad];
self.title = [NSString stringWithFormat:@"关于%@",AppName];
self.title = [NSString stringWithFormat:@"%@%@",YMLocalizedString(@"XPMineSettingPresent19"),AppName];
[self initSubViews];
[self makeConstriants];

View File

@@ -92,7 +92,7 @@
#pragma mark - FeedbackCoreClient
- (void)saveFeedbackSuccess {
[self showSuccessToast:[NSString stringWithFormat:@"感谢您的宝贵意见,让我们共同营造更好的%@", AppName]];
[self showSuccessToast:[NSString stringWithFormat:@"%@%@",YMLocalizedString(@"XPMineFeedbackViewController1"), AppName]];
[self.navigationController popViewControllerAnimated:YES];
}
#pragma mark - Event Response
@@ -126,7 +126,7 @@
- (SZTextView *)contentTextView {
if (!_contentTextView) {
_contentTextView = [[SZTextView alloc] init];
NSString * placeholder = @"请详细描述您所遇到的问题与情况,感谢您提出宝贵的意见。";
NSString * placeholder = YMLocalizedString(@"XPMineFeedbackViewController3");
_contentTextView.attributedPlaceholder = [[NSAttributedString alloc] initWithString:placeholder attributes:@{NSFontAttributeName : [UIFont systemFontOfSize:14], NSForegroundColorAttributeName : [DJDKMIMOMColor secondTextColor]}];
_contentTextView.textColor = [DJDKMIMOMColor mainTextColor];
_contentTextView.backgroundColor = [DJDKMIMOMColor appCellBackgroundColor];

View File

@@ -109,7 +109,7 @@
case XPMineSettingItemType_Pay_Password:
{
if (!self.userInfo.isBindPhone) {
[self showErrorToast:@"请先绑定手机号码哦~"];
[self showErrorToast:YMLocalizedString(@"XPMineSettingViewController1")];
return;
}
//
@@ -180,7 +180,7 @@
{
TTAlertConfig *config = [[TTAlertConfig alloc] init];
config.title = YMLocalizedString(@"XPMineSettingViewController2");
config.message = @"要清除缓存吗?";
config.message = YMLocalizedString(@"XPMineSettingViewController3");
[TTPopup alertWithConfig:config confirmHandler:^{
NSSet *websiteDataTypes = [WKWebsiteDataStore allWebsiteDataTypes];
NSDate *dateFrom = [NSDate dateWithTimeIntervalSince1970:0];