Skip to content

Commit

Permalink
535039: Add self-update capabilities
Browse files Browse the repository at this point in the history
Updated texts a bit

Bug: 535039
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=535039
  • Loading branch information
creckord committed Jun 6, 2018
1 parent b9366df commit dfd9253
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,14 @@ protected Icon getIcon() {

@Override
protected String getDescriptionText() {
if (isMpcSelfUpdate()) {
return Messages.InstallUpdatesNotificationItem_MPCUpdateDescription
+ (isGeneralUpdate() ? "\n\n" + Messages.InstallUpdatesNotificationItem_OtherUpdatesDescription //$NON-NLS-1$
: ""); //$NON-NLS-1$
}
return Messages.InstallUpdatesNotificationItem_GeneralUpdateDescription;
return isMpcSelfUpdate() ? Messages.InstallUpdatesNotificationItem_MPCUpdateDescription
: Messages.InstallUpdatesNotificationItem_GeneralUpdateDescription;
}

@Override
protected String getSublineText() {
return isMpcSelfUpdate() && isGeneralUpdate() ? Messages.InstallUpdatesNotificationItem_OtherUpdatesDescription
: null;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ ImportFavoritesWizardDialog_FinishButtonLabel=&Import
ImportFavoritesPage_Title=Import Favorites List
ImportFavoritesPage_unauthorizedErrorMessage=You need to log in to proceed. Press 'Next' to try again.
ImportFavoritesPage_unknownErrorMessage=An error occured while updating your favorites: {0}.\nPress 'Next' to try again.
InstallUpdatesNotificationItem_GeneralUpdateDescription=Some of your installed plug-ins have updates available. Please update now to benefit from the latest features.
InstallUpdatesNotificationItem_GeneralUpdateDescription=Some of your installed plug-ins have updates available. Please update now to benefit from the latest improvements.
InstallUpdatesNotificationItem_GeneralUpdateHeader=Updates available
InstallUpdatesNotificationItem_MPCUpdateDescription=A new version of the Marketplace Client is available. Please update now to benefit from the latest features.
InstallUpdatesNotificationItem_MPCUpdateDescription=A new version of the Marketplace Client is available. Please update now to benefit from the latest improvements.
InstallUpdatesNotificationItem_MPCUpdateHeader=Marketplace Client update available
InstallUpdatesNotificationItem_OtherUpdatesDescription=Updates for other plug-ins are available as well.
InstallUpdatesNotificationItem_ShowUpdatesAction=Show updates
Expand Down

0 comments on commit dfd9253

Please sign in to comment.