Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/setting/PhabricatorEmailStampsSetting.php
Show All 15 Lines | public function getSettingPanelKey() { | ||||
return PhabricatorEmailFormatSettingsPanel::PANELKEY; | return PhabricatorEmailFormatSettingsPanel::PANELKEY; | ||||
} | } | ||||
protected function getSettingOrder() { | protected function getSettingOrder() { | ||||
return 400; | return 400; | ||||
} | } | ||||
protected function getControlInstructions() { | protected function getControlInstructions() { | ||||
return pht(<<<EOREMARKUP | return pht(<<<EOREMARKUP | ||||
Lint: Use of Product Name Literal: Avoid use of product name literals in "pht()": use generic language or an appropriate method… | |||||
Phabricator stamps mail with labels like `actor(alice)` which can be used to | Outgoing mail is stamped with labels like `actor(alice)` which can be used to | ||||
write client mail rules to organize mail. By default, these stamps are sent | write client mail rules to organize mail. By default, these stamps are sent | ||||
in an `X-Phabricator-Stamps` header. | in an `X-Phabricator-Stamps` header. | ||||
If you use a client which can not use headers to route mail (like Gmail), | If you use a client which can not use headers to route mail (like Gmail), | ||||
you can also include the stamps in the message body so mail rules based on | you can also include the stamps in the message body so mail rules based on | ||||
body content can route messages. | body content can route messages. | ||||
EOREMARKUP | EOREMARKUP | ||||
); | ); | ||||
Show All 14 Lines |
Avoid use of product name literals in "pht()": use generic language or an appropriate method from the "PlatformSymbols" class instead so the software can be forked. String uses names: Phabricator.