2
This commit is contained in:
@@ -94,7 +94,7 @@ static __weak UIViewController *sDefaultPresenter = nil; // 可选外部指定
|
||||
[self _markFinishedAndContinue];
|
||||
return;
|
||||
}
|
||||
NSString *ok = button ?: (NSLocalizedString(@"OK", nil).length ? NSLocalizedString(@"OK", nil) : @"好");
|
||||
NSString *ok = button ?: (NSLocalizedString(@"OK", nil).length ? NSLocalizedString(@"OK", nil) : KBLocalized(@"好"));
|
||||
UIAlertController *ac = [UIAlertController alertControllerWithTitle:(title ?: @"")
|
||||
message:(message ?: @"")
|
||||
preferredStyle:UIAlertControllerStyleAlert];
|
||||
@@ -138,8 +138,8 @@ static inline void KBSetActionTitleColor(UIAlertAction *action, UIColor *color)
|
||||
[self enqueuePresent:^{
|
||||
UIViewController *vc = [self presentingVC];
|
||||
if (!vc) { [self _markFinishedAndContinue]; return; }
|
||||
NSString *ok = okTitle ?: @"确定";
|
||||
NSString *cancel = cancelTitle ?: @"取消";
|
||||
NSString *ok = okTitle ?: KBLocalized(@"Confirm");
|
||||
NSString *cancel = cancelTitle ?: KBLocalized(@"Cancel");
|
||||
UIAlertController *ac = [UIAlertController alertControllerWithTitle:(title ?: @"")
|
||||
message:(message ?: @"")
|
||||
preferredStyle:UIAlertControllerStyleAlert];
|
||||
@@ -175,8 +175,8 @@ static inline void KBSetActionTitleColor(UIAlertAction *action, UIColor *color)
|
||||
[self enqueuePresent:^{
|
||||
UIViewController *vc = [self presentingVC];
|
||||
if (!vc) { [self _markFinishedAndContinue]; return; }
|
||||
NSString *ok = okTitle ?: @"确定";
|
||||
NSString *cancel = cancelTitle ?: @"取消";
|
||||
NSString *ok = okTitle ?: KBLocalized(@"Confirm");
|
||||
NSString *cancel = cancelTitle ?: KBLocalized(@"Cancel");
|
||||
UIAlertController *ac = [UIAlertController alertControllerWithTitle:(title ?: @"")
|
||||
message:(message ?: @"")
|
||||
preferredStyle:UIAlertControllerStyleAlert];
|
||||
|
||||
Reference in New Issue
Block a user