diff --git a/core/src/main/java/hudson/model/AbstractProject.java b/core/src/main/java/hudson/model/AbstractProject.java index daad8cbdc5c8aea30239e51aafadec7005fd85c9..c546908a8a5876a8f224d74bd2ba3b15d2edd6f2 100644 --- a/core/src/main/java/hudson/model/AbstractProject.java +++ b/core/src/main/java/hudson/model/AbstractProject.java @@ -592,14 +592,14 @@ public abstract class AbstractProject
,R extends A if (scm.requiresWorkspaceForPolling()) { if(workspace==null) { // workspace offline. build now, or nothing will ever be built - listener.getLogger().println("Workspace is offline."); - listener.getLogger().println("Scheduling a new build to get a workspace."); + listener.getLogger().println(Messages.AbstractProject_WorkspaceOffline()); + listener.getLogger().println(Messages.AbstractProject_NewBuildForWorkspace()); return true; } if(!workspace.exists()) { // no workspace. build now, or nothing will ever be built - listener.getLogger().println("No workspace is available, so can't check for updates."); - listener.getLogger().println("Scheduling a new build to get a workspace."); + listener.getLogger().println(Messages.AbstractProject_NoWorkspace()); + listener.getLogger().println(Messages.AbstractProject_NewBuildForWorkspace()); return true; } } diff --git a/core/src/main/resources/hudson/model/Messages.properties b/core/src/main/resources/hudson/model/Messages.properties index ede26a6783d1cabeb0d6a25846bcc9f5fb259269..8fe4454e999d95bf40ee34f64d2d99a7179b15aa 100644 --- a/core/src/main/resources/hudson/model/Messages.properties +++ b/core/src/main/resources/hudson/model/Messages.properties @@ -1,6 +1,7 @@ AbstractBuild.BuildingRemotely=Building remotely on {0} AbstractBuild.KeptBecause=kept because of {0} +AbstractProject.NewBuildForWorkspace=Scheduling a new build to get a workspace. AbstractProject.Pronoun=Project AbstractProject.Aborted=Aborted AbstractProject.BuildInProgress=Build #{0} is already in progress{1}