mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-11 11:06:25 +00:00
offer better pronouns for common job types
This commit is contained in:
1 parent
2c23e643fa
commit
effcc2d7aa
5 files changed
+16
-1
No files matched your search
@@ -41,6 +41,7 @@ import hudson.model.Descriptor;
|
||||
import hudson.model.Descriptor.FormException;
|
||||
import hudson.model.Node;
|
||||
import hudson.slaves.WorkspaceList;
|
||||
import hudson.util.AlternativeUiTextProvider;
|
||||
import jenkins.model.Jenkins;
|
||||
import hudson.model.Item;
|
||||
import hudson.model.ItemGroup;
|
||||
@@ -194,6 +195,11 @@ public class MatrixProject extends AbstractProject<MatrixProject,MatrixBuild> im
|
||||
super(parent, name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getPronoun() {
|
||||
return AlternativeUiTextProvider.get(PRONOUN, this, Messages.MatrixProject_Pronoun());
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the workspace location that {@link MatrixConfiguration} uses.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user