-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace all Yes/No/OK/Cancel dialogs #149
Comments
I already documented this in our wiki, too ;) |
Yes, but good to have issues if we should change the code, not just write good new code. ;-) It is, however, not enough to only search for int answer = JOptionPane.showOptionDialog(KeyBindingsDialog.this,
Localization.lang("All key bindings will be reset to their defaults.") + " " +
Localization.lang("Continue?"),
Localization.lang("Resetting all key bindings"),
JOptionPane.YES_NO_OPTION,
JOptionPane.QUESTION_MESSAGE, null,
new String[] {Localization.lang("OK"),
Localization.lang("Cancel")},
Localization.lang("OK")); |
@oscargus Maybe you could add some sample code for a correct dialog in the wiki section? |
Windows Design Guidelines also have a section about this: https://msdn.microsoft.com/de-de/library/windows/desktop/dn742470.aspx |
(jsut adding links)
|
Hi, I'm a new contributor and for a university assignment I would like to learn how to contribute to an open-source project. I'll read through the contributor's guide carefully and give this issue a go. Can you please assign this issue to me? I also commented on another first good issue, maybe I'll give them both a try if possible. |
Hi @koppor, I would like the work on the issue, please assign it to me if possible! |
@SUPWEZZ @colinldbd was quicker than you, so I assign @colinldbd |
@Siedlerchr @oscargus Hi, I see that you might have added some sample code for a correct dialog in the wiki section, can I get a link to where that is? |
We only have some hints at https://devdocs.jabref.org/code-howtos/ui-recommendations.html. There, we link to https://ux.stackexchange.com/questions/756/what-are-some-alternatives-to-the-phrase-are-you-sure-you-want-to-xyz-in-confi/768#768 as an example to replace "OK/Cancel" by "Post/Cancel" Note, the hard task is to find the dialogs, understand their context and to rename the buttons. The easy task is then to implement the renamings. -- This issue covers the hard part, too. In case this is too hard, be invited to check other issues. |
As brought up by @Siedlerchr in JabRef#1683 http://ux.stackexchange.com/questions/756/what-are-some-alternatives-to-the-phrase-are-you-sure-you-want-to-xyz-in-confi
We currently have 50 instances of
JOptionPane.showConfirmDialog
where for sure this is not followed.The text was updated successfully, but these errors were encountered: