Andrew Chang
Andrew Chang

Reputation: 1319

How to customize the "Cancel" button title in NSSavePanel?

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?

Upvotes: 1

Views: 352

Answers (1)

Clafou
Clafou

Reputation: 15400

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.

Upvotes: 1

Related Questions