Differential D21698 Diff 51708 src/applications/harbormaster/xaction/build/HarbormasterBuildMessageRestartTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/xaction/build/HarbormasterBuildMessageRestartTransaction.php
Show All 22 Lines | final class HarbormasterBuildMessageRestartTransaction | ||||
} | } | ||||
public function newConfirmPromptBody() { | public function newConfirmPromptBody() { | ||||
return pht( | return pht( | ||||
'Progress on this build will be discarded and the build will restart. '. | 'Progress on this build will be discarded and the build will restart. '. | ||||
'Side effects of the build will occur again. Really restart build?'); | 'Side effects of the build will occur again. Really restart build?'); | ||||
} | } | ||||
public function getHarbormasterBuildMessageDescription() { | |||||
return pht('Restart the build, discarding all progress.'); | |||||
} | |||||
public function newBuildableConfirmPromptTitle( | public function newBuildableConfirmPromptTitle( | ||||
array $builds, | array $builds, | ||||
array $sendable) { | array $sendable) { | ||||
return pht( | return pht( | ||||
'Really restart %s build(s)?', | 'Really restart %s build(s)?', | ||||
phutil_count($builds)); | phutil_count($builds)); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |