ChangeScreen2: Add missing action titles

Some of the action buttons on the ChangeScreen2 did not
have titles.  Add them.

Also make the titles consistent in usage of capitalisation.

Change-Id: Ibcf90fc45202a5081bfe4b348a05443eb1a6584b
This commit is contained in:
David Pursehouse
2013-09-30 18:52:04 +09:00
committed by Shawn Pearce
parent bb669d9ae3
commit e0d77c1925
7 changed files with 7 additions and 4 deletions

View File

@@ -133,6 +133,7 @@ public class Restore implements RestModifyView<ChangeResource, Input>,
public UiAction.Description getDescription(ChangeResource resource) {
return new UiAction.Description()
.setLabel("Restore")
.setTitle("Restore the change")
.setVisible(resource.getChange().getStatus() == Status.ABANDONED
&& resource.getControl().canRestore());
}