git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@20604 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-08-10 21:58:22 +00:00
1 parent 1a5c805584
commit 71da662aa7
3 files changed
+3 -2

No files matched your search

@@ -68,7 +68,7 @@ public class MyViewsProperty extends UserProperty implements ViewGroup, Action {
}
private MyViewsProperty() {
views.add(new AllView(hudson.model.Messages.Hudson_ViewName(), this));
views.add(new AllView(Messages.Hudson_ViewName(), this));
primaryViewName = views.get(0).getViewName();
}
@@ -119,7 +119,7 @@ public class ProxyView extends View {
if(Hudson.getInstance().getView(view)!=null)
return FormValidation.ok();
else
return FormValidation.error(String.format("Global view %s does not exist", value));
return FormValidation.error(Messages.ProxyView_NoSuchViewExists(value));
}
@Extension