diff --git a/src/main/java/hudson/plugins/sidebar_link/SidebarLinkPlugin.java b/src/main/java/hudson/plugins/sidebar_link/SidebarLinkPlugin.java index 030d681e..286234bd 100644 --- a/src/main/java/hudson/plugins/sidebar_link/SidebarLinkPlugin.java +++ b/src/main/java/hudson/plugins/sidebar_link/SidebarLinkPlugin.java @@ -136,15 +136,15 @@ public FormValidation doCheckLinkText(@QueryParameter String value) { @Restricted(NoExternalUse.class) public FormValidation doCheckLinkIcon(@QueryParameter String value) { if (StringUtils.isBlank(value)) { - return FormValidation.warning("The provided icon is blank or empty. Defautl will used."); + return FormValidation.warning("The provided icon is blank or empty. Default will be used."); } FilePath imageFile = Jenkins.get().getRootPath().child(value); try { if (!imageFile.exists()) { - return FormValidation.error("Image does not exists: " + imageFile); + return FormValidation.error("Image does not exist: " + imageFile); } } catch (Exception e) { - return FormValidation.error(e, "Problems using link icon: " + value); + return FormValidation.error(e, "Problem with link icon: " + value); } return FormValidation.ok(); }