UI tip update

This commit is contained in:
True Zhuanjia
2026-02-27 00:48:46 +08:00
parent d0b45a019f
commit d76f404a4c
3 changed files with 74 additions and 5 deletions
@@ -5920,6 +5920,35 @@
}
}
},
"pencilTickStackTip" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Pencil Tick allows high frequency pencil touch events passed through to the host."
}
},
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "笔触 Tick 允许将高密度笔触事件透传至PC端。"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "筆觸 Tick 允許將高頻率筆觸事件透傳至 PC 端。"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "筆觸 Tick 允許將高頻率筆觸事件透傳至 PC 端。"
}
}
}
},
"Performance" : {
"extractionState" : "manual",
"localizations" : {
@@ -6122,6 +6151,29 @@
}
}
},
"Please enable pressure curve in settings menu" : {
"extractionState" : "manual",
"localizations" : {
"zh-Hans" : {
"stringUnit" : {
"state" : "translated",
"value" : "请在设置菜单中开启笔压曲线"
}
},
"zh-Hant" : {
"stringUnit" : {
"state" : "translated",
"value" : "請在設定選單中開啟筆壓曲線"
}
},
"zh-HK" : {
"stringUnit" : {
"state" : "translated",
"value" : "請在設定選單中開啟筆壓曲線"
}
}
}
},
"Pofiles imported" : {
"extractionState" : "manual",
"localizations" : {
@@ -1529,9 +1529,13 @@ BOOL isCustomResolution(int resolutionSelected) {
tipText = [LocalizationHelper localizedStringForKey:@"hoverModeStackTip"];
showOnlineDocAction = false;
}
if([sender.superview.accessibilityIdentifier isEqualToString: @"pencilTickStack"]){
tipText = [LocalizationHelper localizedStringForKey:@"pencilTickStackTip"];
showOnlineDocAction = true;
onlineDocLink = [LocalizationHelper localizedStringForKey:@"PencilProPackURL"];
}
UIAlertController *tipsAlertController = [UIAlertController alertControllerWithTitle: [LocalizationHelper localizedStringForKey:@"Tips"] message:tipText preferredStyle:UIAlertControllerStyleAlert];
/*
NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
@@ -1665,9 +1665,22 @@
}
- (void)presentPressureCurveVC{
PressureCurveViewController* pressureCurveVC = [[PressureCurveViewController alloc] init];
pressureCurveVC.modalPresentationStyle = UIModalPresentationOverFullScreen;
[self presentViewController:pressureCurveVC animated:YES completion:nil];
if(_oscProfile.pressureCurveEnabled){
PressureCurveViewController* pressureCurveVC = [[PressureCurveViewController alloc] init];
pressureCurveVC.modalPresentationStyle = UIModalPresentationOverFullScreen;
[self presentViewController:pressureCurveVC animated:YES completion:nil];
}
else{
AlertControllerUtil.autoCompletion = true;
[AlertControllerUtil showAlertIn:self
title:@""
message:[LocalizationHelper localizedStringForKey:@"Please enable pressure curve in settings menu"]
withCancel:NO
buttonTitle:@""
countdown:2
action:^{}
completion:^{}];
}
}
#if !TARGET_OS_TV