Looks like there is no built-in way to replace this string. Out of curiosity, why do you want to? It should be displayed in the relevant language without your intervention, as with all other system-provided UI elements.
How to customize the "Cancel" button title in NSSavePanel?
-
02-07-2022 - |
题
I can use the -setPrompt: method to customize the OK button. But I found no method to customize the Cancel one. Can I achieve this?
解决方案
不隶属于 StackOverflow