Differential D21783 Diff 51939 src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
Show First 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | return array( | ||||
->setSummary(pht('Allows "Accepted" to act as a closed status.')) | ->setSummary(pht('Allows "Accepted" to act as a closed status.')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Normally, Differential revisions remain on the dashboard when '. | 'Normally, Differential revisions remain on the dashboard when '. | ||||
'they are "Accepted", and the author then commits the changes '. | 'they are "Accepted", and the author then commits the changes '. | ||||
'to "Close" the revision and move it off the dashboard.'. | 'to "Close" the revision and move it off the dashboard.'. | ||||
"\n\n". | "\n\n". | ||||
'If you have an unusual workflow where Differential is used for '. | 'If you have an unusual workflow where Differential is used for '. | ||||
'post-commit review (normally called "Audit", elsewhere in '. | 'post-commit review (normally called "Audit", elsewhere), you '. | ||||
'Phabricator), you can set this flag to treat the "Accepted" '. | 'can set this flag to treat the "Accepted" '. | ||||
'state as a "Closed" state and end the review workflow early.'. | 'state as a "Closed" state and end the review workflow early.'. | ||||
"\n\n". | "\n\n". | ||||
'This sort of workflow is very unusual. Very few installs should '. | 'This sort of workflow is very unusual. Very few installs should '. | ||||
'need to change this option.')), | 'need to change this option.')), | ||||
$this->newOption( | $this->newOption( | ||||
'metamta.differential.attach-patches', | 'metamta.differential.attach-patches', | ||||
'bool', | 'bool', | ||||
false) | false) | ||||
->setBoolOptions( | ->setBoolOptions( | ||||
array( | array( | ||||
pht('Attach Patches'), | pht('Attach Patches'), | ||||
pht('Do Not Attach Patches'), | pht('Do Not Attach Patches'), | ||||
)) | )) | ||||
->setSummary(pht('Attach patches to email, as text attachments.')) | ->setSummary(pht('Attach patches to email, as text attachments.')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'If you set this to true, Phabricator will attach patches to '. | 'If you set this to true, patches will be attached to '. | ||||
'Differential mail (as text attachments). This will not work if '. | 'Differential mail (as text attachments). This will not work if '. | ||||
'you are using SendGrid as your mail adapter.')), | 'you are using SendGrid as your mail adapter.')), | ||||
$this->newOption( | $this->newOption( | ||||
'metamta.differential.inline-patches', | 'metamta.differential.inline-patches', | ||||
'int', | 'int', | ||||
0) | 0) | ||||
->setSummary(pht('Inline patches in email, as body text.')) | ->setSummary(pht('Inline patches in email, as body text.')) | ||||
->setDescription($inline_description), | ->setDescription($inline_description), | ||||
Show All 15 Lines |