Update message for missing URLs

Signed-off-by: Taylor Smock <taylor.smock@kaart.com>
pull/1/head
Taylor Smock 2020-04-23 07:16:59 -06:00
rodzic 6ceae5095a
commit 9441874507
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 625F6A74A3E4311A
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -185,8 +185,8 @@ public final class MapWithAIDataUtils {
monitor.close();
}
} else {
final Notification noUrls = MapWithAIPreferenceHelper.getMapWithAIUrl().isEmpty()
? new Notification(tr("There are no defined URLs. To get the defaults, restart JOSM"))
final Notification noUrls = MapWithAIPreferenceHelper.getMapWithAIUrl().isEmpty() ? new Notification(tr(
"There are no defined URLs. To add sources, go to Preferences -> MapWithAI -> Servers and add the appropriate servers"))
: new Notification(tr("No URLS are enabled"));
noUrls.setDuration(Notification.TIME_DEFAULT);
noUrls.setIcon(JOptionPane.INFORMATION_MESSAGE);