From e1aec3707f5d4b6e846dc38dce9e15ddac948743 Mon Sep 17 00:00:00 2001 From: Ingo Bauersachs Date: Wed, 1 May 2013 09:29:07 +0200 Subject: [PATCH] Change install new version warning as suggested by David Bolton on dev --- resources/languages/resources.properties | 4 ++-- src/net/java/sip/communicator/plugin/update/Update.java | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/resources/languages/resources.properties b/resources/languages/resources.properties index ea1bc4cbd..33067596d 100644 --- a/resources/languages/resources.properties +++ b/resources/languages/resources.properties @@ -1171,14 +1171,14 @@ plugin.autoaway.ENABLE_CHANGE_STATUS=Change status while away plugin.autoaway.AWAY_MINUTES=Minutes before switching to away: # updatechecker -plugin.updatechecker.DIALOG_TITLE=New version available +plugin.updatechecker.DIALOG_TITLE=Install Updates plugin.updatechecker.DIALOG_MESSAGE=A new version of {0} is available for download. plugin.updatechecker.DIALOG_MESSAGE_2=
{0} ({1}):
plugin.updatechecker.BUTTON_DOWNLOAD=Download plugin.updatechecker.BUTTON_CLOSE=Close plugin.updatechecker.BUTTON_INSTALL=Install plugin.updatechecker.UPDATE_MENU_ENTRY=Check for updates -plugin.updatechecker.DIALOG_WARN=If you continue with update application will be shutdown! Are you sure? +plugin.updatechecker.DIALOG_WARN={0} needs to quit before it can install updates. Any conversations or calls will disconnect temporarily. Should {0} continue to install updates? plugin.updatechecker.DIALOG_NOUPDATE=Your version is up to date. plugin.updatechecker.DIALOG_NOUPDATE_TITLE=No new version plugin.updatechecker.DIALOG_MISSING_UPDATE=Update Installer is missing. diff --git a/src/net/java/sip/communicator/plugin/update/Update.java b/src/net/java/sip/communicator/plugin/update/Update.java index 93fe3fd68..27810ff3d 100644 --- a/src/net/java/sip/communicator/plugin/update/Update.java +++ b/src/net/java/sip/communicator/plugin/update/Update.java @@ -999,7 +999,11 @@ private static void windowsUpdate() if(UpdateActivator.getUIService() .getPopupDialog().showConfirmPopupDialog( resources.getI18NString( - "plugin.updatechecker.DIALOG_WARN"), + "plugin.updatechecker.DIALOG_WARN", + new String[]{ + resources.getSettingsString( + "service.gui.APPLICATION_NAME") + }), resources.getI18NString( "plugin.updatechecker.DIALOG_TITLE"), PopupDialog.YES_NO_OPTION,