From ab227d37e5ac5815e96c91e3c2dc11de5f509dc2 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Tue, 24 Mar 2015 21:43:42 +0100 Subject: [PATCH] LibraryManager warning dialog: \n instead of
--- .../cc/arduino/contributions/libraries/ui/LibraryManagerUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/cc/arduino/contributions/libraries/ui/LibraryManagerUI.java b/app/src/cc/arduino/contributions/libraries/ui/LibraryManagerUI.java index bca4e05d2..e949ddbed 100644 --- a/app/src/cc/arduino/contributions/libraries/ui/LibraryManagerUI.java +++ b/app/src/cc/arduino/contributions/libraries/ui/LibraryManagerUI.java @@ -184,7 +184,7 @@ public class LibraryManagerUI extends InstallerJDialog { boolean managedByIndex = indexer.getIndex().getLibraries().contains(lib); if (!managedByIndex) { - int chosenOption = JOptionPane.showConfirmDialog(getParent(), _("This library is not listed on Library Manager. You won't be able to resinstall it from here.
Are you sure you want to delete it?"), _("Please confirm library deletion"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); + int chosenOption = JOptionPane.showConfirmDialog(getParent(), _("This library is not listed on Library Manager. You won't be able to resinstall it from here.\nAre you sure you want to delete it?"), _("Please confirm library deletion"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE); if (chosenOption != JOptionPane.YES_OPTION) { return; }